org.apache.lucene.store.db

Class DbIndexInput

public class DbIndexInput extends IndexInput

Author: Andi Vajda

Field Summary
protected Blockblock
protected DbDirectorydirectory
protected Filefile
protected longlength
protected longposition
Constructor Summary
protected DbIndexInput(DbDirectory directory, String name)
Method Summary
Objectclone()
voidclose()
longgetFilePointer()
longlength()
bytereadByte()
voidreadBytes(byte[] b, int offset, int len)
voidseek(long pos)

Field Detail

block

protected Block block

directory

protected DbDirectory directory

file

protected File file

length

protected long length

position

protected long position

Constructor Detail

DbIndexInput

protected DbIndexInput(DbDirectory directory, String name)

Method Detail

clone

public Object clone()

close

public void close()

getFilePointer

public long getFilePointer()

length

public long length()

readByte

public byte readByte()

readBytes

public void readBytes(byte[] b, int offset, int len)

seek

public void seek(long pos)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.