java.lang.Object
org.apache.lucene.store.DataInput
org.apache.lucene.store.IndexInput
org.apache.lucene.store.FilterIndexInput
org.elasticsearch.index.store.StoreMetricsIndexInput
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable,DirectAccessInput
public class StoreMetricsIndexInput
extends org.apache.lucene.store.FilterIndexInput
implements DirectAccessInput
-
Field Summary
Fields inherited from class org.apache.lucene.store.FilterIndexInput
in -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.store.IndexInputclone()static org.apache.lucene.store.IndexInputcreate(String resourceDescription, org.apache.lucene.store.IndexInput in, PluggableDirectoryMetricsHolder<StoreMetrics> metricHolder) isLoaded()voidprefetch(long offset, long length) org.apache.lucene.store.RandomAccessInputrandomAccessSlice(long offset, long length) bytereadByte()voidreadBytes(byte[] b, int offset, int len) voidreadBytes(byte[] b, int offset, int len, boolean useBuffer) voidreadFloats(float[] floats, int offset, int len) intreadInt()voidreadInts(int[] dst, int offset, int length) longreadLong()voidreadLongs(long[] dst, int offset, int length) shortintreadVInt()longintreadZInt()longorg.apache.lucene.store.IndexInputorg.apache.lucene.store.IndexInputvoidupdateIOContext(org.apache.lucene.store.IOContext context) booleanwithByteBufferSlice(long offset, long length, CheckedConsumer<ByteBuffer, IOException> action) booleanwithByteBufferSlices(long[] offsets, int length, int count, CheckedConsumer<ByteBuffer[], IOException> action) Methods inherited from class org.apache.lucene.store.FilterIndexInput
close, getDelegate, getFilePointer, length, seek, unwrap, unwrapOnlyTestMethods inherited from class org.apache.lucene.store.IndexInput
getFullSliceDescription, skipBytes, toStringMethods inherited from class org.apache.lucene.store.DataInput
readGroupVInt
-
Method Details
-
create
public static org.apache.lucene.store.IndexInput create(String resourceDescription, org.apache.lucene.store.IndexInput in, PluggableDirectoryMetricsHolder<StoreMetrics> metricHolder) -
readByte
- Overrides:
readBytein classorg.apache.lucene.store.FilterIndexInput- Throws:
IOException
-
readBytes
- Overrides:
readBytesin classorg.apache.lucene.store.FilterIndexInput- Throws:
IOException
-
clone
public org.apache.lucene.store.IndexInput clone()- Overrides:
clonein classorg.apache.lucene.store.IndexInput
-
slice
public org.apache.lucene.store.IndexInput slice(String sliceDescription, long offset, long length) throws IOException - Overrides:
slicein classorg.apache.lucene.store.FilterIndexInput- Throws:
IOException
-
slice
public org.apache.lucene.store.IndexInput slice(String sliceDescription, long offset, long length, org.apache.lucene.store.IOContext context) throws IOException - Overrides:
slicein classorg.apache.lucene.store.IndexInput- Throws:
IOException
-
randomAccessSlice
public org.apache.lucene.store.RandomAccessInput randomAccessSlice(long offset, long length) throws IOException - Overrides:
randomAccessSlicein classorg.apache.lucene.store.IndexInput- Throws:
IOException
-
prefetch
- Overrides:
prefetchin classorg.apache.lucene.store.IndexInput- Throws:
IOException
-
withByteBufferSlice
public boolean withByteBufferSlice(long offset, long length, CheckedConsumer<ByteBuffer, IOException> action) throws IOException- Specified by:
withByteBufferSlicein interfaceDirectAccessInput- Throws:
IOException
-
withByteBufferSlices
public boolean withByteBufferSlices(long[] offsets, int length, int count, CheckedConsumer<ByteBuffer[], IOException> action) throws IOException- Specified by:
withByteBufferSlicesin interfaceDirectAccessInput- Throws:
IOException
-
isLoaded
- Overrides:
isLoadedin classorg.apache.lucene.store.IndexInput
-
updateIOContext
- Overrides:
updateIOContextin classorg.apache.lucene.store.IndexInput- Throws:
IOException
-
readBytes
- Overrides:
readBytesin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readShort
- Overrides:
readShortin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readInt
- Overrides:
readIntin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readVInt
- Overrides:
readVIntin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readZInt
- Overrides:
readZIntin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readLong
- Overrides:
readLongin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readLongs
- Overrides:
readLongsin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readInts
- Overrides:
readIntsin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readFloats
- Overrides:
readFloatsin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readVLong
- Overrides:
readVLongin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readZLong
- Overrides:
readZLongin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readString
- Overrides:
readStringin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readMapOfStrings
- Overrides:
readMapOfStringsin classorg.apache.lucene.store.DataInput- Throws:
IOException
-
readSetOfStrings
- Overrides:
readSetOfStringsin classorg.apache.lucene.store.DataInput- Throws:
IOException
-