Uses of Class
org.apache.lucene.store.IndexInput
-
Packages that use IndexInput Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.blockterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.codecs.lucene50 Components from the Lucene 5.0 index format Seeorg.apache.lucene.codecs.lucene80
for an overview of the index format.org.apache.lucene.codecs.lucene60 Components from the Lucene 6.0 index format.org.apache.lucene.codecs.lucene70 Components from the Lucene 7.0 index format.org.apache.lucene.codecs.lucene80 Components from the Lucene 8.0 index format Seeorg.apache.lucene.codecs.lucene84
for an overview of the index format.org.apache.lucene.codecs.lucene84 Components from the Lucene 8.4 index format.org.apache.lucene.codecs.lucene86 Lucene 8.6 file format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.uniformsplit.sharedterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.bkd Block KD-tree, implementing the generic spatial data structure described in this paper.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.packed Packed integer arrays and streams. -
-
Uses of IndexInput in org.apache.lucene.codecs
Subclasses of IndexInput in org.apache.lucene.codecs Modifier and Type Class Description private static class
MultiLevelSkipListReader.SkipBuffer
used to buffer the top skip levelsFields in org.apache.lucene.codecs declared as IndexInput Modifier and Type Field Description private IndexInput[]
MultiLevelSkipListReader. skipStream
skipStream for each level.Methods in org.apache.lucene.codecs that return IndexInput Modifier and Type Method Description IndexInput
MultiLevelSkipListReader.SkipBuffer. slice(java.lang.String sliceDescription, long offset, long length)
Methods in org.apache.lucene.codecs with parameters of type IndexInput Modifier and Type Method Description static long
CodecUtil. checksumEntireFile(IndexInput input)
Clones the provided input, reads all bytes from the file, and callsCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput)
abstract void
PostingsReaderBase. init(IndexInput termsIn, SegmentReadState state)
Performs any initialization, such as reading and verifying the header from the provided terms dictionaryIndexInput
.(package private) static long
CodecUtil. 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 int
MultiLevelSkipListReader. readSkipData(int level, IndexInput skipStream)
Subclasses must implement the actual skip data encoding in this method.static long
CodecUtil. retrieveChecksum(IndexInput in)
Returns (but does not validate) the checksum previously written byCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput)
.static long
CodecUtil. retrieveChecksum(IndexInput in, long expectedLength)
Returns (but does not validate) the checksum previously written byCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput)
.private static void
CodecUtil. validateFooter(IndexInput in)
static void
CodecUtil. verifyAndCopyIndexHeader(IndexInput in, DataOutput out, byte[] expectedID)
Expert: verifies the incomingIndexInput
has 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
, whereskipInterval
andskipMultiplier
are the same.MultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval, int skipMultiplier)
Creates aMultiLevelSkipListReader
.SkipBuffer(IndexInput input, int length)
-
Uses of IndexInput in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as IndexInput Modifier and Type Field Description private IndexInput
BlockTermsReader.FieldReader.SegmentTermsEnum. in
private IndexInput
BlockTermsReader. in
Methods in org.apache.lucene.codecs.blockterms with parameters of type IndexInput Modifier and Type Method Description private void
BlockTermsReader. seekDir(IndexInput input)
private void
FixedGapTermsIndexReader. seekDir(IndexInput input)
private void
VariableGapTermsIndexReader. seekDir(IndexInput input)
Constructors in org.apache.lucene.codecs.blockterms with parameters of type IndexInput Constructor Description FieldIndexData(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 IndexInput Modifier and Type Field Description (package private) IndexInput
IntersectTermsEnum. in
(package private) IndexInput
SegmentTermsEnum. in
(package private) IndexInput
BlockTreeTermsReader. indexIn
(package private) IndexInput
BlockTreeTermsReader. termsIn
Methods in org.apache.lucene.codecs.blocktree with parameters of type IndexInput Modifier and Type Method Description private static BytesRef
BlockTreeTermsReader. readBytesRef(IndexInput in)
private static void
BlockTreeTermsReader. seekDir(IndexInput input)
Seekinput
to the directory offset.Constructors in org.apache.lucene.codecs.blocktree with parameters of type IndexInput Constructor Description 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 IndexInput Modifier and Type Field Description (package private) IndexInput
OrdsBlockTreeTermsReader. in
(package private) IndexInput
OrdsIntersectTermsEnum. in
(package private) IndexInput
OrdsSegmentTermsEnum. in
Methods in org.apache.lucene.codecs.blocktreeords with parameters of type IndexInput Modifier and Type Method Description private static BytesRef
OrdsBlockTreeTermsReader. readBytesRef(IndexInput in)
private void
OrdsBlockTreeTermsReader. seekDir(IndexInput input)
Seekinput
to the directory offset.Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type IndexInput Constructor Description 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 IndexInput Modifier and Type Field Description private IndexInput
CompressingStoredFieldsReader. fieldsStream
private IndexInput
FieldsIndexReader. indexInput
(package private) IndexInput
CompressingTermVectorsReader. vectorsStream
Methods in org.apache.lucene.codecs.compressing that return IndexInput Modifier and Type Method Description (package private) IndexInput
CompressingStoredFieldsReader. getFieldsStream()
(package private) IndexInput
CompressingTermVectorsReader. getVectorsStream()
Constructors in org.apache.lucene.codecs.compressing with parameters of type IndexInput Constructor Description FieldsIndexReader(Directory dir, java.lang.String name, java.lang.String suffix, java.lang.String extension, java.lang.String codecName, byte[] id, IndexInput metaIn)
LegacyFieldsIndexReader(IndexInput fieldsIndexIn, SegmentInfo si)
-
Uses of IndexInput in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as IndexInput Modifier and Type Field Description (package private) IndexInput
IDVersionSegmentTermsEnum. in
(package private) IndexInput
VersionBlockTreeTermsReader. in
Methods in org.apache.lucene.codecs.idversion with parameters of type IndexInput Modifier and Type Method Description void
IDVersionPostingsReader. init(IndexInput termsIn, SegmentReadState state)
private static BytesRef
VersionBlockTreeTermsReader. readBytesRef(IndexInput in)
private void
VersionBlockTreeTermsReader. seekDir(IndexInput input)
Seekinput
to the directory offset.Constructors in org.apache.lucene.codecs.idversion with parameters of type IndexInput Constructor Description VersionFieldReader(VersionBlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, PairOutputs.Pair<BytesRef,java.lang.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 IndexInput Modifier and Type Field Description (package private) IndexInput
Lucene50PostingsReader.BlockDocsEnum. docIn
(package private) IndexInput
Lucene50PostingsReader.BlockImpactsEverythingEnum. docIn
(package private) IndexInput
Lucene50PostingsReader.BlockImpactsPostingsEnum. docIn
private IndexInput
Lucene50PostingsReader. docIn
(package private) IndexInput
Lucene50PostingsReader.EverythingEnum. docIn
private IndexInput
Lucene50CompoundReader. handle
(package private) IndexInput
Lucene50PostingsReader.BlockImpactsEverythingEnum. payIn
(package private) IndexInput
Lucene50PostingsReader.EverythingEnum. payIn
private IndexInput
Lucene50PostingsReader. payIn
(package private) IndexInput
Lucene50PostingsReader.BlockImpactsEverythingEnum. posIn
(package private) IndexInput
Lucene50PostingsReader.BlockImpactsPostingsEnum. posIn
(package private) IndexInput
Lucene50PostingsReader.EverythingEnum. posIn
private IndexInput
Lucene50PostingsReader. posIn
(package private) IndexInput
Lucene50PostingsReader.BlockDocsEnum. startDocIn
(package private) IndexInput
Lucene50PostingsReader.EverythingEnum. startDocIn
Methods in org.apache.lucene.codecs.lucene50 that return IndexInput Modifier and Type Method Description IndexInput
Lucene50CompoundReader. openInput(java.lang.String name, IOContext context)
Methods in org.apache.lucene.codecs.lucene50 with parameters of type IndexInput Modifier and Type Method Description boolean
Lucene50PostingsReader.BlockDocsEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)
boolean
Lucene50PostingsReader.EverythingEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)
private static DocValuesType
Lucene50FieldInfosFormat. getDocValuesType(IndexInput input, byte b)
private static IndexOptions
Lucene50FieldInfosFormat. getIndexOptions(IndexInput input, byte b)
void
Lucene50PostingsReader. init(IndexInput termsIn, SegmentReadState state)
(package private) void
ForUtil. readBlock(IndexInput in, byte[] encoded, int[] decoded)
Read the next block of data (For
format).protected void
Lucene50ScoreSkipReader. readImpacts(int level, IndexInput skipStream)
protected void
Lucene50SkipReader. readImpacts(int level, IndexInput skipStream)
protected int
Lucene50SkipReader. readSkipData(int level, IndexInput skipStream)
(package private) static void
Lucene50PostingsReader. 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) void
ForUtil. skipBlock(IndexInput in)
Skip the next block of data.Constructors in org.apache.lucene.codecs.lucene50 with parameters of type IndexInput Constructor Description Lucene50ScoreSkipReader(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 IndexInput Modifier and Type Field Description (package private) IndexInput
Lucene60PointsReader. dataIn
Methods in org.apache.lucene.codecs.lucene60 with parameters of type IndexInput Modifier and Type Method Description private static DocValuesType
Lucene60FieldInfosFormat. getDocValuesType(IndexInput input, byte b)
private static IndexOptions
Lucene60FieldInfosFormat. getIndexOptions(IndexInput input, byte b)
-
Uses of IndexInput in org.apache.lucene.codecs.lucene70
Fields in org.apache.lucene.codecs.lucene70 declared as IndexInput Modifier and Type Field Description (package private) IndexInput
Lucene70DocValuesProducer.TermsDict. bytes
(package private) IndexInput
Lucene70DocValuesProducer.BaseSortedDocValues. data
(package private) IndexInput
Lucene70DocValuesProducer.BaseSortedSetDocValues. data
private IndexInput
Lucene70DocValuesProducer. data
private IndexInput
Lucene70NormsProducer. data
(package private) IndexInput
Lucene70DocValuesProducer.TermsDict. indexBytes
private IndexInput
IndexedDISI. slice
The slice that stores theDocIdSetIterator
.Fields in org.apache.lucene.codecs.lucene70 with type parameters of type IndexInput Modifier and Type Field Description private java.util.Map<java.lang.Integer,IndexInput>
Lucene70NormsProducer. disiInputs
Methods in org.apache.lucene.codecs.lucene70 that return IndexInput Modifier and Type Method Description private IndexInput
Lucene70NormsProducer. getDisiInput(FieldInfo field, Lucene70NormsProducer.NormsEntry entry)
private IndexInput
Lucene70NormsProducer. getDisiInput2(FieldInfo field, Lucene70NormsProducer.NormsEntry entry)
Methods in org.apache.lucene.codecs.lucene70 with parameters of type IndexInput Modifier and Type Method Description private void
Lucene70NormsProducer. readFields(IndexInput meta, FieldInfos infos)
Constructors in org.apache.lucene.codecs.lucene70 with parameters of type IndexInput Constructor Description BaseSortedDocValues(Lucene70DocValuesProducer.SortedEntry entry, IndexInput data)
BaseSortedSetDocValues(Lucene70DocValuesProducer.SortedSetEntry entry, IndexInput data)
IndexedDISI(IndexInput slice, long cost)
IndexedDISI(IndexInput in, long offset, long length, long cost)
TermsDict(Lucene70DocValuesProducer.TermsDictEntry entry, IndexInput data)
-
Uses of IndexInput in org.apache.lucene.codecs.lucene80
Fields in org.apache.lucene.codecs.lucene80 declared as IndexInput Modifier and Type Field Description (package private) IndexInput
Lucene80DocValuesProducer.TermsDict. bytes
private IndexInput
Lucene80DocValuesProducer.BinaryDecoder. compressedData
(package private) IndexInput
Lucene80DocValuesProducer.BaseSortedDocValues. data
(package private) IndexInput
Lucene80DocValuesProducer.BaseSortedSetDocValues. data
private IndexInput
Lucene80DocValuesProducer. data
private IndexInput
Lucene80NormsProducer. data
(package private) IndexInput
Lucene80DocValuesProducer.TermsDict. indexBytes
(package private) IndexInput
IndexedDISI. slice
The slice that stores theDocIdSetIterator
.Fields in org.apache.lucene.codecs.lucene80 with type parameters of type IndexInput Modifier and Type Field Description private java.util.Map<java.lang.Integer,IndexInput>
Lucene80NormsProducer. disiInputs
Methods in org.apache.lucene.codecs.lucene80 that return IndexInput Modifier and Type Method Description static IndexInput
IndexedDISI. createBlockSlice(IndexInput slice, java.lang.String sliceDescription, long offset, long length, int jumpTableEntryCount)
Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long)
.private IndexInput
Lucene80NormsProducer. getDisiInput(FieldInfo field, Lucene80NormsProducer.NormsEntry entry)
Methods in org.apache.lucene.codecs.lucene80 with parameters of type IndexInput Modifier and Type Method Description static IndexInput
IndexedDISI. createBlockSlice(IndexInput slice, java.lang.String sliceDescription, long offset, long length, int jumpTableEntryCount)
Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long)
.static RandomAccessInput
IndexedDISI. createJumpTable(IndexInput slice, long offset, long length, int jumpTableEntryCount)
Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long)
.private Lucene80DocValuesProducer.BinaryEntry
Lucene80DocValuesProducer. readBinary(IndexInput meta, boolean compressed)
private void
Lucene80NormsProducer. readFields(IndexInput meta, FieldInfos infos)
Constructors in org.apache.lucene.codecs.lucene80 with parameters of type IndexInput Constructor Description BaseSortedDocValues(Lucene80DocValuesProducer.SortedEntry entry, IndexInput data)
BaseSortedSetDocValues(Lucene80DocValuesProducer.SortedSetEntry entry, IndexInput data)
BinaryDecoder(LongValues addresses, IndexInput compressedData, int biggestUncompressedBlockSize, int docsPerChunkShift)
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.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.TermsDict(Lucene80DocValuesProducer.TermsDictEntry entry, IndexInput data)
-
Uses of IndexInput in org.apache.lucene.codecs.lucene84
Fields in org.apache.lucene.codecs.lucene84 declared as IndexInput Modifier and Type Field Description (package private) IndexInput
Lucene84PostingsReader.BlockDocsEnum. docIn
(package private) IndexInput
Lucene84PostingsReader.BlockImpactsDocsEnum. docIn
(package private) IndexInput
Lucene84PostingsReader.BlockImpactsEverythingEnum. docIn
(package private) IndexInput
Lucene84PostingsReader.BlockImpactsPostingsEnum. docIn
private IndexInput
Lucene84PostingsReader. docIn
(package private) IndexInput
Lucene84PostingsReader.EverythingEnum. docIn
(package private) IndexInput
Lucene84PostingsReader.BlockImpactsEverythingEnum. payIn
(package private) IndexInput
Lucene84PostingsReader.EverythingEnum. payIn
private IndexInput
Lucene84PostingsReader. payIn
(package private) IndexInput
Lucene84PostingsReader.BlockImpactsEverythingEnum. posIn
(package private) IndexInput
Lucene84PostingsReader.BlockImpactsPostingsEnum. posIn
(package private) IndexInput
Lucene84PostingsReader.EverythingEnum. posIn
private IndexInput
Lucene84PostingsReader. posIn
(package private) IndexInput
Lucene84PostingsReader.BlockDocsEnum. startDocIn
(package private) IndexInput
Lucene84PostingsReader.EverythingEnum. startDocIn
Methods in org.apache.lucene.codecs.lucene84 with parameters of type IndexInput Modifier and Type Method Description boolean
Lucene84PostingsReader.BlockDocsEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)
boolean
Lucene84PostingsReader.EverythingEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)
void
Lucene84PostingsReader. init(IndexInput termsIn, SegmentReadState state)
protected void
Lucene84ScoreSkipReader. readImpacts(int level, IndexInput skipStream)
protected void
Lucene84SkipReader. readImpacts(int level, IndexInput skipStream)
protected int
Lucene84SkipReader. readSkipData(int level, IndexInput skipStream)
(package private) static void
Lucene84PostingsReader. 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 IndexInput Constructor Description Lucene84ScoreSkipReader(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 IndexInput Modifier and Type Field Description (package private) IndexInput
Lucene86PointsReader. dataIn
(package private) IndexInput
Lucene86PointsReader. indexIn
-
Uses of IndexInput in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as IndexInput Modifier and Type Field Description private IndexInput
DirectDocValuesProducer. data
Methods in org.apache.lucene.codecs.memory with parameters of type IndexInput Modifier and Type Method Description private void
FSTTermsReader. checkFieldSummary(SegmentInfo info, IndexInput in, FSTTermsReader.TermsReader field, FSTTermsReader.TermsReader previous)
private DirectDocValuesProducer.BinaryEntry
DirectDocValuesProducer. readBinaryEntry(IndexInput meta)
private int
DirectDocValuesProducer. readFields(IndexInput meta, FieldInfos infos)
private DirectDocValuesProducer.NumericEntry
DirectDocValuesProducer. readNumericEntry(IndexInput meta)
private DirectDocValuesProducer.SortedEntry
DirectDocValuesProducer. readSortedEntry(IndexInput meta)
private DirectDocValuesProducer.SortedNumericEntry
DirectDocValuesProducer. readSortedNumericEntry(IndexInput meta, boolean singleton)
private DirectDocValuesProducer.SortedSetEntry
DirectDocValuesProducer. readSortedSetEntry(IndexInput meta, boolean singleton)
private void
FSTTermsReader. seekDir(IndexInput in)
Constructors in org.apache.lucene.codecs.memory with parameters of type IndexInput Constructor Description 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 IndexInput Modifier and Type Field Description (package private) IndexInput
SimpleTextDocValuesReader. data
private IndexInput
SimpleTextPointsReader. dataIn
(package private) IndexInput
SimpleTextBKDReader. in
(package private) IndexInput
SimpleTextBKDReader.IntersectState. in
private IndexInput
SimpleTextFieldsReader. in
private IndexInput
SimpleTextFieldsReader.SimpleTextDocsEnum. in
private IndexInput
SimpleTextFieldsReader.SimpleTextPostingsEnum. in
private IndexInput
SimpleTextStoredFieldsReader. in
private IndexInput
SimpleTextTermVectorsReader. in
private IndexInput
SimpleTextFieldsReader.SimpleTextDocsEnum. inStart
private IndexInput
SimpleTextFieldsReader.SimpleTextPostingsEnum. inStart
Methods in org.apache.lucene.codecs.simpletext with parameters of type IndexInput Modifier and Type Method Description boolean
SimpleTextFieldsReader.SimpleTextDocsEnum. canReuse(IndexInput in)
boolean
SimpleTextFieldsReader.SimpleTextPostingsEnum. canReuse(IndexInput in)
private void
SimpleTextBKDReader. readCommonPrefixes(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in)
private int
SimpleTextBKDReader. readCompressedDim(IndexInput in)
(package private) int
SimpleTextBKDReader. readDocIDs(IndexInput in, long blockFP, int[] docIDs)
private java.util.TreeMap<java.lang.String,java.lang.Long>
SimpleTextFieldsReader. readFields(IndexInput in)
private void
SimpleTextBKDReader. readLine(IndexInput in, BytesRefBuilder scratch)
private void
SimpleTextPointsReader. readLine(IndexInput in)
private void
SimpleTextBKDReader. visitCompressedDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, int[] docIDs, int count, PointValues.IntersectVisitor visitor, int compressedDim)
(package private) void
SimpleTextBKDReader. visitDocIDs(IndexInput in, long blockFP, PointValues.IntersectVisitor visitor)
(package private) void
SimpleTextBKDReader. 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 IndexInput Constructor Description IntersectState(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)
SimpleTextStoredFieldsReader(long[] offsets, IndexInput in, FieldInfos fieldInfos)
SimpleTextTermVectorsReader(long[] offsets, IndexInput in)
-
Uses of IndexInput in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as IndexInput Modifier and Type Field Description protected IndexInput
BlockReader. blockInput
IndexInput
on theblock file
.protected IndexInput
UniformSplitTerms. blockInput
protected IndexInput
UniformSplitTermsReader. blockInput
protected IndexInput
FSTDictionary.BrowserSupplier. dictionaryInput
protected IndexInput
UniformSplitTermsReader. dictionaryInput
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type IndexInput Modifier and Type Method Description protected IndexDictionary.BrowserSupplier
UniformSplitTermsReader. createDictionaryBrowserSupplier(SegmentReadState state, IndexInput dictionaryInput, FieldMetadata fieldMetadata, BlockDecoder blockDecoder, boolean dictionaryOnHeap)
protected void
UniformSplitTermsReader. fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, java.util.Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos)
protected java.util.Collection<FieldMetadata>
UniformSplitTermsReader. readFieldsMetadata(IndexInput indexInput, BlockDecoder blockDecoder, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs)
protected void
UniformSplitTermsReader. seekFieldsMetadata(IndexInput indexInput)
Positions the givenIndexInput
at the beginning of the fields metadata.Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type IndexInput Constructor Description BlockReader(IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder)
BrowserSupplier(IndexInput dictionaryInput, long dictionaryStartFP, BlockDecoder blockDecoder, boolean isFSTOnHeap)
IntersectBlockReader(CompiledAutomaton compiled, BytesRef startTerm, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder)
UniformSplitTerms(IndexInput blockInput, FieldMetadata fieldMetadata, PostingsReaderBase postingsReader, BlockDecoder blockDecoder, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier)
-
Uses of IndexInput in org.apache.lucene.codecs.uniformsplit.sharedterms
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type IndexInput Modifier and Type Method Description protected void
STUniformSplitTermsReader. fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, java.util.Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos)
-
Uses of IndexInput in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IndexInput Modifier and Type Field Description (package private) IndexInput
PrefixCodedTerms.TermIterator. input
Methods in org.apache.lucene.index that return IndexInput Modifier and Type Method Description IndexInput
TrackingTmpOutputDirectoryWrapper. openInput(java.lang.String name, IOContext context)
-
Uses of IndexInput in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as IndexInput Modifier and Type Field Description private IndexInput
CompletionFieldsProducer. dictIn
private IndexInput
CompletionsTermsReader. dictIn
Methods in org.apache.lucene.search.suggest.document with parameters of type IndexInput Modifier and Type Method Description static NRTSuggester
NRTSuggester. load(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode)
private static boolean
NRTSuggester. shouldLoadFSTOffHeap(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode)
Constructors in org.apache.lucene.search.suggest.document with parameters of type IndexInput Constructor Description 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 indexdictIn
withoffset
-
Uses of IndexInput in org.apache.lucene.store
Subclasses of IndexInput in org.apache.lucene.store Modifier and Type Class Description class
BufferedChecksumIndexInput
Simple implementation ofChecksumIndexInput
that wraps another input and delegates calls.class
BufferedIndexInput
Base implementation class for bufferedIndexInput
.private static class
BufferedIndexInput.SlicedIndexInput
Implementation of an IndexInput that reads from a portion of a file.class
ByteBufferIndexInput
Base IndexInput implementation that uses an array of ByteBuffers to represent a file.(package private) static class
ByteBufferIndexInput.MultiBufferImpl
This class adds offset support to ByteBufferIndexInput, which is needed for slices.(package private) static class
ByteBufferIndexInput.SingleBufferImpl
Optimization of ByteBufferIndexInput for when there is only one bufferclass
ByteBuffersIndexInput
class
ChecksumIndexInput
Extension of IndexInput, computing checksum as it goes.private static class
NativeUnixDirectory.NativeUnixIndexInput
(package private) static class
NIOFSDirectory.NIOFSIndexInput
Reads bytes withFileChannel.read(ByteBuffer, long)
(package private) static class
RAFDirectory.RAFIndexInput
Reads bytes withRandomAccessFile.seek(long)
followed byRandomAccessFile.read(byte[], int, int)
.class
RAMInputStream
Deprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory
.(package private) static class
SimpleFSDirectory.SimpleFSIndexInput
Deprecated.Reads bytes withSeekableByteChannel.read(ByteBuffer)
(package private) static class
WindowsDirectory.WindowsIndexInput
Fields in org.apache.lucene.store declared as IndexInput Modifier and Type Field Description (package private) IndexInput
BufferedIndexInput.SlicedIndexInput. base
private IndexInput
ByteBuffersDirectory.FileEntry. content
(package private) IndexInput
BufferedChecksumIndexInput. main
Fields in org.apache.lucene.store with type parameters of type IndexInput Modifier and Type Field Description static java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>
ByteBuffersDirectory. OUTPUT_AS_BYTE_ARRAY
static java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>
ByteBuffersDirectory. OUTPUT_AS_MANY_BUFFERS
static java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>
ByteBuffersDirectory. OUTPUT_AS_MANY_BUFFERS_LUCENE
static java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>
ByteBuffersDirectory. OUTPUT_AS_ONE_BUFFER
private java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>
ByteBuffersDirectory. outputToInput
Conversion between a buffered index output and the corresponding index input for a given file.Methods in org.apache.lucene.store that return IndexInput Modifier and Type Method Description IndexInput
BufferedChecksumIndexInput. clone()
IndexInput
ByteBuffersIndexInput. clone()
IndexInput
IndexInput. clone()
Returns a clone of this stream.IndexInput
ByteBuffersDirectory.FileEntry. openInput()
IndexInput
ByteBuffersDirectory. openInput(java.lang.String name, IOContext context)
abstract IndexInput
Directory. openInput(java.lang.String name, IOContext context)
Opens a stream for reading an existing file.IndexInput
FileSwitchDirectory. openInput(java.lang.String name, IOContext context)
IndexInput
FilterDirectory. openInput(java.lang.String name, IOContext context)
IndexInput
MMapDirectory. openInput(java.lang.String name, IOContext context)
Creates an IndexInput for the file with the given name.IndexInput
NativeUnixDirectory. openInput(java.lang.String name, IOContext context)
IndexInput
NIOFSDirectory. openInput(java.lang.String name, IOContext context)
IndexInput
NRTCachingDirectory. openInput(java.lang.String name, IOContext context)
IndexInput
RAFDirectory. openInput(java.lang.String name, IOContext context)
Creates an IndexInput for the file with the given name.IndexInput
RAMDirectory. openInput(java.lang.String name, IOContext context)
Deprecated.Returns a stream reading an existing file.IndexInput
SimpleFSDirectory. openInput(java.lang.String name, IOContext context)
Deprecated.Creates an IndexInput for the file with the given name.IndexInput
WindowsDirectory. openInput(java.lang.String name, IOContext context)
IndexInput
BufferedChecksumIndexInput. slice(java.lang.String sliceDescription, long offset, long length)
IndexInput
BufferedIndexInput. slice(java.lang.String sliceDescription, long offset, long length)
abstract IndexInput
IndexInput. slice(java.lang.String sliceDescription, long offset, long length)
Creates a slice of this index input, with the given description, offset, and length.IndexInput
NativeUnixDirectory.NativeUnixIndexInput. slice(java.lang.String sliceDescription, long offset, long length)
IndexInput
NIOFSDirectory.NIOFSIndexInput. slice(java.lang.String sliceDescription, long offset, long length)
IndexInput
RAFDirectory.RAFIndexInput. slice(java.lang.String sliceDescription, long offset, long length)
IndexInput
RAMInputStream. slice(java.lang.String sliceDescription, long offset, long sliceLength)
Deprecated.IndexInput
SimpleFSDirectory.SimpleFSIndexInput. slice(java.lang.String sliceDescription, long offset, long length)
Methods in org.apache.lucene.store with parameters of type IndexInput Modifier and Type Method Description static BufferedIndexInput
BufferedIndexInput. wrap(java.lang.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 IndexInput Modifier and Type Method Description (package private) IndexOutput
ByteBuffersDirectory.FileEntry. createOutput(java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput> outputToInput)
Constructors in org.apache.lucene.store with parameters of type IndexInput Constructor Description BufferedChecksumIndexInput(IndexInput main)
Creates a new BufferedChecksumIndexInputSlicedIndexInput(java.lang.String sliceDescription, IndexInput base, long offset, long length)
Constructor parameters in org.apache.lucene.store with type arguments of type IndexInput Constructor Description ByteBuffersDirectory(LockFactory factory, java.util.function.Supplier<ByteBuffersDataOutput> bbOutputSupplier, java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput> outputToInput)
-
Uses of IndexInput in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type IndexInput Modifier and Type Method Description void
PagedBytes. 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 IndexInput Modifier and Type Field Description (package private) IndexInput
BKDReader. in
private IndexInput
BKDReader.IndexTree. in
(package private) IndexInput
BKDReader.IntersectState. in
(package private) IndexInput
OfflinePointReader. in
(package private) IndexInput
BKDReader. packedIndex
Methods in org.apache.lucene.util.bkd with parameters of type IndexInput Modifier and Type Method Description private void
BKDReader. readCommonPrefixes(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in)
private int
BKDReader. readCompressedDim(IndexInput in)
private static void
DocIdsWriter. readDeltaVInts(IndexInput in, int count, int[] docIDs)
private static void
DocIdsWriter. readDeltaVInts(IndexInput in, int count, PointValues.IntersectVisitor visitor)
(package private) int
BKDReader. readDocIDs(IndexInput in, long blockFP, BKDReader.BKDReaderDocIDSetIterator iterator)
(package private) static void
DocIdsWriter. readInts(IndexInput in, int count, int[] docIDs)
Readcount
integers intodocIDs
.(package private) static void
DocIdsWriter. readInts(IndexInput in, int count, PointValues.IntersectVisitor visitor)
Readcount
integers and feed the result directly toPointValues.IntersectVisitor.visit(int)
.private static void
DocIdsWriter. readInts24(IndexInput in, int count, int[] docIDs)
private static void
DocIdsWriter. readInts24(IndexInput in, int count, PointValues.IntersectVisitor visitor)
(package private) static <T> void
DocIdsWriter. readInts32(IndexInput in, int count, int[] docIDs)
private static void
DocIdsWriter. readInts32(IndexInput in, int count, PointValues.IntersectVisitor visitor)
private void
BKDReader. readMinMax(int[] commonPrefixLengths, byte[] minPackedValue, byte[] maxPackedValue, IndexInput in)
private void
BKDReader. visitCompressedDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor, int compressedDim)
private void
BKDReader. visitDocIDs(IndexInput in, long blockFP, PointValues.IntersectVisitor visitor)
(package private) void
BKDReader. visitDocValues(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)
(package private) void
BKDReader. visitDocValuesNoCardinality(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)
(package private) void
BKDReader. visitDocValuesWithCardinality(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)
private void
BKDReader. 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 IndexInput Constructor Description BKDReader(IndexInput metaIn, IndexInput indexIn, IndexInput dataIn)
Caller must pre-seek the providedIndexInput
to the index location thatBKDWriter.finish(org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput)
returned.IndexTree(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 Modifier and Type Field Description private IndexInput
OffHeapFSTStore. in
-
Uses of IndexInput in org.apache.lucene.util.packed
Fields in org.apache.lucene.util.packed declared as IndexInput Modifier and Type Field Description private IndexInput
DirectPacked64SingleBlockReader. in
(package private) IndexInput
DirectPackedReader. in
Methods in org.apache.lucene.util.packed with parameters of type IndexInput Modifier and Type Method Description static PackedInts.Reader
PackedInts. getDirectReader(IndexInput in)
Construct a directPackedInts.Reader
from anIndexInput
.static PackedInts.Reader
PackedInts. getDirectReaderNoHeader(IndexInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue)
Expert: Construct a directPackedInts.Reader
from a stream without reading metadata at the beginning of the stream.static DirectMonotonicReader.Meta
DirectMonotonicReader. loadMeta(IndexInput metaIn, long numValues, int blockShift)
Load metadata from the givenIndexInput
.static MonotonicBlockPackedReader
MonotonicBlockPackedReader. of(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)
Sole constructor.Constructors in org.apache.lucene.util.packed with parameters of type IndexInput Constructor Description BlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)
Sole constructor.DirectPacked64SingleBlockReader(int bitsPerValue, int valueCount, IndexInput in)
DirectPackedReader(int bitsPerValue, int valueCount, IndexInput in)
MonotonicBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)
-