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,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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, java.lang.String name) throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object clone()
clone in class IndexInputpublic void close()
throws java.io.IOException
close in class IndexInputjava.io.IOExceptionpublic long length()
length in class IndexInputpublic byte readByte()
throws java.io.IOException
readByte in class IndexInputjava.io.IOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws java.io.IOException
readBytes in class IndexInputjava.io.IOExceptionpublic void seek(long pos)
throws java.io.IOException
seek in class IndexInputjava.io.IOExceptionpublic long getFilePointer()
getFilePointer in class IndexInputCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.