org.apache.lucene.store.je

Class Block

public class Block extends Object

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

Author: Aaron Donovan

Field Summary
protected DatabaseEntrydata
protected DatabaseEntrykey
Constructor Summary
protected Block(File file)
Method Summary
protected voidget(JEDirectory directory)
protected byte[]getData()
protected byte[]getKey()
protected voidput(JEDirectory directory)
protected voidseek(long position)

Field Detail

data

protected DatabaseEntry data

key

protected DatabaseEntry key

Constructor Detail

Block

protected Block(File file)

Method Detail

get

protected void get(JEDirectory directory)

getData

protected byte[] getData()

getKey

protected byte[] getKey()

put

protected void put(JEDirectory directory)

seek

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