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
static class FSTTermOutputs.TermData extends java.lang.Object implements Accountable
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
Fields Modifier and Type Field Description private static longBASE_RAM_BYTES_USED(package private) byte[]bytes(package private) intdocFreq(package private) longtotalTermFreq-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other_)inthashCode()longramBytesUsed()Return the memory usage of this object in bytes.java.lang.StringtoString()-
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
-
-
-
-
Method Detail
-
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()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other_)
- Overrides:
equalsin classjava.lang.Object
-
-