public class DbIndexInput
extends org.apache.lucene.store.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) |
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 org.apache.lucene.store.IndexInput
public void close() throws java.io.IOException
close
in class org.apache.lucene.store.IndexInput
java.io.IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public byte readByte() throws java.io.IOException
readByte
in class org.apache.lucene.store.IndexInput
java.io.IOException
public void readBytes(byte[] b, int offset, int len) throws java.io.IOException
readBytes
in class org.apache.lucene.store.IndexInput
java.io.IOException
public void seek(long pos) throws java.io.IOException
seek
in class org.apache.lucene.store.IndexInput
java.io.IOException
public long getFilePointer()
getFilePointer
in class org.apache.lucene.store.IndexInput
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.