Module org.apache.lucene.codecs
Package org.apache.lucene.codecs.memory
Class FSTTermOutputs.TermData
java.lang.Object
org.apache.lucene.codecs.memory.FSTTermOutputs.TermData
- All Implemented Interfaces:
Accountable
- Enclosing class:
FSTTermOutputs
Represents the metadata for one term. On an FST, only long[] part is 'shared' and pushed
towards root. byte[] and term stats will be kept on deeper arcs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long(package private) byte[](package private) int(package private) longFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Field Details
-
BASE_RAM_BYTES_USED
private static final long BASE_RAM_BYTES_USED -
bytes
byte[] bytes -
docFreq
int docFreq -
totalTermFreq
long totalTermFreq
-
-
Constructor Details
-
TermData
TermData() -
TermData
TermData(byte[] bytes, int docFreq, long totalTermFreq)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsedin interfaceAccountable
-
hashCode
public int hashCode() -
toString
-
equals
-