Module org.apache.lucene.codecs
Package org.apache.lucene.codecs.memory
Class DirectPostingsFormat.DirectField.HighFreqTerm
java.lang.Object
org.apache.lucene.codecs.memory.DirectPostingsFormat.DirectField.TermAndSkip
org.apache.lucene.codecs.memory.DirectPostingsFormat.DirectField.HighFreqTerm
- All Implemented Interfaces:
Accountable
- Enclosing class:
- DirectPostingsFormat.DirectField
private static final class DirectPostingsFormat.DirectField.HighFreqTerm
extends DirectPostingsFormat.DirectField.TermAndSkip
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
final int[]
final int[]
final byte[][][]
final int[][]
final long
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
ConstructorsConstructorDescriptionHighFreqTerm
(int[] docIDs, int[] freqs, int[][] positions, byte[][][] payloads, long 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 -
totalTermFreq
public final long totalTermFreq -
docIDs
public final int[] docIDs -
freqs
public final int[] freqs -
positions
public final int[][] positions -
payloads
public final byte[][][] payloads
-
-
Constructor Details
-
HighFreqTerm
public HighFreqTerm(int[] docIDs, int[] freqs, int[][] positions, byte[][][] payloads, long 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.
-