public final class OffHeapFSTStore extends java.lang.Object implements FSTStore
Modifier and Type | Field and Description |
---|---|
private static long |
BASE_RAM_BYTES_USED |
private IndexInput |
in |
private long |
numBytes |
private long |
offset |
Constructor and Description |
---|
OffHeapFSTStore() |
Modifier and Type | Method and Description |
---|---|
FST.BytesReader |
getReverseBytesReader() |
void |
init(DataInput in,
long numBytes) |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
void |
writeTo(DataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
private static final long BASE_RAM_BYTES_USED
private IndexInput in
private long offset
private long numBytes
public void init(DataInput in, long numBytes) throws java.io.IOException
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public FST.BytesReader getReverseBytesReader()
getReverseBytesReader
in interface FSTStore
public void writeTo(DataOutput out) throws java.io.IOException