public final class BlockPackedReader extends Object
BlockPackedWriter
.BlockPackedWriter
Constructor and Description |
---|
BlockPackedReader(DataInput in,
int packedIntsVersion,
int blockSize,
long valueCount)
Sole constructor.
|
public BlockPackedReader(DataInput in, int packedIntsVersion, int blockSize, long valueCount)
blockSize
- the number of values of a block, must be equal to the
block size of the BlockPackedWriter
which has
been used to write the streampublic void skip(long count) throws IOException
count
values.IOException
public long next() throws IOException
IOException
public LongsRef next(int count) throws IOException
count
values.IOException
public long ord()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.