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 |
static boolean |
encoderCalled |
EMPTY
Modifier | Constructor and Description |
---|---|
|
UniformSplitRot13PostingsFormat() |
protected |
UniformSplitRot13PostingsFormat(String name) |
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() |
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 dictionaryEncoded
public UniformSplitRot13PostingsFormat()
protected UniformSplitRot13PostingsFormat(String name)
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 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-2020 Apache Software Foundation. All Rights Reserved.