public final class MockFixedIntBlockPostingsFormat extends PostingsFormat
| Modifier and Type | Class and Description |
|---|---|
static class |
MockFixedIntBlockPostingsFormat.MockIntFactory
Encodes blocks as vInts of a fixed block size.
|
EMPTY| Constructor and Description |
|---|
MockFixedIntBlockPostingsFormat() |
MockFixedIntBlockPostingsFormat(int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state) |
FieldsProducer |
fieldsProducer(SegmentReadState state) |
IntStreamFactory |
getIntFactory() |
String |
toString() |
availablePostingsFormats, forName, getName, reloadPostingsFormatspublic MockFixedIntBlockPostingsFormat()
public MockFixedIntBlockPostingsFormat(int blockSize)
public String toString()
toString in class PostingsFormatpublic IntStreamFactory getIntFactory()
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class PostingsFormatIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.