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, skipChars
protected 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.IOException
public java.lang.Object clone()
clone
in class IndexInput
public void close() throws java.io.IOException
close
in class IndexInput
java.io.IOException
public long length()
length
in class IndexInput
public byte readByte() throws java.io.IOException
readByte
in class IndexInput
java.io.IOException
public void readBytes(byte[] b, int offset, int len) throws java.io.IOException
readBytes
in class IndexInput
java.io.IOException
public void seek(long pos) throws java.io.IOException
seek
in class IndexInput
java.io.IOException
public long getFilePointer()
getFilePointer
in class IndexInput
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.