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, reloadPostingsFormats
public MockFixedIntBlockPostingsFormat()
public MockFixedIntBlockPostingsFormat(int blockSize)
public String toString()
toString
in class PostingsFormat
public IntStreamFactory getIntFactory()
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-2014 Apache Software Foundation. All Rights Reserved.