public class MockSingleIntIndexOutput extends IntIndexOutput
IntIndexOutput.Index| Constructor and Description |
|---|
MockSingleIntIndexOutput(Directory dir,
String fileName,
IOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IntIndexOutput.Index |
index()
If you are indexing the primary output file, call
this and interact with the returned IndexWriter.
|
String |
toString() |
void |
write(int v)
Write an int to the primary file
|
public MockSingleIntIndexOutput(Directory dir, String fileName, IOContext context) throws IOException
IOExceptionpublic void write(int v)
throws IOException
write in class IntIndexOutputIOExceptionpublic IntIndexOutput.Index index()
IntIndexOutputindex in class IntIndexOutputpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class IntIndexOutputIOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.