public class STUniformSplitTermsReader extends UniformSplitTermsReader
STUniformSplitTermsWriter
blockInput, dictionaryInput, fieldToTermsMap, postingsReader, sortedFieldNames, version
EMPTY_ARRAY
NULL_ACCOUNTABLE
Modifier | Constructor and Description |
---|---|
|
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
boolean dictionaryOnHeap) |
protected |
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
boolean dictionaryOnHeap,
FieldMetadata.Serializer fieldMetadataReader,
String codecName,
int versionStart,
int versionCurrent,
String termsBlocksExtension,
String dictionaryExtension) |
Modifier and Type | Method and Description |
---|---|
protected FieldMetadata |
createUnionFieldMetadata(Iterable<FieldMetadata> fieldMetadataIterable)
Creates a virtual
FieldMetadata that is the union of the given FieldMetadata s. |
protected void |
fillFieldMap(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
boolean dictionaryOnHeap,
IndexInput dictionaryInput,
IndexInput blockInput,
Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
protected long |
getTermsRamBytesUsed() |
checkIntegrity, close, createDictionaryBrowserSupplier, iterator, ramBytesUsed, readEncodedFieldsMetadata, readFieldsMetadata, readUnencodedFieldsMetadata, seekFieldsMetadata, size, terms
getMergeInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
forEach, spliterator
public STUniformSplitTermsReader(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap) throws IOException
protected STUniformSplitTermsReader(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, FieldMetadata.Serializer fieldMetadataReader, String codecName, int versionStart, int versionCurrent, String termsBlocksExtension, String dictionaryExtension) throws IOException
protected void fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos) throws IOException
fillFieldMap
in class UniformSplitTermsReader
IOException
protected long getTermsRamBytesUsed()
getTermsRamBytesUsed
in class UniformSplitTermsReader
protected FieldMetadata createUnionFieldMetadata(Iterable<FieldMetadata> fieldMetadataIterable)
FieldMetadata
that is the union of the given FieldMetadata
s.
Its FieldMetadata.getFirstBlockStartFP()
, FieldMetadata.getLastBlockStartFP()
and FieldMetadata.getLastTerm()
are respectively the min and
max among the FieldMetadata
s provided as parameter.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.