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
FieldsModifier and TypeFieldDescriptionprivate static final longfinal intfinal byte[]final int[]final intFields inherited from class org.apache.lucene.codecs.memory.DirectPostingsFormat.DirectField.TermAndSkip
skipsFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsConstructorDescriptionLowFreqTerm(int[] postings, byte[] payloads, int docFreq, int totalTermFreq) -
Method Summary
Modifier and TypeMethodDescriptionlongReturn 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, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Field Details
-
BASE_RAM_BYTES_USED
private static final long BASE_RAM_BYTES_USED -
postings
public final int[] postings -
payloads
public final byte[] payloads -
docFreq
public final int docFreq -
totalTermFreq
public final int totalTermFreq
-
-
Constructor Details
-
LowFreqTerm
public LowFreqTerm(int[] postings, byte[] payloads, int docFreq, int totalTermFreq)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.
-