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 long
final int
final byte[]
final int[]
final int
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
ConstructorsConstructorDescriptionLowFreqTerm
(int[] postings, byte[] payloads, int docFreq, int totalTermFreq) -
Method Summary
Modifier and TypeMethodDescriptionlong
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
-
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:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.
-