public final class DirectMonotonicReader
extends java.lang.Object
DirectMonotonicWriter
.DirectMonotonicWriter
Modifier and Type | Class and Description |
---|---|
static class |
DirectMonotonicReader.Meta
In-memory metadata that needs to be kept around for
DirectMonotonicReader to read data from disk. |
Modifier and Type | Field and Description |
---|---|
private static LongValues |
EMPTY
An instance that always returns
0 . |
Constructor and Description |
---|
DirectMonotonicReader() |
Modifier and Type | Method and Description |
---|---|
static LongValues |
getInstance(DirectMonotonicReader.Meta meta,
RandomAccessInput data)
Retrieves an instance from the specified slice.
|
static DirectMonotonicReader.Meta |
loadMeta(IndexInput metaIn,
long numValues,
int blockShift)
Load metadata from the given
IndexInput . |
private static final LongValues EMPTY
0
.public static DirectMonotonicReader.Meta loadMeta(IndexInput metaIn, long numValues, int blockShift) throws java.io.IOException
IndexInput
.java.io.IOException
getInstance(Meta, RandomAccessInput)
public static LongValues getInstance(DirectMonotonicReader.Meta meta, RandomAccessInput data) throws java.io.IOException
java.io.IOException