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)
Writes a new segment
|
FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment.
|
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
PostingsFormatfieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
PostingsFormatfieldsProducer in class PostingsFormatIOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.