org.apache.lucene.store.je
Class Block
java.lang.Object
org.apache.lucene.store.je.Block
public class Block
- extends Object
Port of Andi Vajda's DbDirectory to Java Edition of Berkeley Database
Field Summary |
protected com.sleepycat.je.DatabaseEntry |
data
|
protected com.sleepycat.je.DatabaseEntry |
key
|
Constructor Summary |
protected |
Block(File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected com.sleepycat.je.DatabaseEntry key
data
protected com.sleepycat.je.DatabaseEntry data
Block
protected Block(File file)
throws IOException
- Throws:
IOException
getKey
protected byte[] getKey()
getData
protected byte[] getData()
seek
protected void seek(long position)
throws IOException
- Throws:
IOException
get
protected void get(JEDirectory directory)
throws IOException
- Throws:
IOException
put
protected void put(JEDirectory directory)
throws IOException
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.