Module org.elasticsearch.server
Class BytesReferenceIndexInput
java.lang.Object
org.apache.lucene.store.DataInput
org.apache.lucene.store.IndexInput
org.elasticsearch.common.lucene.store.BytesReferenceIndexInput
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Cloneable
public class BytesReferenceIndexInput
extends org.apache.lucene.store.IndexInput
-
Constructor Summary
ConstructorsConstructorDescriptionBytesReferenceIndexInput
(String resourceDescription, BytesReference bytesReference) -
Method Summary
Methods inherited from class org.apache.lucene.store.IndexInput
getFullSliceDescription, randomAccessSlice, skipBytes, toString
Methods inherited from class org.apache.lucene.store.DataInput
readBytes, readFloats, readGroupVInt, readGroupVInts, readInts, readLongs, readMapOfStrings, readSetOfStrings, readString, readVInt, readVLong, readZInt, readZLong
-
Constructor Details
-
BytesReferenceIndexInput
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classorg.apache.lucene.store.IndexInput
- Throws:
IOException
-
getFilePointer
public long getFilePointer()- Specified by:
getFilePointer
in classorg.apache.lucene.store.IndexInput
-
seek
- Specified by:
seek
in classorg.apache.lucene.store.IndexInput
- Throws:
IOException
-
length
public long length()- Specified by:
length
in classorg.apache.lucene.store.IndexInput
-
slice
public org.apache.lucene.store.IndexInput slice(String sliceDescription, long offset, long length) throws IOException - Specified by:
slice
in classorg.apache.lucene.store.IndexInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in classorg.apache.lucene.store.DataInput
- Throws:
IOException
-
readBytes
- Specified by:
readBytes
in classorg.apache.lucene.store.DataInput
- Throws:
IOException
-
readShort
- Overrides:
readShort
in classorg.apache.lucene.store.DataInput
- Throws:
IOException
-
readInt
- Overrides:
readInt
in classorg.apache.lucene.store.DataInput
- Throws:
IOException
-
readLong
- Overrides:
readLong
in classorg.apache.lucene.store.DataInput
- Throws:
IOException
-
clone
public org.apache.lucene.store.IndexInput clone()- Overrides:
clone
in classorg.apache.lucene.store.IndexInput
-