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 long
BASE_RAM_BYTES_USED
(package private) byte[]
bytes
(package private) int
docFreq
(package private) long
totalTermFreq
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other_)
int
hashCode()
long
ramBytesUsed()
Return the memory usage of this object in bytes.java.lang.String
toString()
-
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:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsed
in interfaceAccountable
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other_)
- Overrides:
equals
in classjava.lang.Object
-
-