Class FixedGapTermsIndexReader.FieldIndexData
- java.lang.Object
-
- org.apache.lucene.codecs.blockterms.FixedGapTermsIndexReader.FieldIndexData
-
- All Implemented Interfaces:
Accountable
- Enclosing class:
- FixedGapTermsIndexReader
private final class FixedGapTermsIndexReader.FieldIndexData extends java.lang.Object implements Accountable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
numIndexTerms
(package private) long
termBytesStart
(package private) MonotonicBlockPackedReader
termOffsets
(package private) MonotonicBlockPackedReader
termsDictOffsets
(package private) long
termsStart
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description FieldIndexData(IndexInput in, PagedBytes termBytes, long indexStart, long termsStart, long packedIndexStart, long packedOffsetsStart, long numIndexTerms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<Accountable>
getChildResources()
Returns nested resources of this class.long
ramBytesUsed()
Return the memory usage of this object in bytes.java.lang.String
toString()
-
-
-
Field Detail
-
termBytesStart
final long termBytesStart
-
termOffsets
final MonotonicBlockPackedReader termOffsets
-
termsDictOffsets
final MonotonicBlockPackedReader termsDictOffsets
-
numIndexTerms
final long numIndexTerms
-
termsStart
final long termsStart
-
-
Constructor Detail
-
FieldIndexData
public FieldIndexData(IndexInput in, PagedBytes termBytes, long indexStart, long termsStart, long packedIndexStart, long packedOffsetsStart, long numIndexTerms) throws java.io.IOException
- Throws:
java.io.IOException
-
-
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
-
getChildResources
public java.util.Collection<Accountable> getChildResources()
Description copied from interface:Accountable
Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).- Specified by:
getChildResources
in interfaceAccountable
- See Also:
Accountables
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-