public static class MockVariableIntBlockPostingsFormat.MockIntFactory extends IntStreamFactory
| Constructor and Description |
|---|
MockIntFactory(int baseBlockSize) |
| Modifier and Type | Method and Description |
|---|---|
IntIndexOutput |
createOutput(Directory dir,
String fileName,
IOContext context)
Create an
IntIndexOutput on the provided
fileName. |
IntIndexInput |
openInput(Directory dir,
String fileName,
IOContext context)
Create an
IntIndexInput on the provided
fileName. |
public IntIndexInput openInput(Directory dir, String fileName, IOContext context) throws IOException
IntStreamFactoryIntIndexInput on the provided
fileName.openInput in class IntStreamFactoryIOExceptionpublic IntIndexOutput createOutput(Directory dir, String fileName, IOContext context) throws IOException
IntStreamFactoryIntIndexOutput on the provided
fileName.createOutput in class IntStreamFactoryIOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.