public class MockSingleIntFactory extends IntStreamFactory
MockSingleIntIndexOutput
Constructor and Description |
---|
MockSingleIntFactory() |
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–2022 The Apache Software Foundation. All rights reserved.