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.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
Lucene 4.0 file format.
Lucene 4.1 file format.
Code to maintain and access indices.
Binary i/o API, used for all index data.
Some utility classes.
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 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.abstract void
PostingsReaderBase.decodeTerm
(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Actually decode metadata for next term -
Uses of DataInput in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type DataInputModifier and TypeMethodDescriptionvoid
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.lucene40
Methods in org.apache.lucene.codecs.lucene40 with parameters of type DataInputModifier and TypeMethodDescriptionvoid
void
Lucene40PostingsReader.decodeTerm
(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) Deprecated. -
Uses of DataInput in org.apache.lucene.codecs.lucene41
Methods in org.apache.lucene.codecs.lucene41 with parameters of type DataInputModifier and TypeMethodDescriptionvoid
Lucene41PostingsReader.decodeTerm
(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) -
Uses of DataInput in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type DataInputModifierConstructorDescriptionIndexFormatTooNewException
(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 version) Creates anIndexFormatTooOldException
. -
Uses of DataInput in org.apache.lucene.store
Subclasses of DataInput in org.apache.lucene.storeModifier and TypeClassDescriptionclass
Base implementation class for bufferedIndexInput
.final class
DataInput backed by a byte array.class
Reads bytes through to a primary IndexInput, computing checksum as it goes.protected static class
Base class for reading input from a RandomAccessFileclass
Abstract base class for input from a file in aDirectory
.class
ADataInput
wrapping a plainInputStream
.protected static class
Reads bytes withFileChannel.read(ByteBuffer, long)
class
A memory-residentIndexInput
implementation.protected static class
Reads bytes withRandomAccessFile.seek(long)
followed byRandomAccessFile.read(byte[], int, int)
.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.util -
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 TypeMethodDescriptionabstract 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)
.Constructors in org.apache.lucene.util.fst with parameters of type DataInput -
Uses of DataInput in org.apache.lucene.util.packed
Methods in org.apache.lucene.util.packed with parameters of type DataInputModifier and TypeMethodDescriptionstatic PackedInts.Reader
Restore aPackedInts.Reader
from a stream.static PackedInts.ReaderIterator
PackedInts.getReaderIterator
(DataInput in, int mem) Retrieve PackedInts as aPackedInts.ReaderIterator
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.static PackedInts.Reader
PackedInts.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.static PackedInts.Reader
PackedInts.getReaderNoHeader
(DataInput in, PackedInts.Header header) Expert: Restore aPackedInts.Reader
from a stream without reading metadata at the beginning of the stream.static PackedInts.Header
PackedInts.readHeader
(DataInput in) Expert: reads only the metadata from a stream.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
.