public class STUniformSplitTermsReader extends UniformSplitTermsReader
STUniformSplitTermsWriter
blockInput, dictionaryInput, fieldToTermsMap, postingsReader, sortedFieldNames, VERSION_START
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
|
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder) |
protected |
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
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,
BlockDecoder blockDecoder,
IndexInput dictionaryInput,
IndexInput blockInput,
Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
protected long |
getTermsRamBytesUsed() |
checkIntegrity, close, iterator, parseFieldsMetadata, ramBytesUsed, 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) throws IOException
IOException
protected STUniformSplitTermsReader(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, String codecName, int versionStart, int versionCurrent, String termsBlocksExtension, String dictionaryExtension) throws IOException
IOException
protected void fillFieldMap(PostingsReaderBase postingsReader, BlockDecoder blockDecoder, 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-2019 Apache Software Foundation. All Rights Reserved.