Uses of Class
org.apache.lucene.store.IndexInput
Packages that use IndexInput
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
BlockTree terms dictionary.
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format.Components from the Lucene 6.0 index format.
Components from the Lucene 7.0 index format.
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format.Components from the Lucene 8.4 index format.
Lucene 8.6 file format.
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
Support for document suggestion
Binary i/o API, used for all index data.
Some utility classes.
Block KD-tree, implementing the generic spatial data structure described in
this paper.
Finite state transducers
Packed integer arrays and streams.
-
Uses of IndexInput in org.apache.lucene.codecs
Subclasses of IndexInput in org.apache.lucene.codecsModifier and TypeClassDescriptionprivate static final classused to buffer the top skip levelsFields in org.apache.lucene.codecs declared as IndexInputModifier and TypeFieldDescriptionprivate IndexInput[]MultiLevelSkipListReader.skipStreamskipStream for each level.Methods in org.apache.lucene.codecs that return IndexInputModifier and TypeMethodDescriptionMethods in org.apache.lucene.codecs with parameters of type IndexInputModifier and TypeMethodDescriptionstatic 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.(package private) static longCodecUtil.readCRC(IndexInput input) Reads CRC32 value as a 64-bit long from the input.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 longCodecUtil.retrieveChecksum(IndexInput in, long expectedLength) Returns (but does not validate) the checksum previously written byCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput).private static voidCodecUtil.validateFooter(IndexInput in) 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 IndexInputModifierConstructorDescriptionprotectedMultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval) Creates aMultiLevelSkipListReader, whereskipIntervalandskipMultiplierare the same.protectedMultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval, int skipMultiplier) Creates aMultiLevelSkipListReader.(package private)SkipBuffer(IndexInput input, int length) -
Uses of IndexInput in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as IndexInputModifier and TypeFieldDescriptionprivate final IndexInputBlockTermsReader.FieldReader.SegmentTermsEnum.inprivate final IndexInputBlockTermsReader.inMethods in org.apache.lucene.codecs.blockterms with parameters of type IndexInputModifier and TypeMethodDescriptionprivate voidBlockTermsReader.seekDir(IndexInput input) private voidFixedGapTermsIndexReader.seekDir(IndexInput input) private voidVariableGapTermsIndexReader.seekDir(IndexInput input) Constructors in org.apache.lucene.codecs.blockterms with parameters of type IndexInputModifierConstructorDescriptionFieldIndexData(IndexInput in, PagedBytes termBytes, long indexStart, long termsStart, long packedIndexStart, long packedOffsetsStart, long numIndexTerms) FieldIndexData(IndexInput in, FieldInfo fieldInfo, long indexStart) -
Uses of IndexInput in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputIntersectTermsEnum.in(package private) IndexInputSegmentTermsEnum.in(package private) final IndexInputBlockTreeTermsReader.indexIn(package private) final IndexInputBlockTreeTermsReader.termsInMethods in org.apache.lucene.codecs.blocktree with parameters of type IndexInputModifier and TypeMethodDescriptionprivate static BytesRefBlockTreeTermsReader.readBytesRef(IndexInput in) private static voidBlockTreeTermsReader.seekDir(IndexInput input) Seekinputto the directory offset.Constructors in org.apache.lucene.codecs.blocktree with parameters of type IndexInputModifierConstructorDescription(package private)FieldReader(BlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, BytesRef rootCode, long sumTotalTermFreq, long sumDocFreq, int docCount, long indexStartFP, IndexInput metaIn, IndexInput indexIn, BytesRef minTerm, BytesRef maxTerm) -
Uses of IndexInput in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputOrdsBlockTreeTermsReader.in(package private) final IndexInputOrdsIntersectTermsEnum.in(package private) IndexInputOrdsSegmentTermsEnum.inMethods in org.apache.lucene.codecs.blocktreeords with parameters of type IndexInputModifier and TypeMethodDescriptionprivate static BytesRefOrdsBlockTreeTermsReader.readBytesRef(IndexInput in) private voidOrdsBlockTreeTermsReader.seekDir(IndexInput input) Seekinputto the directory offset.Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type IndexInputModifierConstructorDescription(package private)OrdsFieldReader(OrdsBlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, FSTOrdsOutputs.Output rootCode, long sumTotalTermFreq, long sumDocFreq, int docCount, long indexStartFP, IndexInput indexIn, BytesRef minTerm, BytesRef maxTerm) -
Uses of IndexInput in org.apache.lucene.codecs.compressing
Fields in org.apache.lucene.codecs.compressing declared as IndexInputModifier and TypeFieldDescriptionprivate final IndexInputCompressingStoredFieldsReader.fieldsStreamprivate final IndexInputFieldsIndexReader.indexInput(package private) final IndexInputCompressingTermVectorsReader.vectorsStreamMethods in org.apache.lucene.codecs.compressing that return IndexInputModifier and TypeMethodDescription(package private) IndexInputCompressingStoredFieldsReader.getFieldsStream()(package private) IndexInputCompressingTermVectorsReader.getVectorsStream()Constructors in org.apache.lucene.codecs.compressing with parameters of type IndexInputModifierConstructorDescription(package private)FieldsIndexReader(Directory dir, String name, String suffix, String extension, String codecName, byte[] id, IndexInput metaIn) (package private)LegacyFieldsIndexReader(IndexInput fieldsIndexIn, SegmentInfo si) -
Uses of IndexInput in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as IndexInputModifier and TypeFieldDescription(package private) IndexInputIDVersionSegmentTermsEnum.in(package private) final IndexInputVersionBlockTreeTermsReader.inMethods in org.apache.lucene.codecs.idversion with parameters of type IndexInputModifier and TypeMethodDescriptionvoidIDVersionPostingsReader.init(IndexInput termsIn, SegmentReadState state) private static BytesRefVersionBlockTreeTermsReader.readBytesRef(IndexInput in) private voidVersionBlockTreeTermsReader.seekDir(IndexInput input) Seekinputto the directory offset.Constructors in org.apache.lucene.codecs.idversion with parameters of type IndexInputModifierConstructorDescription(package private)VersionFieldReader(VersionBlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, PairOutputs.Pair<BytesRef, Long> rootCode, long sumTotalTermFreq, long sumDocFreq, int docCount, long indexStartFP, IndexInput indexIn, BytesRef minTerm, BytesRef maxTerm) -
Uses of IndexInput in org.apache.lucene.codecs.lucene50
Fields in org.apache.lucene.codecs.lucene50 declared as IndexInputModifier and TypeFieldDescription(package private) IndexInputLucene50PostingsReader.BlockDocsEnum.docIn(package private) final IndexInputLucene50PostingsReader.BlockImpactsEverythingEnum.docIn(package private) final IndexInputLucene50PostingsReader.BlockImpactsPostingsEnum.docInprivate final IndexInputLucene50PostingsReader.docIn(package private) IndexInputLucene50PostingsReader.EverythingEnum.docInprivate final IndexInputLucene50CompoundReader.handle(package private) final IndexInputLucene50PostingsReader.BlockImpactsEverythingEnum.payIn(package private) final IndexInputLucene50PostingsReader.EverythingEnum.payInprivate final IndexInputLucene50PostingsReader.payIn(package private) final IndexInputLucene50PostingsReader.BlockImpactsEverythingEnum.posIn(package private) final IndexInputLucene50PostingsReader.BlockImpactsPostingsEnum.posIn(package private) final IndexInputLucene50PostingsReader.EverythingEnum.posInprivate final IndexInputLucene50PostingsReader.posIn(package private) final IndexInputLucene50PostingsReader.BlockDocsEnum.startDocIn(package private) final IndexInputLucene50PostingsReader.EverythingEnum.startDocInMethods in org.apache.lucene.codecs.lucene50 that return IndexInputModifier and TypeMethodDescriptionMethods in org.apache.lucene.codecs.lucene50 with parameters of type IndexInputModifier and TypeMethodDescriptionbooleanLucene50PostingsReader.BlockDocsEnum.canReuse(IndexInput docIn, FieldInfo fieldInfo) booleanLucene50PostingsReader.EverythingEnum.canReuse(IndexInput docIn, FieldInfo fieldInfo) private static DocValuesTypeLucene50FieldInfosFormat.getDocValuesType(IndexInput input, byte b) private static IndexOptionsLucene50FieldInfosFormat.getIndexOptions(IndexInput input, byte b) voidLucene50PostingsReader.init(IndexInput termsIn, SegmentReadState state) (package private) voidForUtil.readBlock(IndexInput in, byte[] encoded, int[] decoded) Read the next block of data (Forformat).protected voidLucene50ScoreSkipReader.readImpacts(int level, IndexInput skipStream) protected voidLucene50SkipReader.readImpacts(int level, IndexInput skipStream) protected intLucene50SkipReader.readSkipData(int level, IndexInput skipStream) (package private) static voidLucene50PostingsReader.readVIntBlock(IndexInput docIn, int[] docBuffer, int[] freqBuffer, int num, boolean indexHasFreq) Read values that have been written using variable-length encoding instead of bit-packing.(package private) voidForUtil.skipBlock(IndexInput in) Skip the next block of data.Constructors in org.apache.lucene.codecs.lucene50 with parameters of type IndexInputModifierConstructorDescriptionLucene50ScoreSkipReader(int version, IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) Lucene50SkipReader(int version, IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) -
Uses of IndexInput in org.apache.lucene.codecs.lucene60
Fields in org.apache.lucene.codecs.lucene60 declared as IndexInputMethods in org.apache.lucene.codecs.lucene60 with parameters of type IndexInputModifier and TypeMethodDescriptionprivate static DocValuesTypeLucene60FieldInfosFormat.getDocValuesType(IndexInput input, byte b) private static IndexOptionsLucene60FieldInfosFormat.getIndexOptions(IndexInput input, byte b) -
Uses of IndexInput in org.apache.lucene.codecs.lucene70
Fields in org.apache.lucene.codecs.lucene70 declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputLucene70DocValuesProducer.TermsDict.bytes(package private) final IndexInputLucene70DocValuesProducer.BaseSortedDocValues.data(package private) final IndexInputLucene70DocValuesProducer.BaseSortedSetDocValues.dataprivate final IndexInputLucene70DocValuesProducer.dataprivate IndexInputLucene70NormsProducer.data(package private) final IndexInputLucene70DocValuesProducer.TermsDict.indexBytesprivate final IndexInputIndexedDISI.sliceThe slice that stores theDocIdSetIterator.Fields in org.apache.lucene.codecs.lucene70 with type parameters of type IndexInputModifier and TypeFieldDescriptionprivate Map<Integer, IndexInput> Lucene70NormsProducer.disiInputsMethods in org.apache.lucene.codecs.lucene70 that return IndexInputModifier and TypeMethodDescriptionprivate IndexInputLucene70NormsProducer.getDisiInput(FieldInfo field, Lucene70NormsProducer.NormsEntry entry) private IndexInputLucene70NormsProducer.getDisiInput2(FieldInfo field, Lucene70NormsProducer.NormsEntry entry) Methods in org.apache.lucene.codecs.lucene70 with parameters of type IndexInputModifier and TypeMethodDescriptionprivate voidLucene70NormsProducer.readFields(IndexInput meta, FieldInfos infos) Constructors in org.apache.lucene.codecs.lucene70 with parameters of type IndexInputModifierConstructorDescription(package private)(package private)(package private)IndexedDISI(IndexInput slice, long cost) (package private)IndexedDISI(IndexInput in, long offset, long length, long cost) (package private)TermsDict(Lucene70DocValuesProducer.TermsDictEntry entry, IndexInput data) -
Uses of IndexInput in org.apache.lucene.codecs.lucene80
Fields in org.apache.lucene.codecs.lucene80 declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputLucene80DocValuesProducer.TermsDict.bytesprivate final IndexInputLucene80DocValuesProducer.BinaryDecoder.compressedData(package private) final IndexInputLucene80DocValuesProducer.BaseSortedDocValues.data(package private) final IndexInputLucene80DocValuesProducer.BaseSortedSetDocValues.dataprivate final IndexInputLucene80DocValuesProducer.dataprivate IndexInputLucene80NormsProducer.data(package private) final IndexInputLucene80DocValuesProducer.TermsDict.indexBytes(package private) final IndexInputIndexedDISI.sliceThe slice that stores theDocIdSetIterator.Fields in org.apache.lucene.codecs.lucene80 with type parameters of type IndexInputModifier and TypeFieldDescriptionprivate Map<Integer, IndexInput> Lucene80NormsProducer.disiInputsMethods in org.apache.lucene.codecs.lucene80 that return IndexInputModifier and TypeMethodDescriptionstatic IndexInputIndexedDISI.createBlockSlice(IndexInput slice, String sliceDescription, long offset, long length, int jumpTableEntryCount) Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long).private IndexInputLucene80NormsProducer.getDisiInput(FieldInfo field, Lucene80NormsProducer.NormsEntry entry) Methods in org.apache.lucene.codecs.lucene80 with parameters of type IndexInputModifier and TypeMethodDescriptionstatic IndexInputIndexedDISI.createBlockSlice(IndexInput slice, String sliceDescription, long offset, long length, int jumpTableEntryCount) Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long).static RandomAccessInputIndexedDISI.createJumpTable(IndexInput slice, long offset, long length, int jumpTableEntryCount) Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long).Lucene80DocValuesProducer.readBinary(IndexInput meta, boolean compressed) private voidLucene80NormsProducer.readFields(IndexInput meta, FieldInfos infos) Constructors in org.apache.lucene.codecs.lucene80 with parameters of type IndexInputModifierConstructorDescription(package private)(package private)BinaryDecoder(LongValues addresses, IndexInput compressedData, int biggestUncompressedBlockSize, int docsPerChunkShift) (package private)IndexedDISI(IndexInput in, long offset, long length, int jumpTableEntryCount, byte denseRankPower, long cost) This constructor always creates a new blockSlice and a new jumpTable from in, to ensure that operations are independent from the caller.(package private)IndexedDISI(IndexInput blockSlice, RandomAccessInput jumpTable, int jumpTableEntryCount, byte denseRankPower, long cost) This constructor allows to pass the slice and jumpTable directly in case it helps reuse.(package private)TermsDict(Lucene80DocValuesProducer.TermsDictEntry entry, IndexInput data) -
Uses of IndexInput in org.apache.lucene.codecs.lucene84
Fields in org.apache.lucene.codecs.lucene84 declared as IndexInputModifier and TypeFieldDescription(package private) IndexInputLucene84PostingsReader.BlockDocsEnum.docIn(package private) final IndexInputLucene84PostingsReader.BlockImpactsDocsEnum.docIn(package private) final IndexInputLucene84PostingsReader.BlockImpactsEverythingEnum.docIn(package private) final IndexInputLucene84PostingsReader.BlockImpactsPostingsEnum.docInprivate final IndexInputLucene84PostingsReader.docIn(package private) IndexInputLucene84PostingsReader.EverythingEnum.docIn(package private) final IndexInputLucene84PostingsReader.BlockImpactsEverythingEnum.payIn(package private) final IndexInputLucene84PostingsReader.EverythingEnum.payInprivate final IndexInputLucene84PostingsReader.payIn(package private) final IndexInputLucene84PostingsReader.BlockImpactsEverythingEnum.posIn(package private) final IndexInputLucene84PostingsReader.BlockImpactsPostingsEnum.posIn(package private) final IndexInputLucene84PostingsReader.EverythingEnum.posInprivate final IndexInputLucene84PostingsReader.posIn(package private) final IndexInputLucene84PostingsReader.BlockDocsEnum.startDocIn(package private) final IndexInputLucene84PostingsReader.EverythingEnum.startDocInMethods in org.apache.lucene.codecs.lucene84 with parameters of type IndexInputModifier and TypeMethodDescriptionbooleanLucene84PostingsReader.BlockDocsEnum.canReuse(IndexInput docIn, FieldInfo fieldInfo) booleanLucene84PostingsReader.EverythingEnum.canReuse(IndexInput docIn, FieldInfo fieldInfo) voidLucene84PostingsReader.init(IndexInput termsIn, SegmentReadState state) protected voidLucene84ScoreSkipReader.readImpacts(int level, IndexInput skipStream) protected voidLucene84SkipReader.readImpacts(int level, IndexInput skipStream) protected intLucene84SkipReader.readSkipData(int level, IndexInput skipStream) (package private) static voidLucene84PostingsReader.readVIntBlock(IndexInput docIn, long[] docBuffer, long[] freqBuffer, int num, boolean indexHasFreq) Read values that have been written using variable-length encoding instead of bit-packing.Constructors in org.apache.lucene.codecs.lucene84 with parameters of type IndexInputModifierConstructorDescriptionLucene84ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) Lucene84SkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) -
Uses of IndexInput in org.apache.lucene.codecs.lucene86
Fields in org.apache.lucene.codecs.lucene86 declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputLucene86PointsReader.dataIn(package private) final IndexInputLucene86PointsReader.indexIn -
Uses of IndexInput in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as IndexInputMethods in org.apache.lucene.codecs.memory with parameters of type IndexInputModifier and TypeMethodDescriptionprivate voidFSTTermsReader.checkFieldSummary(SegmentInfo info, IndexInput in, FSTTermsReader.TermsReader field, FSTTermsReader.TermsReader previous) DirectDocValuesProducer.readBinaryEntry(IndexInput meta) private intDirectDocValuesProducer.readFields(IndexInput meta, FieldInfos infos) DirectDocValuesProducer.readNumericEntry(IndexInput meta) DirectDocValuesProducer.readSortedEntry(IndexInput meta) DirectDocValuesProducer.readSortedNumericEntry(IndexInput meta, boolean singleton) DirectDocValuesProducer.readSortedSetEntry(IndexInput meta, boolean singleton) private voidFSTTermsReader.seekDir(IndexInput in) Constructors in org.apache.lucene.codecs.memory with parameters of type IndexInputModifierConstructorDescription(package private)TermsReader(FieldInfo fieldInfo, IndexInput in, long numTerms, long sumTotalTermFreq, long sumDocFreq, int docCount) -
Uses of IndexInput in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputSimpleTextDocValuesReader.dataprivate final IndexInputSimpleTextPointsReader.dataIn(package private) final IndexInputSimpleTextBKDReader.in(package private) final IndexInputSimpleTextBKDReader.IntersectState.inprivate final IndexInputSimpleTextFieldsReader.inprivate final IndexInputSimpleTextFieldsReader.SimpleTextDocsEnum.inprivate final IndexInputSimpleTextFieldsReader.SimpleTextPostingsEnum.inprivate IndexInputSimpleTextStoredFieldsReader.inprivate IndexInputSimpleTextTermVectorsReader.inprivate final IndexInputSimpleTextFieldsReader.SimpleTextDocsEnum.inStartprivate final IndexInputSimpleTextFieldsReader.SimpleTextPostingsEnum.inStartMethods in org.apache.lucene.codecs.simpletext with parameters of type IndexInputModifier and TypeMethodDescriptionbooleanSimpleTextFieldsReader.SimpleTextDocsEnum.canReuse(IndexInput in) booleanSimpleTextFieldsReader.SimpleTextPostingsEnum.canReuse(IndexInput in) private voidSimpleTextBKDReader.readCommonPrefixes(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in) private intSimpleTextBKDReader.readCompressedDim(IndexInput in) (package private) intSimpleTextBKDReader.readDocIDs(IndexInput in, long blockFP, int[] docIDs) SimpleTextFieldsReader.readFields(IndexInput in) private voidSimpleTextBKDReader.readLine(IndexInput in, BytesRefBuilder scratch) private voidSimpleTextPointsReader.readLine(IndexInput in) private voidSimpleTextBKDReader.visitCompressedDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, int[] docIDs, int count, PointValues.IntersectVisitor visitor, int compressedDim) (package private) voidSimpleTextBKDReader.visitDocIDs(IndexInput in, long blockFP, PointValues.IntersectVisitor visitor) (package private) voidSimpleTextBKDReader.visitDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, int[] docIDs, int count, PointValues.IntersectVisitor visitor) Constructors in org.apache.lucene.codecs.simpletext with parameters of type IndexInputModifierConstructorDescriptionIntersectState(IndexInput in, int numDims, int packedBytesLength, int maxPointsInLeafNode, PointValues.IntersectVisitor visitor) SimpleTextBKDReader(IndexInput in, int numDims, int numIndexDims, int maxPointsInLeafNode, int bytesPerDim, long[] leafBlockFPs, byte[] splitPackedValues, byte[] minPackedValue, byte[] maxPackedValue, long pointCount, int docCount) (package private)SimpleTextStoredFieldsReader(long[] offsets, IndexInput in, FieldInfos fieldInfos) (package private)SimpleTextTermVectorsReader(long[] offsets, IndexInput in) -
Uses of IndexInput in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as IndexInputModifier and TypeFieldDescriptionprotected IndexInputBlockReader.blockInputIndexInputon theblock file.protected final IndexInputUniformSplitTerms.blockInputprotected final IndexInputUniformSplitTermsReader.blockInputprotected final IndexInputFSTDictionary.BrowserSupplier.dictionaryInputprotected final IndexInputUniformSplitTermsReader.dictionaryInputMethods in org.apache.lucene.codecs.uniformsplit with parameters of type IndexInputModifier and TypeMethodDescriptionprotected IndexDictionary.BrowserSupplierUniformSplitTermsReader.createDictionaryBrowserSupplier(SegmentReadState state, IndexInput dictionaryInput, FieldMetadata fieldMetadata, BlockDecoder blockDecoder, boolean dictionaryOnHeap) protected voidUniformSplitTermsReader.fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos) protected Collection<FieldMetadata> UniformSplitTermsReader.readFieldsMetadata(IndexInput indexInput, BlockDecoder blockDecoder, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs) protected voidUniformSplitTermsReader.seekFieldsMetadata(IndexInput indexInput) Positions the givenIndexInputat the beginning of the fields metadata.Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type IndexInputModifierConstructorDescriptionprotectedBlockReader(IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder) BrowserSupplier(IndexInput dictionaryInput, long dictionaryStartFP, BlockDecoder blockDecoder, boolean isFSTOnHeap) protectedIntersectBlockReader(CompiledAutomaton compiled, BytesRef startTerm, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder) protectedUniformSplitTerms(IndexInput blockInput, FieldMetadata fieldMetadata, PostingsReaderBase postingsReader, BlockDecoder blockDecoder, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier) -
Uses of IndexInput in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputPrefixCodedTerms.TermIterator.inputMethods in org.apache.lucene.index that return IndexInputModifier and TypeMethodDescription -
Uses of IndexInput in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as IndexInputModifier and TypeFieldDescriptionprivate IndexInputCompletionFieldsProducer.dictInprivate final IndexInputCompletionsTermsReader.dictInMethods in org.apache.lucene.search.suggest.document with parameters of type IndexInputModifier and TypeMethodDescriptionstatic NRTSuggesterNRTSuggester.load(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode) private static booleanNRTSuggester.shouldLoadFSTOffHeap(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode) Constructors in org.apache.lucene.search.suggest.document with parameters of type IndexInputModifierConstructorDescription(package private)CompletionsTermsReader(IndexInput dictIn, long offset, long minWeight, long maxWeight, byte type, CompletionPostingsFormat.FSTLoadMode fstLoadMode) Creates a CompletionTermsReader to load a field-specific suggester from the indexdictInwithoffset -
Uses of IndexInput in org.apache.lucene.store
Subclasses of IndexInput in org.apache.lucene.storeModifier and TypeClassDescriptionclassSimple implementation ofChecksumIndexInputthat wraps another input and delegates calls.classBase implementation class for bufferedIndexInput.private static final classImplementation of an IndexInput that reads from a portion of a file.classBase IndexInput implementation that uses an array of ByteBuffers to represent a file.(package private) static final classThis class adds offset support to ByteBufferIndexInput, which is needed for slices.(package private) static final classOptimization of ByteBufferIndexInput for when there is only one bufferfinal classclassExtension of IndexInput, computing checksum as it goes.private static final class(package private) static final classReads bytes withFileChannel.read(ByteBuffer, long)(package private) static final classReads bytes withRandomAccessFile.seek(long)followed byRandomAccessFile.read(byte[], int, int).classDeprecated.(package private) static final classDeprecated.Reads bytes withSeekableByteChannel.read(ByteBuffer)(package private) static classFields in org.apache.lucene.store declared as IndexInputModifier and TypeFieldDescription(package private) IndexInputBufferedIndexInput.SlicedIndexInput.baseprivate IndexInputByteBuffersDirectory.FileEntry.content(package private) final IndexInputBufferedChecksumIndexInput.mainFields in org.apache.lucene.store with type parameters of type IndexInputModifier and TypeFieldDescriptionstatic final BiFunction<String, ByteBuffersDataOutput, IndexInput> ByteBuffersDirectory.OUTPUT_AS_BYTE_ARRAYstatic final BiFunction<String, ByteBuffersDataOutput, IndexInput> ByteBuffersDirectory.OUTPUT_AS_MANY_BUFFERSstatic final BiFunction<String, ByteBuffersDataOutput, IndexInput> ByteBuffersDirectory.OUTPUT_AS_MANY_BUFFERS_LUCENEstatic final BiFunction<String, ByteBuffersDataOutput, IndexInput> ByteBuffersDirectory.OUTPUT_AS_ONE_BUFFERprivate final BiFunction<String, ByteBuffersDataOutput, IndexInput> ByteBuffersDirectory.outputToInputConversion between a buffered index output and the corresponding index input for a given file.Methods in org.apache.lucene.store that return IndexInputModifier and TypeMethodDescriptionBufferedChecksumIndexInput.clone()ByteBuffersIndexInput.clone()IndexInput.clone()Returns a clone of this stream.ByteBuffersDirectory.FileEntry.openInput()abstract IndexInputOpens a stream for reading an existing file.Creates an IndexInput for the file with the given name.Creates an IndexInput for the file with the given name.Deprecated.Returns a stream reading an existing file.Deprecated.Creates an IndexInput for the file with the given name.abstract IndexInputCreates a slice of this index input, with the given description, offset, and length.Deprecated.Methods in org.apache.lucene.store with parameters of type IndexInputModifier and TypeMethodDescriptionstatic BufferedIndexInputBufferedIndexInput.wrap(String sliceDescription, IndexInput other, long offset, long length) Wraps a portion of another IndexInput with buffering.Method parameters in org.apache.lucene.store with type arguments of type IndexInputModifier and TypeMethodDescription(package private) final IndexOutputByteBuffersDirectory.FileEntry.createOutput(BiFunction<String, ByteBuffersDataOutput, IndexInput> outputToInput) Constructors in org.apache.lucene.store with parameters of type IndexInputModifierConstructorDescriptionCreates a new BufferedChecksumIndexInput(package private)SlicedIndexInput(String sliceDescription, IndexInput base, long offset, long length) Constructor parameters in org.apache.lucene.store with type arguments of type IndexInputModifierConstructorDescriptionByteBuffersDirectory(LockFactory factory, Supplier<ByteBuffersDataOutput> bbOutputSupplier, BiFunction<String, ByteBuffersDataOutput, IndexInput> outputToInput) -
Uses of IndexInput in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type IndexInputModifier and TypeMethodDescriptionvoidPagedBytes.copy(IndexInput in, long byteCount) Read this many bytes from in -
Uses of IndexInput in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as IndexInputModifier and TypeFieldDescription(package private) final IndexInputBKDReader.inprivate final IndexInputBKDReader.IndexTree.in(package private) final IndexInputBKDReader.IntersectState.in(package private) final IndexInputOfflinePointReader.in(package private) final IndexInputBKDReader.packedIndexMethods in org.apache.lucene.util.bkd with parameters of type IndexInputModifier and TypeMethodDescriptionprivate voidBKDReader.readCommonPrefixes(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in) private intBKDReader.readCompressedDim(IndexInput in) private static voidDocIdsWriter.readDeltaVInts(IndexInput in, int count, int[] docIDs) private static voidDocIdsWriter.readDeltaVInts(IndexInput in, int count, PointValues.IntersectVisitor visitor) (package private) intBKDReader.readDocIDs(IndexInput in, long blockFP, BKDReader.BKDReaderDocIDSetIterator iterator) (package private) static voidDocIdsWriter.readInts(IndexInput in, int count, int[] docIDs) Readcountintegers intodocIDs.(package private) static voidDocIdsWriter.readInts(IndexInput in, int count, PointValues.IntersectVisitor visitor) Readcountintegers and feed the result directly toPointValues.IntersectVisitor.visit(int).private static voidDocIdsWriter.readInts24(IndexInput in, int count, int[] docIDs) private static voidDocIdsWriter.readInts24(IndexInput in, int count, PointValues.IntersectVisitor visitor) (package private) static <T> voidDocIdsWriter.readInts32(IndexInput in, int count, int[] docIDs) private static voidDocIdsWriter.readInts32(IndexInput in, int count, PointValues.IntersectVisitor visitor) private voidBKDReader.readMinMax(int[] commonPrefixLengths, byte[] minPackedValue, byte[] maxPackedValue, IndexInput in) private voidBKDReader.visitCompressedDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor, int compressedDim) private voidBKDReader.visitDocIDs(IndexInput in, long blockFP, PointValues.IntersectVisitor visitor) (package private) voidBKDReader.visitDocValues(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor) (package private) voidBKDReader.visitDocValuesNoCardinality(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor) (package private) voidBKDReader.visitDocValuesWithCardinality(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor) private voidBKDReader.visitSparseRawDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor) Constructors in org.apache.lucene.util.bkd with parameters of type IndexInputModifierConstructorDescriptionBKDReader(IndexInput metaIn, IndexInput indexIn, IndexInput dataIn) Caller must pre-seek the providedIndexInputto the index location thatBKDWriter.finish(org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput)returned.privateIndexTree(IndexInput in, int nodeID, int level) IntersectState(IndexInput in, BKDConfig config, PointValues.IntersectVisitor visitor, BKDReader.IndexTree indexVisitor) -
Uses of IndexInput in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as IndexInput -
Uses of IndexInput in org.apache.lucene.util.packed
Fields in org.apache.lucene.util.packed declared as IndexInputModifier and TypeFieldDescriptionprivate final IndexInputDirectPacked64SingleBlockReader.in(package private) final IndexInputDirectPackedReader.inMethods in org.apache.lucene.util.packed with parameters of type IndexInputModifier and TypeMethodDescriptionstatic 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 DirectMonotonicReader.MetaDirectMonotonicReader.loadMeta(IndexInput metaIn, long numValues, int blockShift) Load metadata from the givenIndexInput.static MonotonicBlockPackedReaderMonotonicBlockPackedReader.of(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) Sole constructor.Constructors in org.apache.lucene.util.packed with parameters of type IndexInputModifierConstructorDescriptionBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) Sole constructor.(package private)DirectPacked64SingleBlockReader(int bitsPerValue, int valueCount, IndexInput in) (package private)DirectPackedReader(int bitsPerValue, int valueCount, IndexInput in) privateMonotonicBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)
MMapDirectory.