public class MockSingleIntIndexOutput extends IntIndexOutput
IntIndexOutput.Index| Constructor and Description |
|---|
MockSingleIntIndexOutput(Directory dir,
String fileName,
IOContext context) |
public MockSingleIntIndexOutput(Directory dir, String fileName, IOContext context) throws IOException
IOExceptionpublic void write(int v)
throws IOException
write in class IntIndexOutputIOExceptionpublic IntIndexOutput.Index index()
index in class IntIndexOutputpublic void close()
throws IOException
close in interface Closeableclose in class IntIndexOutputIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.