public final class MockVariableIntBlockPostingsFormat extends PostingsFormat
| Modifier and Type | Class and Description |
|---|---|
static class |
MockVariableIntBlockPostingsFormat.MockIntFactory
If the first value is <= 3, writes baseBlockSize vInts at once,
otherwise writes 2*baseBlockSize vInts.
|
EMPTY| Constructor and Description |
|---|
MockVariableIntBlockPostingsFormat() |
MockVariableIntBlockPostingsFormat(int baseBlockSize) |
| Modifier and Type | Method and Description |
|---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state) |
FieldsProducer |
fieldsProducer(SegmentReadState state) |
String |
toString() |
availablePostingsFormats, forName, getName, reloadPostingsFormatspublic MockVariableIntBlockPostingsFormat()
public MockVariableIntBlockPostingsFormat(int baseBlockSize)
public String toString()
toString in class PostingsFormatpublic FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class PostingsFormatIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.