org.apache.lucene.store.db
Class Block

java.lang.Object
  extended by org.apache.lucene.store.db.Block

public class Block
extends Object


Field Summary
protected  com.sleepycat.db.DatabaseEntry data
           
protected  com.sleepycat.db.DatabaseEntry key
           
 
Constructor Summary
protected Block(File file)
           
 
Method Summary
protected  void get(DbDirectory directory)
           
protected  byte[] getData()
           
protected  byte[] getKey()
           
protected  void put(DbDirectory directory)
           
protected  void seek(long position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected com.sleepycat.db.DatabaseEntry key

data

protected com.sleepycat.db.DatabaseEntry data
Constructor Detail

Block

protected Block(File file)
         throws IOException
Throws:
IOException
Method Detail

getKey

protected byte[] getKey()

getData

protected byte[] getData()

seek

protected void seek(long position)
             throws IOException
Throws:
IOException

get

protected void get(DbDirectory directory)
            throws IOException
Throws:
IOException

put

protected void put(DbDirectory directory)
            throws IOException
Throws:
IOException


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.