public class STUniformSplitTermsReader extends UniformSplitTermsReader
STUniformSplitTermsWriterblockInput, dictionaryInput, fieldToTermsMap, postingsReader, sortedFieldNames, VERSION_STARTEMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
|
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder) |
protected |
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
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 FieldMetadatas. |
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, termsgetMergeInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesforEach, spliteratorpublic STUniformSplitTermsReader(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder) throws IOException
IOExceptionprotected STUniformSplitTermsReader(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, FieldMetadata.Serializer fieldMetadataReader, String codecName, int versionStart, int versionCurrent, String termsBlocksExtension, String dictionaryExtension) throws IOException
IOExceptionprotected void fillFieldMap(PostingsReaderBase postingsReader, BlockDecoder blockDecoder, IndexInput dictionaryInput, IndexInput blockInput, Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos) throws IOException
fillFieldMap in class UniformSplitTermsReaderIOExceptionprotected long getTermsRamBytesUsed()
getTermsRamBytesUsed in class UniformSplitTermsReaderprotected FieldMetadata createUnionFieldMetadata(Iterable<FieldMetadata> fieldMetadataIterable)
FieldMetadata that is the union of the given FieldMetadatas.
Its FieldMetadata.getFirstBlockStartFP(), FieldMetadata.getLastBlockStartFP()
and FieldMetadata.getLastTerm() are respectively the min and
max among the FieldMetadatas provided as parameter.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.