Method GetReaderIteratorNoHeader
GetReaderIteratorNoHeader(DataInput, PackedInt32s.Format, Int32, Int32, Int32, Int32)
Expert: Restore a PackedInt32s.IReaderIterator from a stream without reading metadata at the beginning of the stream. This method is useful to restore data from streams which have been created using GetWriterNoHeader(DataOutput, PackedInt32s.Format, Int32, Int32, Int32).
@lucene.internal
Declaration
public static PackedInt32s.IReaderIterator GetReaderIteratorNoHeader(DataInput in, PackedInt32s.Format format, int version, int valueCount, int bitsPerValue, int mem)
Parameters
Type | Name | Description |
---|---|---|
DataInput | in | The stream to read data from, positioned at the beginning of the packed values. |
PackedInt32s.Format | format | The format used to serialize. |
System.Int32 | version | The version used to serialize the data. |
System.Int32 | valueCount | How many values the stream holds. |
System.Int32 | bitsPerValue | the number of bits per value. |
System.Int32 | mem | How much memory the iterator is allowed to use to read-ahead (likely to speed up iteration). |
Returns
Type | Description |
---|---|
PackedInt32s.IReaderIterator |