Uses of Class
org.apache.lucene.store.IndexInput
-
-
Uses of IndexInput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type IndexInput Modifier and Type Method Description static longCodecUtil. checksumEntireFile(IndexInput input)Clones the provided input, reads all bytes from the file, and callsCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput)abstract voidPostingsReaderBase. init(IndexInput termsIn, SegmentReadState state)Performs any initialization, such as reading and verifying the header from the provided terms dictionaryIndexInput.static byte[]CodecUtil. readFooter(IndexInput in)Retrieves the full footer from the providedIndexInput.static byte[]CodecUtil. readIndexHeader(IndexInput in)Retrieves the full index header from the providedIndexInput.protected abstract intMultiLevelSkipListReader. readSkipData(int level, IndexInput skipStream)Subclasses must implement the actual skip data encoding in this method.static longCodecUtil. retrieveChecksum(IndexInput in)Returns (but does not validate) the checksum previously written byCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput).static voidCodecUtil. verifyAndCopyIndexHeader(IndexInput in, DataOutput out, byte[] expectedID)Expert: verifies the incomingIndexInputhas an index header and that its segment ID matches the expected one, and then copies that index header into the providedDataOutput.Constructors in org.apache.lucene.codecs with parameters of type IndexInput Constructor Description MultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)Creates aMultiLevelSkipListReader, whereskipIntervalandskipMultiplierare the same.MultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval, int skipMultiplier)Creates aMultiLevelSkipListReader. -
Uses of IndexInput in org.apache.lucene.codecs.lucene84
Methods in org.apache.lucene.codecs.lucene84 with parameters of type IndexInput Modifier and Type Method Description voidLucene84PostingsReader. init(IndexInput termsIn, SegmentReadState state) -
Uses of IndexInput in org.apache.lucene.search.suggest.document
Methods in org.apache.lucene.search.suggest.document with parameters of type IndexInput Modifier and Type Method Description static NRTSuggesterNRTSuggester. load(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode) -
Uses of IndexInput in org.apache.lucene.store
Subclasses of IndexInput in org.apache.lucene.store Modifier and Type Class Description classBufferedChecksumIndexInputSimple implementation ofChecksumIndexInputthat wraps another input and delegates calls.classBufferedIndexInputBase implementation class for bufferedIndexInput.classByteBufferIndexInputBase IndexInput implementation that uses an array of ByteBuffers to represent a file.classChecksumIndexInputExtension of IndexInput, computing checksum as it goes.classRAMInputStreamDeprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory.Methods in org.apache.lucene.store that return IndexInput Modifier and Type Method Description IndexInputBufferedChecksumIndexInput. clone()IndexInputIndexInput. clone()Returns a clone of this stream.abstract IndexInputDirectory. openInput(String name, IOContext context)Opens a stream for reading an existing file.IndexInputFileSwitchDirectory. openInput(String name, IOContext context)IndexInputFilterDirectory. openInput(String name, IOContext context)IndexInputMMapDirectory. openInput(String name, IOContext context)Creates an IndexInput for the file with the given name.IndexInputNIOFSDirectory. openInput(String name, IOContext context)IndexInputRAMDirectory. openInput(String name, IOContext context)Deprecated.Returns a stream reading an existing file.IndexInputSimpleFSDirectory. openInput(String name, IOContext context)Creates an IndexInput for the file with the given name.IndexInputBufferedChecksumIndexInput. slice(String sliceDescription, long offset, long length)IndexInputBufferedIndexInput. slice(String sliceDescription, long offset, long length)abstract IndexInputIndexInput. slice(String sliceDescription, long offset, long length)Creates a slice of this index input, with the given description, offset, and length.IndexInputRAMInputStream. slice(String sliceDescription, long offset, long sliceLength)Deprecated.Methods in org.apache.lucene.store with parameters of type IndexInput Modifier and Type Method Description static BufferedIndexInputBufferedIndexInput. wrap(String sliceDescription, IndexInput other, long offset, long length)Wraps a portion of another IndexInput with buffering.Constructors in org.apache.lucene.store with parameters of type IndexInput Constructor Description BufferedChecksumIndexInput(IndexInput main)Creates a new BufferedChecksumIndexInput -
Uses of IndexInput in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type IndexInput Modifier and Type Method Description voidPagedBytes. copy(IndexInput in, long byteCount)Read this many bytes from in -
Uses of IndexInput in org.apache.lucene.util.bkd
Constructors in org.apache.lucene.util.bkd with parameters of type IndexInput Constructor Description BKDReader(IndexInput in)Caller must pre-seek the providedIndexInputto the index location thatBKDWriter.finish(org.apache.lucene.store.IndexOutput)returnedBKDReader(IndexInput in, boolean offHeap)Caller must pre-seek the providedIndexInputto the index location thatBKDWriter.finish(org.apache.lucene.store.IndexOutput)returned and specifytrueto store BKD off-heap (falseotherwise)IntersectState(IndexInput in, int numDims, int packedBytesLength, int packedIndexBytesLength, int maxPointsInLeafNode, PointValues.IntersectVisitor visitor, BKDReader.IndexTree indexVisitor) -
Uses of IndexInput in org.apache.lucene.util.packed
Methods in org.apache.lucene.util.packed with parameters of type IndexInput Modifier and Type Method Description static PackedInts.ReaderPackedInts. getDirectReader(IndexInput in)Construct a directPackedInts.Readerfrom anIndexInput.static PackedInts.ReaderPackedInts. getDirectReaderNoHeader(IndexInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue)Expert: Construct a directPackedInts.Readerfrom a stream without reading metadata at the beginning of the stream.static MonotonicBlockPackedReaderMonotonicBlockPackedReader. of(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)Sole constructor. -
Uses of IndexInput in org.elasticsearch.common.lucene.store
Subclasses of IndexInput in org.elasticsearch.common.lucene.store Modifier and Type Class Description classByteArrayIndexInputWraps array of bytes into IndexInputMethods in org.elasticsearch.common.lucene.store that return IndexInput Modifier and Type Method Description IndexInputByteArrayIndexInput. slice(String sliceDescription, long offset, long length)Constructors in org.elasticsearch.common.lucene.store with parameters of type IndexInput Constructor Description InputStreamIndexInput(IndexInput indexInput, long limit) -
Uses of IndexInput in org.elasticsearch.index.store
Methods in org.elasticsearch.index.store that return IndexInput Modifier and Type Method Description IndexInputStore. openVerifyingInput(String filename, IOContext context, StoreFileMetaData metadata)Methods in org.elasticsearch.index.store with parameters of type IndexInput Modifier and Type Method Description static voidStore. verify(IndexInput input)
-