public final class OffHeapFSTStore extends Object implements FSTStore
NULL_ACCOUNTABLE
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, wait
getChildResources
public void init(DataInput in, long numBytes) throws IOException
init
in interface FSTStore
IOException
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public FST.BytesReader getReverseBytesReader()
getReverseBytesReader
in interface FSTStore
public void writeTo(DataOutput out) throws IOException
writeTo
in interface FSTStore
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.