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, skipChars
protected long position
protected long length
protected DbDirectory directory
protected Block block
protected File file
protected DbIndexInput(DbDirectory directory, String name) throws IOException
IOException
public Object clone()
clone
in class IndexInput
public void close() throws IOException
close
in class IndexInput
IOException
public long length()
length
in class IndexInput
public byte readByte() throws IOException
readByte
in class IndexInput
IOException
public void readBytes(byte[] b, int offset, int len) throws IOException
readBytes
in class IndexInput
IOException
public void seek(long pos) throws IOException
seek
in class IndexInput
IOException
public long getFilePointer()
getFilePointer
in class IndexInput
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.