Overview | Package | Class | Use | Tree | Deprecated | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.store.DataInput

Packages that use DataInput
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.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 transducers
org.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
`void` | `TermVectorsWriter.addProx(int numProx, DataInput positions, DataInput offsets)` 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 with `CodecUtil.writeHeader(DataOutput, String, int)`.
`static int` | `CodecUtil.checkHeaderNoMagic(DataInput in, String codec, int minVersion, int maxVersion)` Like `CodecUtil.checkHeader(DataInput,String,int,int)` except this version assumes the first int has already been read and validated from the input.

Uses of DataInput in org.apache.lucene.codecs.compressing

Methods in org.apache.lucene.codecs.compressing with parameters of type DataInput
`void` | `CompressingTermVectorsWriter.addProx(int numProx, DataInput positions, DataInput offsets)`
`abstract void` | `Decompressor.decompress(DataInput in, int originalLength, int offset, int length, BytesRef bytes)` Decompress bytes that were stored between offsets `offset` and `offset+length` in the original stream from the compressed stream `in` to `bytes`.

Uses of DataInput in org.apache.lucene.codecs.lucene40

Methods in org.apache.lucene.codecs.lucene40 with parameters of type DataInput
`void` | `Lucene40TermVectorsWriter.addProx(int numProx, DataInput positions, DataInput offsets)`

Uses of DataInput in org.apache.lucene.index

Constructors in org.apache.lucene.index with parameters of type DataInput
`IndexFormatTooNewException(DataInput in, int version, int minVersion, int maxVersion)` Creates an `IndexFormatTooNewException`
`IndexFormatTooOldException(DataInput in, int version, int minVersion, int maxVersion)` Creates an `IndexFormatTooOldException`.
`IndexFormatTooOldException(DataInput in, String version)` Creates an `IndexFormatTooOldException`.

Uses of DataInput in org.apache.lucene.store

Subclasses of DataInput in org.apache.lucene.store
`class` | `BufferedIndexInput` Base implementation class for buffered `IndexInput`.
`class` | `ByteArrayDataInput` DataInput backed by a byte array.
`class` | `ChecksumIndexInput` Reads bytes through to a primary IndexInput, computing checksum as it goes.
`protected static class` | `FSDirectory.FSIndexInput` Base class for reading input from a RandomAccessFile
`class` | `IndexInput` Abstract base class for input from a file in a `Directory`.
`class` | `InputStreamDataInput` A `DataInput` wrapping a plain `InputStream`.
`protected static class` | `NIOFSDirectory.NIOFSIndexInput` Reads bytes with `FileChannel.read(ByteBuffer, long)`
`class` | `RAMInputStream` A memory-resident `IndexInput` implementation.
`protected static class` | `SimpleFSDirectory.SimpleFSIndexInput` Reads bytes with `RandomAccessFile.seek(long)` followed by `RandomAccessFile.read(byte[], int, int)`.

Methods in org.apache.lucene.store that return DataInput
`DataInput` | `DataInput.clone()` Returns a clone of this stream.

Methods in org.apache.lucene.store with parameters of type DataInput
`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
`class` | `PagedBytes.PagedBytesDataInput`

Uses of DataInput in org.apache.lucene.util.fst

Subclasses of DataInput in org.apache.lucene.util.fst
`static class` | `FST.BytesReader` Reads bytes stored in an FST.

Methods in org.apache.lucene.util.fst with parameters of type DataInput
`Long` | `PositiveIntOutputs.read(DataInput in)`
`PairOutputs.Pair<A,B>` | `PairOutputs.read(DataInput in)`
`abstract T` | `Outputs.read(DataInput in)` Decode an output value previously written with `Outputs.write(Object, DataOutput)`.
`Object` | `NoOutputs.read(DataInput in)`
`IntsRef` | `IntSequenceOutputs.read(DataInput in)`
`CharsRef` | `CharSequenceOutputs.read(DataInput in)`
`BytesRef` | `ByteSequenceOutputs.read(DataInput in)`
`T` | `Outputs.readFinalOutput(DataInput in)` Decode an output value previously written with `Outputs.writeFinalOutput(Object, DataOutput)`.

Constructors in org.apache.lucene.util.fst with parameters of type DataInput
`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
`static PackedInts.Reader` | `PackedInts.getReader(DataInput in)` Restore a `PackedInts.Reader` from a stream.
`static PackedInts.ReaderIterator` | `PackedInts.getReaderIterator(DataInput in, int mem)` Retrieve PackedInts as a `PackedInts.ReaderIterator`
`static PackedInts.ReaderIterator` | `PackedInts.getReaderIteratorNoHeader(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue, int mem)` Expert: Restore a `PackedInts.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 a `PackedInts.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 a `PackedInts.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` | `BlockPackedReaderIterator.reset(DataInput in, long valueCount)` Reset the current reader to wrap a stream of `valueCount` values contained in `in`.

Constructors in org.apache.lucene.util.packed with parameters of type DataInput
`BlockPackedReaderIterator(DataInput in, int packedIntsVersion, int blockSize, long valueCount)` Sole constructor.
`PackedDataInput(DataInput in)` Create a new instance that wraps `in`.

Overview | Package | Class | Use | Tree | Deprecated | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.