Module org.apache.lucene.codecs
Package org.apache.lucene.codecs.memory
Class DirectPostingsFormat.DirectField.LowFreqTerm
- java.lang.Object
-
- org.apache.lucene.codecs.memory.DirectPostingsFormat.DirectField.TermAndSkip
-
- org.apache.lucene.codecs.memory.DirectPostingsFormat.DirectField.LowFreqTerm
-
- All Implemented Interfaces:
Accountable
- Enclosing class:
- DirectPostingsFormat.DirectField
private static final class DirectPostingsFormat.DirectField.LowFreqTerm extends DirectPostingsFormat.DirectField.TermAndSkip
-
-
Field Summary
Fields Modifier and Type Field Description private static long
BASE_RAM_BYTES_USED
int
docFreq
byte[]
payloads
int[]
postings
int
totalTermFreq
-
Fields inherited from class org.apache.lucene.codecs.memory.DirectPostingsFormat.DirectField.TermAndSkip
skips
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description LowFreqTerm(int[] postings, byte[] payloads, int docFreq, int totalTermFreq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
ramBytesUsed()
Return the memory usage of this object in bytes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.
-
-