Uses of Class
org.apache.lucene.store.DataInput
Packages that use DataInput
Package
Description
Kuromoji dictionary implementation.
Korean dictionary implementation.
Compressing helper classes.
BlockTree terms dictionary.
Lucene 5.0 file format.
Lucene 5.0 compressing format.
Components from the Lucene 7.0 index format.
Lucene 8.4 file format.
Lucene 8.6 file format.
Lucene 8.7 file format.
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.4 file format.
Legacy PackedInts methods
store helper
Codecs API: API for customization of the encoding and structure of the index.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
Compressing helper classes.
Lucene 9.0 file format.
BlockTree terms dictionary.
Lucene 9.0 compressing format.
Lucene 9.5 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.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
Misc Directory implementations.
Misc FST classes.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
Code to search indices.
Support for Autocomplete/Autosuggest
Analyzer based autosuggest.
Finite-state based autosuggest.
Ternary Search Tree based autosuggest.
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.analysis.ja.dict
Methods in org.apache.lucene.analysis.ja.dict with parameters of type DataInputModifier and TypeMethodDescriptionprivate static void
BinaryDictionary.populatePosDict
(DataInput in, int posSize, String[] posDict, String[] inflTypeDict, String[] inflFormDict) private static void
BinaryDictionary.populateTargetMap
(DataInput in, int[] targetMap, int[] targetMapOffsets) -
Uses of DataInput in org.apache.lucene.analysis.ko.dict
Methods in org.apache.lucene.analysis.ko.dict with parameters of type DataInputModifier and TypeMethodDescriptionprivate static void
BinaryDictionary.populateTargetMap
(DataInput in, int[] targetMap, int[] targetMapOffsets) -
Uses of DataInput in org.apache.lucene.backward_codecs.compressing
Methods in org.apache.lucene.backward_codecs.compressing with parameters of type DataInputModifier and TypeMethodDescriptionvoid
CompressionMode.DeflateDecompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) abstract void
Decompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) Decompress bytes that were stored between offsetsoffset
andoffset+length
in the original stream from the compressed streamin
tobytes
. -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene40.blocktree
Methods in org.apache.lucene.backward_codecs.lucene40.blocktree with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataInputModifier and TypeMethodDescriptionvoid
Lucene50PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) Constructors in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene50.compressing
Fields in org.apache.lucene.backward_codecs.lucene50.compressing declared as DataInputModifier and TypeFieldDescription(package private) final DataInput
Lucene50CompressingStoredFieldsReader.SerializedDocument.in
Methods in org.apache.lucene.backward_codecs.lucene50.compressing with parameters of type DataInputModifier and TypeMethodDescriptionprivate static void
Lucene50CompressingStoredFieldsReader.readField
(DataInput in, StoredFieldVisitor visitor, FieldInfo info, int bits) (package private) static long
Reads a long in a variable-length format.(package private) static double
Lucene50CompressingStoredFieldsReader.readZDouble
(DataInput in) Reads a double in a variable-length format.(package private) static float
Lucene50CompressingStoredFieldsReader.readZFloat
(DataInput in) Reads a float in a variable-length format.private static void
Constructors in org.apache.lucene.backward_codecs.lucene50.compressing with parameters of type DataInputModifierConstructorDescriptionprivate
SerializedDocument
(DataInput in, int length, int numStoredFields) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene70
Methods in org.apache.lucene.backward_codecs.lucene70 with parameters of type DataInputModifier and TypeMethodDescriptionprivate SegmentInfo
Lucene70SegmentInfoFormat.parseSegmentInfo
(Directory dir, DataInput input, String segment, byte[] segmentID) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene84
Methods in org.apache.lucene.backward_codecs.lucene84 with parameters of type DataInputModifier and TypeMethodDescription(package private) void
Decode 128 integers intolongs
.(package private) void
Decode 128 integers intoints
.private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
(package private) void
ForDeltaUtil.decodeAndPrefixSum
(DataInput in, long base, long[] longs) Decode deltas, compute the prefix sum and addbase
to all decoded longs.(package private) void
ForUtil.decodeAndPrefixSum
(int bitsPerValue, DataInput in, long base, long[] longs) Delta-decode 128 integers intolongs
.private static void
ForUtil.decodeSlow
(int bitsPerValue, DataInput in, long[] tmp, long[] longs) void
Lucene84PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) private static void
ForUtil.readLELongs
(DataInput in, long[] dst, int offset, int length) (package private) void
Skip a sequence of 128 longs.(package private) void
Skip 128 integers. -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene86
Methods in org.apache.lucene.backward_codecs.lucene86 with parameters of type DataInputModifier and TypeMethodDescriptionprivate SegmentInfo
Lucene86SegmentInfoFormat.parseSegmentInfo
(Directory dir, DataInput input, String segment, byte[] segmentID) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene87
Methods in org.apache.lucene.backward_codecs.lucene87 with parameters of type DataInputModifier and TypeMethodDescriptionvoid
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictDecompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) void
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictDecompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) private void
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictDecompressor.doDecompress
(DataInput in, Inflater decompressor, BytesRef bytes) private int
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictDecompressor.readCompressedLengths
(DataInput in, int originalLength, int dictLength, int blockLength) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type DataInputModifier and TypeMethodDescriptionprivate VectorSimilarityFunction
Lucene90HnswVectorsReader.readSimilarityFunction
(DataInput input) Constructors in org.apache.lucene.backward_codecs.lucene90 with parameters of type DataInputModifierConstructorDescription(package private)
FieldEntry
(DataInput input, VectorSimilarityFunction similarityFunction) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene91
Methods in org.apache.lucene.backward_codecs.lucene91 with parameters of type DataInputModifier and TypeMethodDescriptionprivate VectorSimilarityFunction
Lucene91HnswVectorsReader.readSimilarityFunction
(DataInput input) Constructors in org.apache.lucene.backward_codecs.lucene91 with parameters of type DataInputModifierConstructorDescription(package private)
FieldEntry
(DataInput input, VectorSimilarityFunction similarityFunction) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene92
Methods in org.apache.lucene.backward_codecs.lucene92 with parameters of type DataInputModifier and TypeMethodDescriptionprivate VectorSimilarityFunction
Lucene92HnswVectorsReader.readSimilarityFunction
(DataInput input) -
Uses of DataInput in org.apache.lucene.backward_codecs.lucene94
Methods in org.apache.lucene.backward_codecs.lucene94 with parameters of type DataInputModifier and TypeMethodDescriptionprivate VectorSimilarityFunction
Lucene94HnswVectorsReader.readSimilarityFunction
(DataInput input) private VectorEncoding
Lucene94HnswVectorsReader.readVectorEncoding
(DataInput input) -
Uses of DataInput in org.apache.lucene.backward_codecs.packed
Methods in org.apache.lucene.backward_codecs.packed with parameters of type DataInputModifier and TypeMethodDescriptionstatic LegacyPacked64SingleBlock
static PackedInts.Reader
LegacyPackedInts.getReaderNoHeader
(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue) Expert: Restore aPackedInts.Reader
from a stream without reading metadata at the beginning of the stream.Constructors in org.apache.lucene.backward_codecs.packed with parameters of type DataInputModifierConstructorDescriptionLegacyPacked64
(int packedIntsVersion, DataInput in, int valueCount, int bitsPerValue) Creates an array with content retrieved from the given DataInput. -
Uses of DataInput in org.apache.lucene.backward_codecs.store
Subclasses of DataInput in org.apache.lucene.backward_codecs.storeModifier and TypeClassDescription(package private) final class
AChecksumIndexInput
wrapper that changes the endianness of the provided index output.(package private) class
(package private) final class
AIndexInput
wrapper that changes the endianness of the provided index input.Fields in org.apache.lucene.backward_codecs.store declared as DataInputModifier and TypeFieldDescription(package private) final DataInput
EndiannessReverserDataInput.in
Methods in org.apache.lucene.backward_codecs.store that return DataInputModifier and TypeMethodDescriptionstatic DataInput
EndiannessReverserUtil.wrapDataInput
(DataInput dataInput) wraps a data inputMethods in org.apache.lucene.backward_codecs.store with parameters of type DataInputModifier and TypeMethodDescriptionvoid
void
static DataInput
EndiannessReverserUtil.wrapDataInput
(DataInput dataInput) wraps a data inputConstructors in org.apache.lucene.backward_codecs.store with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type DataInputModifier and TypeMethodDescriptionvoid
Called by IndexWriter when writing new segments.static int
CodecUtil.checkHeader
(DataInput in, String codec, int minVersion, int maxVersion) Reads and validates a header previously written withCodecUtil.writeHeader(DataOutput, String, int)
.static int
CodecUtil.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 int
CodecUtil.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 String
CodecUtil.checkIndexHeaderSuffix
(DataInput in, String expectedSuffix) Expert: just reads and verifies the suffix of an index headerabstract void
PostingsReaderBase.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Actually decode metadata for next termstatic int
read int value from header / footer with big endian orderstatic long
CodecUtil.readBELong
(DataInput in) read long value from header / footer with big endian order -
Uses of DataInput in org.apache.lucene.codecs.blocktreeords
Methods in org.apache.lucene.codecs.blocktreeords with parameters of type DataInputModifier and TypeMethodDescriptionvoid
FSTOrdsOutputs.skipFinalOutput
(DataInput in) void
FSTOrdsOutputs.skipOutput
(DataInput in) -
Uses of DataInput in org.apache.lucene.codecs.bloom
Methods in org.apache.lucene.codecs.bloom with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type DataInputModifier and TypeMethodDescriptionvoid
CompressionMode.DeflateDecompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) abstract void
Decompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) Decompress bytes that were stored between offsetsoffset
andoffset+length
in the original stream from the compressed streamin
tobytes
. -
Uses of DataInput in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 with parameters of type DataInputModifier and TypeMethodDescriptionprivate void
PForUtil.applyExceptions32
(int bitsPerValue, int numExceptions, DataInput in, long[] longs) Apply the exceptions where the values are packed two-per-long inlongs
.(package private) void
Decode 128 integers intolongs
.(package private) void
Decode 128 integers intoints
.private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
private static void
(package private) void
PForUtil.decodeAndPrefixSum
(DataInput in, long base, long[] longs) Decode deltas, compute the prefix sum and addbase
to all decoded longs.private static void
ForUtil.decodeSlow
(int bitsPerValue, DataInput in, long[] tmp, long[] longs) void
Lucene90PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) (package private) void
ForUtil.decodeTo32
(int bitsPerValue, DataInput in, long[] longs) Decodes 128 integers into 64longs
such that each long contains two values, each represented with 32 bits.void
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictDecompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) void
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictDecompressor.decompress
(DataInput in, int originalLength, int offset, int length, BytesRef bytes) private void
DeflateWithPresetDictCompressionMode.DeflateWithPresetDictDecompressor.doDecompress
(DataInput in, Inflater decompressor, BytesRef bytes) private SegmentInfo
Lucene90SegmentInfoFormat.parseSegmentInfo
(Directory dir, DataInput input, String segment, byte[] segmentID) private int
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictDecompressor.readCompressedLengths
(DataInput in, int originalLength, int dictLength, int blockLength) (package private) void
Skip 128 integers. -
Uses of DataInput in org.apache.lucene.codecs.lucene90.blocktree
Methods in org.apache.lucene.codecs.lucene90.blocktree with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.codecs.lucene90.compressing
Fields in org.apache.lucene.codecs.lucene90.compressing declared as DataInputModifier and TypeFieldDescription(package private) final DataInput
Lucene90CompressingStoredFieldsReader.SerializedDocument.in
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataInputModifier and TypeMethodDescriptionvoid
private static void
Lucene90CompressingStoredFieldsReader.readField
(DataInput in, StoredFieldVisitor visitor, FieldInfo info, int bits) (package private) static long
Reads a long in a variable-length format.(package private) static double
Lucene90CompressingStoredFieldsReader.readZDouble
(DataInput in) Reads a double in a variable-length format.(package private) static float
Lucene90CompressingStoredFieldsReader.readZFloat
(DataInput in) Reads a float in a variable-length format.private static void
Constructors in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataInputModifierConstructorDescriptionprivate
SerializedDocument
(DataInput in, int length, int numStoredFields) -
Uses of DataInput in org.apache.lucene.codecs.lucene95
Methods in org.apache.lucene.codecs.lucene95 with parameters of type DataInputModifier and TypeMethodDescriptionprivate VectorSimilarityFunction
Lucene95HnswVectorsReader.readSimilarityFunction
(DataInput input) private VectorEncoding
Lucene95HnswVectorsReader.readVectorEncoding
(DataInput input) -
Uses of DataInput in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext with parameters of type DataInputModifier and TypeMethodDescriptionstatic void
SimpleTextUtil.readLine
(DataInput in, BytesRefBuilder scratch) -
Uses of DataInput in org.apache.lucene.codecs.uniformsplit
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type DataInputModifier and TypeMethodDescriptionDecodes all the bytes of one block in a single operation.Encodes all the bytes of one block in a single operation.BlockHeader.Serializer.read
(DataInput input, BlockHeader reuse) FieldMetadata.Serializer.read
(DataInput input, FieldInfos fieldInfos, int maxNumDocs) protected static FSTDictionary
FSTDictionary.read
(DataInput input, BlockDecoder blockDecoder, boolean isFSTOnHeap) Reads aFSTDictionary
from the provided input.protected void
protected Collection<FieldMetadata>
UniformSplitTermsReader.readEncodedFieldsMetadata
(int numFields, DataInput metadataInput, BlockDecoder blockDecoder, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs) protected TermBytes
BlockLine.Serializer.readIncrementallyEncodedTerm
(DataInput blockInput, boolean isIncrementalEncodingSeed, TermBytes reuse) BlockLine.Serializer.readLine
(DataInput blockInput, boolean isIncrementalEncodingSeed, BlockLine reuse) Reads the current line.DeltaBaseTermStateSerializer.readTermState
(long baseDocStartFP, long basePosStartFP, long basePayStartFP, DataInput termStatesInput, FieldInfo fieldInfo, BlockTermState reuse) Reads aBlockTermState
from the providedDataInput
.protected Collection<FieldMetadata>
UniformSplitTermsReader.readUnencodedFieldsMetadata
(int numFields, DataInput metadataInput, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs) -
Uses of DataInput in org.apache.lucene.document
Subclasses of DataInput in org.apache.lucene.documentModifier and TypeClassDescriptionprivate static final class
Reads values from a ShapeDocValues Field -
Uses of DataInput in org.apache.lucene.index
Subclasses of DataInput in org.apache.lucene.indexFields in org.apache.lucene.index declared as DataInputModifier and TypeFieldDescription(package private) final DataInput
BinaryDocValuesWriter.BufferedBinaryDocValues.bytesIterator
Methods in org.apache.lucene.index with parameters of type DataInputModifier and TypeMethodDescriptionprivate static void
SegmentInfos.parseSegmentInfos
(Directory directory, DataInput input, SegmentInfos infos, int format) private static Codec
(package private) static BytesRef
(package private) static long
abstract SortField
SortFieldProvider.readSortField
(DataInput in) Reads a SortField from serialized bytesConstructors in org.apache.lucene.index with parameters of type DataInputModifierConstructorDescription(package private)
BufferedBinaryDocValues
(PackedLongValues lengths, int maxLength, DataInput bytesIterator, DocIdSetIterator docsWithFields) CorruptIndexException
(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 anIndexFormatTooNewException
IndexFormatTooOldException
(DataInput in, int version, int minVersion, int maxVersion) Creates anIndexFormatTooOldException
.IndexFormatTooOldException
(DataInput in, String reason) Creates anIndexFormatTooOldException
. -
Uses of DataInput in org.apache.lucene.misc.store
Subclasses of DataInput in org.apache.lucene.misc.storeModifier and TypeClassDescriptionprivate static final class
(package private) static final class
Reads bytes withRandomAccessFile.seek(long)
followed byRandomAccessFile.read(byte[], int, int)
. -
Uses of DataInput in org.apache.lucene.misc.util.fst
Methods in org.apache.lucene.misc.util.fst with parameters of type DataInputModifier and TypeMethodDescriptionListOfOutputs.readFinalOutput
(DataInput in) void
ListOfOutputs.skipFinalOutput
(DataInput in) void
ListOfOutputs.skipOutput
(DataInput in) -
Uses of DataInput in org.apache.lucene.sandbox.codecs.idversion
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type DataInputModifier and TypeMethodDescriptionvoid
IDVersionPostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) -
Uses of DataInput in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type DataInputModifier and TypeMethodDescriptionprivate static SortedNumericSelector.Type
SortedNumericSortField.readSelectorType
(DataInput in) private static SortedSetSelector.Type
SortedSetSortField.readSelectorType
(DataInput in) SortedNumericSortField.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.search.suggest
Methods in org.apache.lucene.search.suggest with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.search.suggest.fst
Methods in org.apache.lucene.search.suggest.fst with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.search.suggest.tst
Methods in org.apache.lucene.search.suggest.tst with parameters of type DataInputModifier and TypeMethodDescriptionboolean
private void
TSTLookup.readRecursively
(DataInput in, TernaryTreeNode node) -
Uses of DataInput in org.apache.lucene.store
Subclasses of DataInput in org.apache.lucene.storeModifier and TypeClassDescriptionclass
Simple implementation ofChecksumIndexInput
that wraps another input and delegates calls.class
Base implementation class for bufferedIndexInput
.private static final class
Implementation of an IndexInput that reads from a portion of a file.final class
DataInput backed by a byte array.class
Base IndexInput implementation that uses an array of ByteBuffers to represent a file.(package private) static final class
This class adds offset support to ByteBufferIndexInput, which is needed for slices.(package private) static final class
Optimization of ByteBufferIndexInput for when there is only one bufferfinal class
final class
class
Extension of IndexInput, computing checksum as it goes.class
Abstract base class for input from a file in aDirectory
.class
ADataInput
wrapping a plainInputStream
.(package private) static final class
Reads bytes withFileChannel.read(ByteBuffer, long)
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 class
Input 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 void
LowercaseAsciiCompression.decompress
(DataInput in, byte[] out, int len) Decompress data that has been compressed withLowercaseAsciiCompression.compress(byte[], int, byte[], DataOutput)
.static int
LZ4.decompress
(DataInput compressed, int decompressedLen, byte[] dest, int dOff) Decompress at leastdecompressedLen
bytes intodest[dOff:]
. -
Uses of DataInput in org.apache.lucene.util.fst
Subclasses of DataInput in org.apache.lucene.util.fstModifier and TypeClassDescription(package private) final class
Reads from a single byte[].static class
Reads bytes stored in an FST.(package private) final class
Reads in reverse from a single byte[].(package private) final class
Implements reverse read from a RandomAccessInput.Methods in org.apache.lucene.util.fst with parameters of type DataInputModifier and TypeMethodDescriptionvoid
void
void
void
abstract T
Decode an output value previously written withOutputs.write(Object, DataOutput)
.Outputs.readFinalOutput
(DataInput in) Decode an output value previously written withOutputs.writeFinalOutput(Object, DataOutput)
.int
Reads one BYTE1/2/4 label from the providedDataInput
.void
Outputs.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.void
ByteSequenceOutputs.skipOutput
(DataInput in) void
CharSequenceOutputs.skipOutput
(DataInput in) void
IntSequenceOutputs.skipOutput
(DataInput in) void
Outputs.skipOutput
(DataInput in) Skip the output; defaults to just callingOutputs.read(org.apache.lucene.store.DataInput)
and discarding the result.void
PairOutputs.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
Fields in org.apache.lucene.util.packed declared as DataInputModifier and TypeFieldDescription(package private) DataInput
BlockPackedReaderIterator.in
(package private) final DataInput
PackedDataInput.in
protected final DataInput
PackedInts.ReaderIteratorImpl.in
Methods in org.apache.lucene.util.packed with parameters of type DataInputModifier and TypeMethodDescriptionstatic PackedInts.ReaderIterator
PackedInts.getReaderIteratorNoHeader
(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue, int mem) Expert: Restore aPackedInts.ReaderIterator
from a stream without reading metadata at the beginning of the stream.(package private) static long
void
Reset the current reader to wrap a stream ofvalueCount
values 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
.(package private)
PackedReaderIterator
(PackedInts.Format format, int packedIntsVersion, int valueCount, int bitsPerValue, DataInput in, int mem) protected
ReaderIteratorImpl
(int valueCount, int bitsPerValue, DataInput in)