Uses of Class
org.apache.lucene.store.DataInput
-
Packages that use DataInput Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.lucene40 Lucene 4.0 file format.org.apache.lucene.codecs.lucene41 Lucene 4.1 file format.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.packed Packed integer arrays and streams. -
-
Uses of DataInput in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type DataInput Modifier and Type Method Description voidTermVectorsWriter. addProx(int numProx, DataInput positions, DataInput offsets)Called 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.abstract voidPostingsReaderBase. 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 DataInput Modifier and Type Method Description voidCompressingTermVectorsWriter. addProx(int numProx, DataInput positions, DataInput offsets)abstract 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.lucene40
Methods in org.apache.lucene.codecs.lucene40 with parameters of type DataInput Modifier and Type Method Description voidLucene40TermVectorsWriter. addProx(int numProx, DataInput positions, DataInput offsets)voidLucene40PostingsReader. 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 DataInput Modifier and Type Method Description voidLucene41PostingsReader. 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 DataInput Constructor Description 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 version)Creates anIndexFormatTooOldException. -
Uses of DataInput in org.apache.lucene.store
Subclasses of DataInput in org.apache.lucene.store Modifier and Type Class Description classBufferedIndexInputBase implementation class for bufferedIndexInput.classByteArrayDataInputDataInput backed by a byte array.classChecksumIndexInputReads bytes through to a primary IndexInput, computing checksum as it goes.protected static classFSDirectory.FSIndexInputBase class for reading input from a RandomAccessFileclassIndexInputAbstract base class for input from a file in aDirectory.classInputStreamDataInputADataInputwrapping a plainInputStream.protected 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 DataInput Modifier and Type Method Description DataInputDataInput. clone()Returns a clone of this stream.Methods in org.apache.lucene.store with parameters of type DataInput Modifier and Type Method Description voidDataOutput. 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 classPagedBytes.PagedBytesDataInput -
Uses of DataInput in org.apache.lucene.util.fst
Subclasses of DataInput in org.apache.lucene.util.fst Modifier and Type Class Description static classFST.BytesReaderReads bytes stored in an FST.Methods in org.apache.lucene.util.fst with parameters of type DataInput Modifier and Type Method Description BytesRefByteSequenceOutputs. read(DataInput in)CharsRefCharSequenceOutputs. read(DataInput in)IntsRefIntSequenceOutputs. read(DataInput in)ObjectNoOutputs. read(DataInput in)abstract TOutputs. read(DataInput in)Decode an output value previously written withOutputs.write(Object, DataOutput).PairOutputs.Pair<A,B>PairOutputs. read(DataInput in)LongPositiveIntOutputs. read(DataInput in)TOutputs. 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 Constructor Description FST(DataInput in, Outputs<T> outputs)Load a previously saved FST.FST(DataInput in, Outputs<T> outputs, int maxBlockBits)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 DataInput Modifier and Type Method Description static PackedInts.ReaderPackedInts. getReader(DataInput in)Restore aPackedInts.Readerfrom a stream.static PackedInts.ReaderIteratorPackedInts. getReaderIterator(DataInput in, int mem)Retrieve PackedInts as aPackedInts.ReaderIteratorstatic 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.static PackedInts.ReaderPackedInts. getReaderNoHeader(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue)Expert: Restore aPackedInts.Readerfrom a stream without reading metadata at the beginning of the stream.static PackedInts.ReaderPackedInts. getReaderNoHeader(DataInput in, PackedInts.Header header)Expert: Restore aPackedInts.Readerfrom a stream without reading metadata at the beginning of the stream.static PackedInts.HeaderPackedInts. readHeader(DataInput in)Expert: reads only the metadata from a stream.voidBlockPackedReaderIterator. reset(DataInput in, long valueCount)Reset the current reader to wrap a stream ofvalueCountvalues 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.
-