org.apache.lucene.codecs.mockintblock
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, reloadPostingsFormats
public MockVariableIntBlockPostingsFormat()
public MockVariableIntBlockPostingsFormat(int baseBlockSize)
public String toString()
toString
in class PostingsFormat
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer
in class PostingsFormat
IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer
in class PostingsFormat
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.