Uses of Class
org.apache.lucene.store.DataInput
-
Packages that use DataInput Package Description org.apache.lucene.analysis.ja.dict Kuromoji dictionary implementation.org.apache.lucene.analysis.ko.dict Korean dictionary implementation.org.apache.lucene.backward_codecs.lucene40.blocktree BlockTree terms dictionary.org.apache.lucene.backward_codecs.lucene50 Lucene 5.0 file format.org.apache.lucene.backward_codecs.lucene50.compressing Lucene 5.0 compressing format.org.apache.lucene.backward_codecs.lucene70 Components from the Lucene 7.0 index format.org.apache.lucene.backward_codecs.lucene84 Lucene 8.4 file format.org.apache.lucene.backward_codecs.lucene86 Lucene 8.6 file format.org.apache.lucene.backward_codecs.lucene87 Lucene 8.7 file format.org.apache.lucene.backward_codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.backward_codecs.lucene91 Lucene 9.1 file format.org.apache.lucene.backward_codecs.packed Legacy PackedInts methodsorg.apache.lucene.backward_codecs.store store helperorg.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.bloom Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.org.apache.lucene.codecs.compressing Compressing helper classes.org.apache.lucene.codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.codecs.lucene90.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.lucene90.compressing Lucene 9.0 compressing format.org.apache.lucene.codecs.lucene92 Lucene 9.2 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.misc.store Misc Directory implementations.org.apache.lucene.misc.util.fst Misc FST classes.org.apache.lucene.sandbox.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.search Code to search indices.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.analyzing Analyzer based autosuggest.org.apache.lucene.search.suggest.fst Finite-state based autosuggest.org.apache.lucene.search.suggest.tst Ternary Search Tree based autosuggest.org.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.compress Compression utilities.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.packed 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 DataInput Modifier and Type Method Description private static void
BinaryDictionary. populatePosDict(DataInput in, int posSize, java.lang.String[] posDict, java.lang.String[] inflTypeDict, java.lang.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 DataInput Modifier and Type Method Description private static void
BinaryDictionary. populateTargetMap(DataInput in, int[] targetMap, int[] targetMapOffsets)
-
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 Modifier and Type Method Description (package private) abstract void
CompressionAlgorithm. read(DataInput in, byte[] out, int len)
-
Uses of DataInput in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataInput Modifier and Type Method Description void
Lucene50PostingsReader. decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)
Constructors in org.apache.lucene.backward_codecs.lucene50 with parameters of type DataInput Constructor Description ForUtil(DataInput in)
-
Uses of DataInput in org.apache.lucene.backward_codecs.lucene50.compressing
Fields in org.apache.lucene.backward_codecs.lucene50.compressing declared as DataInput Modifier and Type Field Description (package private) DataInput
Lucene50CompressingStoredFieldsReader.SerializedDocument. in
Methods in org.apache.lucene.backward_codecs.lucene50.compressing with parameters of type DataInput Modifier and Type Method Description private static void
Lucene50CompressingStoredFieldsReader. readField(DataInput in, StoredFieldVisitor visitor, FieldInfo info, int bits)
(package private) static long
Lucene50CompressingStoredFieldsReader. readTLong(DataInput in)
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
Lucene50CompressingStoredFieldsReader. skipField(DataInput in, int bits)
Constructors in org.apache.lucene.backward_codecs.lucene50.compressing with parameters of type DataInput Constructor Description 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 DataInput Modifier and Type Method Description private SegmentInfo
Lucene70SegmentInfoFormat. parseSegmentInfo(Directory dir, DataInput input, java.lang.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 DataInput Modifier and Type Method Description (package private) void
ForUtil. decode(int bitsPerValue, DataInput in, long[] longs)
Decode 128 integers intolongs
.(package private) void
PForUtil. decode(DataInput in, long[] longs)
Decode 128 integers intoints
.private static void
ForUtil. decode1(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode10(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode11(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode12(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode13(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode14(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode15(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode16(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode17(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode18(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode19(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode2(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode20(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode21(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode22(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode23(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode24(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode3(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode4(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode5(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode6(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode7(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode8(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode9(DataInput in, long[] tmp, long[] longs)
(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
ForDeltaUtil. skip(DataInput in)
Skip a sequence of 128 longs.(package private) void
PForUtil. skip(DataInput in)
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 DataInput Modifier and Type Method Description private SegmentInfo
Lucene86SegmentInfoFormat. parseSegmentInfo(Directory dir, DataInput input, java.lang.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 DataInput Modifier and Type Method Description 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, java.util.zip.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 DataInput Modifier and Type Method Description private Lucene90HnswVectorsReader.FieldEntry
Lucene90HnswVectorsReader. readField(DataInput input)
private VectorSimilarityFunction
Lucene90HnswVectorsReader. readSimilarityFunction(DataInput input)
Constructors in org.apache.lucene.backward_codecs.lucene90 with parameters of type DataInput Constructor Description 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 DataInput Modifier and Type Method Description private Lucene91HnswVectorsReader.FieldEntry
Lucene91HnswVectorsReader. readField(DataInput input)
private VectorSimilarityFunction
Lucene91HnswVectorsReader. readSimilarityFunction(DataInput input)
Constructors in org.apache.lucene.backward_codecs.lucene91 with parameters of type DataInput Constructor Description FieldEntry(DataInput input, VectorSimilarityFunction similarityFunction)
-
Uses of DataInput in org.apache.lucene.backward_codecs.packed
Methods in org.apache.lucene.backward_codecs.packed with parameters of type DataInput Modifier and Type Method Description static LegacyPacked64SingleBlock
LegacyPacked64SingleBlock. create(DataInput in, int valueCount, int bitsPerValue)
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 DataInput Constructor Description LegacyPacked64(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.store Modifier and Type Class Description (package private) class
EndiannessReverserChecksumIndexInput
AChecksumIndexInput
wrapper that changes the endianness of the provided index output.(package private) class
EndiannessReverserDataInput
(package private) class
EndiannessReverserIndexInput
AIndexInput
wrapper that changes the endianness of the provided index input.Fields in org.apache.lucene.backward_codecs.store declared as DataInput Modifier and Type Field Description (package private) DataInput
EndiannessReverserDataInput. in
Methods in org.apache.lucene.backward_codecs.store that return DataInput Modifier and Type Method Description static DataInput
EndiannessReverserUtil. wrapDataInput(DataInput dataInput)
wraps a data inputMethods in org.apache.lucene.backward_codecs.store with parameters of type DataInput Modifier and Type Method Description void
EndiannessReverserDataOutput. copyBytes(DataInput input, long numBytes)
void
EndiannessReverserIndexOutput. copyBytes(DataInput input, long numBytes)
static DataInput
EndiannessReverserUtil. wrapDataInput(DataInput dataInput)
wraps a data inputConstructors in org.apache.lucene.backward_codecs.store with parameters of type DataInput Constructor Description EndiannessReverserDataInput(DataInput in)
-
Uses of DataInput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type DataInput Modifier and Type Method Description void
TermVectorsWriter. addProx(int numProx, DataInput positions, DataInput offsets)
Called by IndexWriter when writing new segments.static int
CodecUtil. checkHeader(DataInput in, java.lang.String codec, int minVersion, int maxVersion)
Reads and validates a header previously written withCodecUtil.writeHeader(DataOutput, String, int)
.static int
CodecUtil. checkHeaderNoMagic(DataInput in, java.lang.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, java.lang.String codec, int minVersion, int maxVersion, byte[] expectedID, java.lang.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 java.lang.String
CodecUtil. checkIndexHeaderSuffix(DataInput in, java.lang.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
CodecUtil. readBEInt(DataInput in)
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 DataInput Modifier and Type Method Description FSTOrdsOutputs.Output
FSTOrdsOutputs. read(DataInput in)
void
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 Modifier and Type Method Description static FuzzySet
FuzzySet. deserialize(DataInput in)
-
Uses of DataInput in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type DataInput Modifier and Type Method Description void
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 DataInput Modifier and Type Method Description private 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
ForUtil. decode(int bitsPerValue, DataInput in, long[] longs)
Decode 128 integers intolongs
.(package private) void
PForUtil. decode(DataInput in, long[] longs)
Decode 128 integers intoints
.private static void
ForUtil. decode1(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode10(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode11(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode12(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode13(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode14(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode15(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode16(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode17(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode18(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode19(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode2(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode20(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode21(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode22(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode23(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode24(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode3(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode4(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode5(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode6(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode7(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode8(DataInput in, long[] tmp, long[] longs)
private static void
ForUtil. decode9(DataInput in, long[] tmp, long[] longs)
(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, java.util.zip.Inflater decompressor, BytesRef bytes)
private SegmentInfo
Lucene90SegmentInfoFormat. parseSegmentInfo(Directory dir, DataInput input, java.lang.String segment, byte[] segmentID)
private int
LZ4WithPresetDictCompressionMode.LZ4WithPresetDictDecompressor. readCompressedLengths(DataInput in, int originalLength, int dictLength, int blockLength)
(package private) void
PForUtil. skip(DataInput in)
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 Modifier and Type Method Description (package private) abstract void
CompressionAlgorithm. read(DataInput in, byte[] out, int len)
-
Uses of DataInput in org.apache.lucene.codecs.lucene90.compressing
Fields in org.apache.lucene.codecs.lucene90.compressing declared as DataInput Modifier and Type Field Description (package private) DataInput
Lucene90CompressingStoredFieldsReader.SerializedDocument. in
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataInput Modifier and Type Method Description void
Lucene90CompressingTermVectorsWriter. addProx(int numProx, DataInput positions, DataInput offsets)
private static void
Lucene90CompressingStoredFieldsReader. readField(DataInput in, StoredFieldVisitor visitor, FieldInfo info, int bits)
(package private) static long
Lucene90CompressingStoredFieldsReader. readTLong(DataInput in)
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
Lucene90CompressingStoredFieldsReader. skipField(DataInput in, int bits)
Constructors in org.apache.lucene.codecs.lucene90.compressing with parameters of type DataInput Constructor Description SerializedDocument(DataInput in, int length, int numStoredFields)
-
Uses of DataInput in org.apache.lucene.codecs.lucene92
Methods in org.apache.lucene.codecs.lucene92 with parameters of type DataInput Modifier and Type Method Description private VectorSimilarityFunction
Lucene92HnswVectorsReader. readSimilarityFunction(DataInput input)
-
Uses of DataInput in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type DataInput Modifier and Type Method Description FSTTermOutputs.TermData
FSTTermOutputs. read(DataInput in)
void
FSTTermOutputs. skipOutput(DataInput in)
-
Uses of DataInput in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext with parameters of type DataInput Modifier and Type Method Description static 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 DataInput Modifier and Type Method Description BytesRef
BlockDecoder. decode(DataInput blockBytes, long length)
Decodes all the bytes of one block in a single operation.BlockEncoder.WritableBytes
BlockEncoder. encode(DataInput blockBytes, long length)
Encodes all the bytes of one block in a single operation.BlockHeader
BlockHeader.Serializer. read(DataInput input, BlockHeader reuse)
FieldMetadata
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
BlockLine.Serializer. readBytes(DataInput input, BytesRef bytes, int offset, int length)
protected java.util.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
BlockLine.Serializer. readLine(DataInput blockInput, boolean isIncrementalEncodingSeed, BlockLine reuse)
Reads the current line.BlockTermState
DeltaBaseTermStateSerializer. readTermState(long baseDocStartFP, long basePosStartFP, long basePayStartFP, DataInput termStatesInput, FieldInfo fieldInfo, BlockTermState reuse)
Reads aBlockTermState
from the providedDataInput
.protected java.util.Collection<FieldMetadata>
UniformSplitTermsReader. readUnencodedFieldsMetadata(int numFields, DataInput metadataInput, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs)
-
Uses of DataInput in org.apache.lucene.codecs.uniformsplit.sharedterms
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type DataInput Modifier and Type Method Description int[]
STBlockLine.Serializer. readFieldIds(DataInput termStatesInput, int numFields)
Reads all the field ids in the current block line of the provided input.void
STBlockLine.Serializer. readFieldTermStatesMap(DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, java.util.Map<java.lang.String,BlockTermState> fieldTermStatesMap)
Reads all theBlockTermState
of all the field in the current block line of the provided input.BlockTermState
STBlockLine.Serializer. readTermStateForField(int fieldId, DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, BlockTermState reuse)
Reads a singleBlockTermState
for the provided field in the current block line of the provided input. -
Uses of DataInput in org.apache.lucene.index
Subclasses of DataInput in org.apache.lucene.index Modifier and Type Class Description (package private) class
ByteSliceReader
Fields in org.apache.lucene.index declared as DataInput Modifier and Type Field Description (package private) DataInput
BinaryDocValuesWriter.BufferedBinaryDocValues. bytesIterator
Methods in org.apache.lucene.index with parameters of type DataInput Modifier and Type Method Description private static void
SegmentInfos. parseSegmentInfos(Directory directory, DataInput input, SegmentInfos infos, int format)
private static Codec
SegmentInfos. readCodec(DataInput input)
(package private) static BytesRef
DocValuesUpdate.BinaryDocValuesUpdate. readFrom(DataInput in, BytesRef scratch)
(package private) static long
DocValuesUpdate.NumericDocValuesUpdate. readFrom(DataInput in)
abstract SortField
SortFieldProvider. readSortField(DataInput in)
Reads a SortField from serialized bytesConstructors in org.apache.lucene.index with parameters of type DataInput Constructor Description BufferedBinaryDocValues(PackedLongValues lengths, int maxLength, DataInput bytesIterator, DocIdSetIterator docsWithFields)
CorruptIndexException(java.lang.String message, DataInput input)
Create exception with a message onlyCorruptIndexException(java.lang.String message, DataInput input, java.lang.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, java.lang.String reason)
Creates anIndexFormatTooOldException
. -
Uses of DataInput in org.apache.lucene.misc.store
Subclasses of DataInput in org.apache.lucene.misc.store Modifier and Type Class Description private static class
DirectIODirectory.DirectIOIndexInput
(package private) static class
RAFDirectory.RAFIndexInput
Reads bytes withRandomAccessFile.seek(long)
followed byRandomAccessFile.read(byte[], int, int)
.(package private) static class
WindowsDirectory.WindowsIndexInput
-
Uses of DataInput in org.apache.lucene.misc.util.fst
Methods in org.apache.lucene.misc.util.fst with parameters of type DataInput Modifier and Type Method Description java.lang.Object
ListOfOutputs. read(DataInput in)
java.lang.Object
UpToTwoPositiveIntOutputs. read(DataInput in)
java.lang.Object
ListOfOutputs. 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 DataInput Modifier and Type Method Description void
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 DataInput Modifier and Type Method Description private static SortedNumericSelector.Type
SortedNumericSortField. readSelectorType(DataInput in)
private static SortedSetSelector.Type
SortedSetSortField. readSelectorType(DataInput in)
SortField
SortedNumericSortField.Provider. readSortField(DataInput in)
SortField
SortedSetSortField.Provider. readSortField(DataInput in)
SortField
SortField.Provider. readSortField(DataInput in)
protected static SortField.Type
SortField. readType(DataInput in)
-
Uses of DataInput in org.apache.lucene.search.suggest
Methods in org.apache.lucene.search.suggest with parameters of type DataInput Modifier and Type Method Description abstract boolean
Lookup. load(DataInput input)
Discard current lookup data and load it from a previously saved copy. -
Uses of DataInput in org.apache.lucene.search.suggest.analyzing
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type DataInput Modifier and Type Method Description boolean
AnalyzingInfixSuggester. load(DataInput out)
boolean
AnalyzingSuggester. load(DataInput input)
boolean
FreeTextSuggester. load(DataInput input)
-
Uses of DataInput in org.apache.lucene.search.suggest.fst
Methods in org.apache.lucene.search.suggest.fst with parameters of type DataInput Modifier and Type Method Description boolean
FSTCompletionLookup. load(DataInput input)
boolean
WFSTCompletionLookup. load(DataInput input)
-
Uses of DataInput in org.apache.lucene.search.suggest.tst
Methods in org.apache.lucene.search.suggest.tst with parameters of type DataInput Modifier and Type Method Description boolean
TSTLookup. load(DataInput input)
private void
TSTLookup. readRecursively(DataInput in, TernaryTreeNode node)
-
Uses of DataInput in org.apache.lucene.store
Subclasses of DataInput 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
ByteArrayDataInput
DataInput backed by a byte array.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
ByteBuffersDataInput
class
ByteBuffersIndexInput
class
ChecksumIndexInput
Extension of IndexInput, computing checksum as it goes.class
IndexInput
Abstract base class for input from a file in aDirectory
.class
InputStreamDataInput
ADataInput
wrapping a plainInputStream
.(package private) static class
NIOFSDirectory.NIOFSIndexInput
Reads bytes withFileChannel.read(ByteBuffer, long)
Methods in org.apache.lucene.store that return DataInput Modifier and Type Method Description DataInput
DataInput. clone()
Returns a clone of this stream.Methods in org.apache.lucene.store with parameters of type DataInput Modifier and Type Method Description void
ByteBuffersIndexOutput. copyBytes(DataInput input, long numBytes)
void
DataOutput. copyBytes(DataInput input, long numBytes)
Copy numBytes bytes from input to ourself. -
Uses of DataInput in org.apache.lucene.util
Subclasses of DataInput in org.apache.lucene.util Modifier and Type Class Description class
PagedBytes.PagedBytesDataInput
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 DataInput Modifier and Type Method Description static 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.fst Modifier and Type Class Description (package private) class
ForwardBytesReader
Reads from a single byte[].static class
FST.BytesReader
Reads bytes stored in an FST.(package private) class
ReverseBytesReader
Reads in reverse from a single byte[].(package private) class
ReverseRandomAccessReader
Implements reverse read from a RandomAccessInput.Methods in org.apache.lucene.util.fst with parameters of type DataInput Modifier and Type Method Description void
FSTStore. init(DataInput in, long numBytes)
void
OffHeapFSTStore. init(DataInput in, long numBytes)
void
OnHeapFSTStore. init(DataInput in, long numBytes)
BytesRef
ByteSequenceOutputs. read(DataInput in)
CharsRef
CharSequenceOutputs. read(DataInput in)
IntsRef
IntSequenceOutputs. read(DataInput in)
java.lang.Object
NoOutputs. read(DataInput in)
abstract T
Outputs. read(DataInput in)
Decode an output value previously written withOutputs.write(Object, DataOutput)
.PairOutputs.Pair<A,B>
PairOutputs. read(DataInput in)
java.lang.Long
PositiveIntOutputs. read(DataInput in)
T
Outputs. readFinalOutput(DataInput in)
Decode an output value previously written withOutputs.writeFinalOutput(Object, DataOutput)
.int
FST. readLabel(DataInput in)
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 DataInput Constructor Description BytesStore(DataInput in, long numBytes, int maxBlockSize)
Pulls bytes from the provided IndexInput.FST(DataInput metaIn, DataInput in, Outputs<T> outputs)
Load a previously saved FST.FST(DataInput metaIn, DataInput in, Outputs<T> outputs, FSTStore fstStore)
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 DataInput Modifier and Type Field Description (package private) DataInput
BlockPackedReaderIterator. in
(package private) DataInput
PackedDataInput. in
protected DataInput
PackedInts.ReaderIteratorImpl. in
Methods in org.apache.lucene.util.packed with parameters of type DataInput Modifier and Type Method Description static 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
BlockPackedReaderIterator. readVLong(DataInput in)
void
BlockPackedReaderIterator. reset(DataInput in, long valueCount)
Reset the current reader to wrap a stream ofvalueCount
values contained inin
.Constructors in org.apache.lucene.util.packed with parameters of type DataInput Constructor Description BlockPackedReaderIterator(DataInput in, int packedIntsVersion, int blockSize, long valueCount)
Sole constructor.PackedDataInput(DataInput in)
Create a new instance that wrapsin
.PackedReaderIterator(PackedInts.Format format, int packedIntsVersion, int valueCount, int bitsPerValue, DataInput in, int mem)
ReaderIteratorImpl(int valueCount, int bitsPerValue, DataInput in)
-