public class STBlockLine extends BlockLine
BlockTermState
.
It is an extension of BlockLine
for the Shared Terms format. This
means the line contains a term and all its fields TermState
s.Modifier and Type | Class and Description |
---|---|
static class |
STBlockLine.Serializer
Reads block lines encoded incrementally, with all fields corresponding
to the term of the line.
|
Modifier and Type | Field and Description |
---|---|
protected List<FieldMetadataTermState> |
termStates
List of the fields ond their TermStates for this block line.
|
termBytes, termState, termStateRelativeOffset
NULL_ACCOUNTABLE
Constructor and Description |
---|
STBlockLine(TermBytes termBytes,
List<FieldMetadataTermState> termStates) |
Modifier and Type | Method and Description |
---|---|
void |
collectFields(Collection<FieldMetadata> collector)
Collects the
FieldMetadata of all fields listed in this line. |
getTermBytes, getTermStateRelativeOffset, ramBytesUsed, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
protected final List<FieldMetadataTermState> termStates
public STBlockLine(TermBytes termBytes, List<FieldMetadataTermState> termStates)
public void collectFields(Collection<FieldMetadata> collector)
FieldMetadata
of all fields listed in this line.collector
- Receives the collected FieldMetadata
.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.