Uses of Class
org.apache.lucene.store.DataInput
Packages that use DataInput
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Compressing helper classes.
Lucene 9.0 file format.
Lucene 9.0 compressing format.
Code to maintain and access indices.
Code to search indices.
Binary i/o API, used for all index data.
Some utility classes.
Compression utilities.
Finite state transducers
Packed integer arrays and streams.
-
Uses of DataInput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type DataInputModifier and TypeMethodDescriptionvoidCalled by IndexWriter when writing new segments.static intCodecUtil.checkHeader(DataInput in, String codec, int minVersion, int maxVersion) Reads and validates a header previously written withCodecUtil.writeHeader(DataOutput, String, int).static intCodecUtil.checkHeaderNoMagic(DataInput in, String codec, int minVersion, int maxVersion) LikeCodecUtil.checkHeader(DataInput,String,int,int)except this version assumes the first int has already been read and validated from the input.static intCodecUtil.checkIndexHeader(DataInput in, String codec, int minVersion, int maxVersion, byte[] expectedID, String expectedSuffix) Reads and validates a header previously written withCodecUtil.writeIndexHeader(DataOutput, String, int, byte[], String).static byte[]CodecUtil.checkIndexHeaderID(DataInput in, byte[] expectedID) Expert: just reads and verifies the object ID of an index headerstatic StringCodecUtil.checkIndexHeaderSuffix(DataInput in, String expectedSuffix) Expert: just reads and verifies the suffix of an index headerabstract voidPostingsReaderBase.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Actually decode metadata for next termstatic intread int value from header / footer with big endian orderstatic longCodecUtil.readBELong(DataInput in) read long value from header / footer with big endian order -
Uses of DataInput in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type DataInputModifier and TypeMethodDescriptionabstract voidDecompressor.decompress(DataInput in, int originalLength, int offset, int length, BytesRef bytes) Decompress bytes that were stored between offsetsoffsetandoffset+lengthin the original stream from the compressed streamintobytes. -
Uses of DataInput in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 with parameters of type DataInputModifier and TypeMethodDescriptionvoidLucene90PostingsReader.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) -
Uses of DataInput in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type DataInputModifier and TypeMethodDescriptionabstract SortFieldSortFieldProvider.readSortField(DataInput in) Reads a SortField from serialized bytesConstructors in org.apache.lucene.index with parameters of type DataInputModifierConstructorDescriptionCorruptIndexException(String message, DataInput input) Create exception with a message onlyCorruptIndexException(String message, DataInput input, Throwable cause) Create exception with message and root cause.IndexFormatTooNewException(DataInput in, int version, int minVersion, int maxVersion) Creates anIndexFormatTooNewExceptionIndexFormatTooOldException(DataInput in, int version, int minVersion, int maxVersion) Creates anIndexFormatTooOldException.IndexFormatTooOldException(DataInput in, String reason) Creates anIndexFormatTooOldException. -
Uses of DataInput in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type DataInputModifier and TypeMethodDescriptionSortedNumericSortField.Provider.readSortField(DataInput in) SortedSetSortField.Provider.readSortField(DataInput in) SortField.Provider.readSortField(DataInput in) protected static SortField.Type -
Uses of DataInput in org.apache.lucene.store
Subclasses of DataInput in org.apache.lucene.storeModifier and TypeClassDescriptionclassSimple implementation ofChecksumIndexInputthat wraps another input and delegates calls.classBase implementation class for bufferedIndexInput.final classDataInput backed by a byte array.classBase IndexInput implementation that uses an array of ByteBuffers to represent a file.final classfinal classclassExtension of IndexInput, computing checksum as it goes.classAbstract base class for input from a file in aDirectory.classADataInputwrapping a plainInputStream.Methods in org.apache.lucene.store that return DataInputMethods in org.apache.lucene.store with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.util
Subclasses of DataInput in org.apache.lucene.utilModifier and TypeClassDescriptionfinal classInput that transparently iterates over pages -
Uses of DataInput in org.apache.lucene.util.compress
Methods in org.apache.lucene.util.compress with parameters of type DataInputModifier and TypeMethodDescriptionstatic voidLowercaseAsciiCompression.decompress(DataInput in, byte[] out, int len) Decompress data that has been compressed withLowercaseAsciiCompression.compress(byte[], int, byte[], DataOutput).static intLZ4.decompress(DataInput compressed, int decompressedLen, byte[] dest, int dOff) Decompress at leastdecompressedLenbytes intodest[dOff:]. -
Uses of DataInput in org.apache.lucene.util.fst
Subclasses of DataInput in org.apache.lucene.util.fstMethods in org.apache.lucene.util.fst with parameters of type DataInputModifier and TypeMethodDescriptionvoidvoidvoidabstract TDecode an output value previously written withOutputs.write(Object, DataOutput).Outputs.readFinalOutput(DataInput in) Decode an output value previously written withOutputs.writeFinalOutput(Object, DataOutput).intReads one BYTE1/2/4 label from the providedDataInput.voidOutputs.skipFinalOutput(DataInput in) Skip the output previously written withOutputs.writeFinalOutput(T, org.apache.lucene.store.DataOutput); defaults to just callingOutputs.readFinalOutput(org.apache.lucene.store.DataInput)and discarding the result.voidByteSequenceOutputs.skipOutput(DataInput in) voidCharSequenceOutputs.skipOutput(DataInput in) voidIntSequenceOutputs.skipOutput(DataInput in) voidOutputs.skipOutput(DataInput in) Skip the output; defaults to just callingOutputs.read(org.apache.lucene.store.DataInput)and discarding the result.voidPairOutputs.skipOutput(DataInput in) Constructors in org.apache.lucene.util.fst with parameters of type DataInputModifierConstructorDescriptionLoad a previously saved FST.Load a previously saved FST; maxBlockBits allows you to control the size of the byte[] pages used to hold the FST bytes. -
Uses of DataInput in org.apache.lucene.util.packed
Methods in org.apache.lucene.util.packed with parameters of type DataInputModifier and TypeMethodDescriptionstatic PackedInts.ReaderIteratorPackedInts.getReaderIteratorNoHeader(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue, int mem) Expert: Restore aPackedInts.ReaderIteratorfrom a stream without reading metadata at the beginning of the stream.voidReset the current reader to wrap a stream ofvalueCountvalues contained inin.Constructors in org.apache.lucene.util.packed with parameters of type DataInputModifierConstructorDescriptionBlockPackedReaderIterator(DataInput in, int packedIntsVersion, int blockSize, long valueCount) Sole constructor.Create a new instance that wrapsin.