public class STUniformSplitTermsReader extends UniformSplitTermsReader
STUniformSplitTermsWriterblockInput, dictionaryInput, fieldToTermsMap, postingsReader, sortedFieldNames, VERSION_START| Modifier | Constructor and Description |
|---|---|
|
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder) |
protected |
STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
java.lang.String codecName,
int versionStart,
int versionCurrent,
java.lang.String termsBlocksExtension,
java.lang.String dictionaryExtension) |
| Modifier and Type | Method and Description |
|---|---|
protected FieldMetadata |
createUnionFieldMetadata(java.lang.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,
java.util.Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos) |
protected long |
getTermsRamBytesUsed() |
checkIntegrity, close, iterator, parseFieldsMetadata, ramBytesUsed, seekFieldsMetadata, size, termspublic STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder)
throws java.io.IOException
java.io.IOExceptionprotected STUniformSplitTermsReader(PostingsReaderBase postingsReader,
SegmentReadState state,
BlockDecoder blockDecoder,
java.lang.String codecName,
int versionStart,
int versionCurrent,
java.lang.String termsBlocksExtension,
java.lang.String dictionaryExtension)
throws java.io.IOException
java.io.IOExceptionprotected void fillFieldMap(PostingsReaderBase postingsReader,
BlockDecoder blockDecoder,
IndexInput dictionaryInput,
IndexInput blockInput,
java.util.Collection<FieldMetadata> fieldMetadataCollection,
FieldInfos fieldInfos)
throws java.io.IOException
fillFieldMap in class UniformSplitTermsReaderjava.io.IOExceptionprotected long getTermsRamBytesUsed()
getTermsRamBytesUsed in class UniformSplitTermsReaderprotected FieldMetadata createUnionFieldMetadata(java.lang.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.Data In Motion GmbH all rights reserved