public class MockSingleIntIndexInput extends IntIndexInput
MockSingleIntIndexOutput
. NOTE: this class is just for
demonstration purposes (it is a very slow way to read a
block of ints).Modifier and Type | Class and Description |
---|---|
static class |
MockSingleIntIndexInput.Reader
Just reads a vInt directly from the file.
|
IntIndexInput.Index
Constructor and Description |
---|
MockSingleIntIndexInput(Directory dir,
String fileName,
IOContext context) |
public MockSingleIntIndexInput(Directory dir, String fileName, IOContext context) throws IOException
IOException
public MockSingleIntIndexInput.Reader reader() throws IOException
reader
in class IntIndexInput
IOException
public void close() throws IOException
close
in interface Closeable
close
in class IntIndexInput
IOException
public IntIndexInput.Index index()
index
in class IntIndexInput
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.