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) long
Fields 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, wait
Methods 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:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsed
in interfaceAccountable
-
hashCode
public int hashCode() -
toString
-
equals
-