public class STUniformSplitTermsReader extends UniformSplitTermsReader
STUniformSplitTermsWriterblockInput, dictionaryInput, fieldToTermsMap, postingsReader, sortedFieldNames, versionEMPTY_ARRAYNULL_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 FieldMetadatas. |
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, termsgetMergeInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesforEach, spliteratorpublic 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 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-2021 Apache Software Foundation. All Rights Reserved.