public class UniformSplitRot13PostingsFormat extends PostingsFormat
UniformSplitPostingsFormat
with block encoding using ROT13 cypher.Modifier and Type | Field and Description |
---|---|
static boolean |
blocksEncoded |
static boolean |
decoderCalled |
static boolean |
dictionaryEncoded |
protected boolean |
dictionaryOnHeap |
static boolean |
encoderCalled |
static boolean |
fieldsMetadataEncoded |
EMPTY
Modifier | Constructor and Description |
---|---|
|
UniformSplitRot13PostingsFormat() |
protected |
UniformSplitRot13PostingsFormat(String name,
boolean dictionaryOnHeap) |
Modifier and Type | Method and Description |
---|---|
protected FieldsConsumer |
createFieldsConsumer(SegmentWriteState segmentWriteState,
PostingsWriterBase postingsWriter) |
protected FieldsProducer |
createFieldsProducer(SegmentReadState segmentReadState,
PostingsReaderBase postingsReader) |
FieldsConsumer |
fieldsConsumer(SegmentWriteState segmentWriteState) |
FieldsProducer |
fieldsProducer(SegmentReadState segmentReadState) |
protected BlockDecoder |
getBlockDecoder() |
protected BlockEncoder |
getBlockEncoder() |
protected void |
recordBlockEncodingCall() |
protected void |
recordDictionaryEncodingCall() |
protected void |
recordFieldsMetadataEncodingCall() |
static void |
resetEncodingFlags() |
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
public static volatile boolean encoderCalled
public static volatile boolean decoderCalled
public static volatile boolean blocksEncoded
public static volatile boolean fieldsMetadataEncoded
public static volatile boolean dictionaryEncoded
protected final boolean dictionaryOnHeap
public UniformSplitRot13PostingsFormat()
protected UniformSplitRot13PostingsFormat(String name, boolean dictionaryOnHeap)
public static void resetEncodingFlags()
public FieldsConsumer fieldsConsumer(SegmentWriteState segmentWriteState) throws IOException
fieldsConsumer
in class PostingsFormat
IOException
protected FieldsConsumer createFieldsConsumer(SegmentWriteState segmentWriteState, PostingsWriterBase postingsWriter) throws IOException
IOException
protected void recordBlockEncodingCall()
protected void recordFieldsMetadataEncodingCall()
protected void recordDictionaryEncodingCall()
protected BlockEncoder getBlockEncoder()
public FieldsProducer fieldsProducer(SegmentReadState segmentReadState) throws IOException
fieldsProducer
in class PostingsFormat
IOException
protected FieldsProducer createFieldsProducer(SegmentReadState segmentReadState, PostingsReaderBase postingsReader) throws IOException
IOException
protected BlockDecoder getBlockDecoder()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.