public class DbIndexInput extends IndexInput
| Modifier and Type | Field and Description |
|---|---|
protected Block |
block |
protected DbDirectory |
directory |
protected File |
file |
protected long |
length |
protected long |
position |
| Modifier | Constructor and Description |
|---|---|
protected |
DbIndexInput(DbDirectory directory,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
close() |
long |
getFilePointer() |
long |
length() |
byte |
readByte() |
void |
readBytes(byte[] b,
int offset,
int len) |
void |
seek(long pos) |
readBytes, readChars, readInt, readLong, readString, readVInt, readVLong, setModifiedUTF8StringsMode, skipCharsprotected long position
protected long length
protected DbDirectory directory
protected Block block
protected File file
protected DbIndexInput(DbDirectory directory, String name) throws IOException
IOExceptionpublic Object clone()
clone in class IndexInputpublic void close()
throws IOException
close in class IndexInputIOExceptionpublic long length()
length in class IndexInputpublic byte readByte()
throws IOException
readByte in class IndexInputIOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws IOException
readBytes in class IndexInputIOExceptionpublic void seek(long pos)
throws IOException
seek in class IndexInputIOExceptionpublic long getFilePointer()
getFilePointer in class IndexInputCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.