org.apache.lucene.codecs.mockintblock
Class MockFixedIntBlockPostingsFormat.MockIntFactory
java.lang.Object
org.apache.lucene.codecs.sep.IntStreamFactory
org.apache.lucene.codecs.mockintblock.MockFixedIntBlockPostingsFormat.MockIntFactory
- Enclosing class:
- MockFixedIntBlockPostingsFormat
public static class MockFixedIntBlockPostingsFormat.MockIntFactory
- extends IntStreamFactory
Encodes blocks as vInts of a fixed block size.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFixedIntBlockPostingsFormat.MockIntFactory
public MockFixedIntBlockPostingsFormat.MockIntFactory(int blockSize)
openInput
public IntIndexInput openInput(Directory dir,
String fileName,
IOContext context)
throws IOException
- Specified by:
openInput
in class IntStreamFactory
- Throws:
IOException
createOutput
public IntIndexOutput createOutput(Directory dir,
String fileName,
IOContext context)
throws IOException
- Specified by:
createOutput
in class IntStreamFactory
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.