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.
|
long |
size() |
void |
writeTo(DataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesprivate 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()
AccountableramBytesUsed in interface Accountablepublic FST.BytesReader getReverseBytesReader()
getReverseBytesReader in interface FSTStorepublic void writeTo(DataOutput out) throws java.io.IOException