org.apache.lucene.codecs.mocksep
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
IOExceptionpublic MockSingleIntIndexInput.Reader reader() throws IOException
reader in class IntIndexInputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in class IntIndexInputIOExceptionpublic IntIndexInput.Index index()
index in class IntIndexInputCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.