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.lucene3x Codec to support Lucene 3.x indexes (readonly)org.apache.lucene.codecs.lucene40 Lucene 4.0 file format.org.apache.lucene.codecs.lucene41 Lucene 4.1 file format.org.apache.lucene.codecs.lucene45 Lucene 4.5 file format.org.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.packed Packed integer arrays and streams. -
-
Uses of IndexInput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type IndexInput Modifier and Type Method Description abstract voidPostingsReaderBase. init(IndexInput termsIn)Performs any initialization, such as reading and verifying the header from the provided terms dictionaryIndexInput.protected intBlockTreeTermsReader. readHeader(IndexInput input)Reads terms file header.protected intBlockTreeTermsReader. readIndexHeader(IndexInput input)Reads index file header.protected abstract intMultiLevelSkipListReader. readSkipData(int level, IndexInput skipStream)Subclasses must implement the actual skip data encoding in this method.protected voidBlockTreeTermsReader. seekDir(IndexInput input, long dirOffset)Seekinputto the directory offset.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.lucene3x
Methods in org.apache.lucene.codecs.lucene3x with parameters of type IndexInput Modifier and Type Method Description static voidLucene3xSegmentInfoReader. readLegacyInfos(SegmentInfos infos, Directory directory, IndexInput input, int format)Deprecated. -
Uses of IndexInput in org.apache.lucene.codecs.lucene40
Methods in org.apache.lucene.codecs.lucene40 that return IndexInput Modifier and Type Method Description IndexInputLucene40StoredFieldsReader. rawDocs(int[] lengths, int startDocID, int numDocs)Returns the length in bytes of each raw document in a contiguous range of length numDocs starting with startDocID.Methods in org.apache.lucene.codecs.lucene40 with parameters of type IndexInput Modifier and Type Method Description voidLucene40StoredFieldsWriter. addRawDocuments(IndexInput stream, int[] lengths, int numDocs)Bulk write a contiguous series of documents.voidLucene40PostingsReader. init(IndexInput termsIn)Deprecated.protected intLucene40SkipListReader. readSkipData(int level, IndexInput skipStream)Deprecated.Constructors in org.apache.lucene.codecs.lucene40 with parameters of type IndexInput Constructor Description Lucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)Deprecated.Sole constructor. -
Uses of IndexInput in org.apache.lucene.codecs.lucene41
Methods in org.apache.lucene.codecs.lucene41 with parameters of type IndexInput Modifier and Type Method Description voidLucene41PostingsReader. init(IndexInput termsIn) -
Uses of IndexInput in org.apache.lucene.codecs.lucene45
Methods in org.apache.lucene.codecs.lucene45 with parameters of type IndexInput Modifier and Type Method Description protected MonotonicBlockPackedReaderLucene45DocValuesProducer. getAddressInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.BinaryEntry bytes)returns an address instance for variable-length binary values.protected MonotonicBlockPackedReaderLucene45DocValuesProducer. getIntervalInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.BinaryEntry bytes)returns an address instance for prefix-compressed binary values.protected MonotonicBlockPackedReaderLucene45DocValuesProducer. getOrdIndexInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.NumericEntry entry)returns an address instance for sortedset ordinal lists -
Uses of IndexInput in org.apache.lucene.store
Subclasses of IndexInput in org.apache.lucene.store Modifier and Type Class Description classBufferedIndexInputBase implementation class for bufferedIndexInput.classChecksumIndexInputReads bytes through to a primary IndexInput, computing checksum as it goes.protected static classFSDirectory.FSIndexInputBase class for reading input from a RandomAccessFileprotected static classNIOFSDirectory.NIOFSIndexInputReads bytes withFileChannel.read(ByteBuffer, long)classRAMInputStreamA memory-residentIndexInputimplementation.protected static classSimpleFSDirectory.SimpleFSIndexInputReads bytes withRandomAccessFile.seek(long)followed byRandomAccessFile.read(byte[], int, int).Methods in org.apache.lucene.store that return IndexInput Modifier and Type Method Description IndexInputIndexInput. clone()Returns a clone of this stream.abstract IndexInputDirectory.IndexInputSlicer. openFullSlice()Deprecated.Only for reading CFS files from 3.x indexes.IndexInputCompoundFileDirectory. openInput(String name, IOContext context)abstract IndexInputDirectory. openInput(String name, IOContext context)Returns a stream reading an existing file, with the specified read buffer size.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)Creates an IndexInput for the file with the given name.IndexInputNRTCachingDirectory. openInput(String name, IOContext context)IndexInputRAMDirectory. openInput(String name, IOContext context)Returns a stream reading an existing file.IndexInputSimpleFSDirectory. openInput(String name, IOContext context)Creates an IndexInput for the file with the given name.abstract IndexInputDirectory.IndexInputSlicer. openSlice(String sliceDescription, long offset, long length)Returns anIndexInputslice starting at the given offset with the given length.Constructors in org.apache.lucene.store with parameters of type IndexInput Constructor Description ChecksumIndexInput(IndexInput main) -
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.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 PackedInts.ReaderPackedInts. getDirectReaderNoHeader(IndexInput in, PackedInts.Header header)Expert: Construct a directPackedInts.Readerfrom anIndexInputwithout reading metadata at the beginning of the stream.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.MonotonicBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)Sole constructor.
-