org.apache.lucene.store.je

Class JEIndexInput

public class JEIndexInput extends IndexInput

Port of Andi Vajda's DbDirectory to Java Edition of Berkeley Database

Author: Aaron Donovan

Field Summary
protected Blockblock
protected JEDirectorydirectory
protected Filefile
protected longlength
protected longposition
Constructor Summary
protected JEIndexInput(JEDirectory 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 JEDirectory directory

file

protected File file

length

protected long length

position

protected long position

Constructor Detail

JEIndexInput

protected JEIndexInput(JEDirectory 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.