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
IntStreamFactory
IntIndexInput
on the provided
fileName.openInput
in class IntStreamFactory
IOException
public IntIndexOutput createOutput(Directory dir, String fileName, IOContext context) throws IOException
IntStreamFactory
IntIndexOutput
on the provided
fileName.createOutput
in class IntStreamFactory
IOException
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.