com.sleepycat.je
Class DatabaseEntry

java.lang.Object
  extended by com.sleepycat.je.DatabaseEntry

public class DatabaseEntry
extends Object

Javadoc for this public class is generated via the doc templates in the doc_src directory.


Constructor Summary
DatabaseEntry()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
DatabaseEntry(byte[] data)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
DatabaseEntry(byte[] data, int offset, int size)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 
Method Summary
(package private)  boolean dataEquals(DatabaseEntry o)
          Compares the data of two entries.
(package private)  String dumpData()
          Dumps the data as a byte array, for tracing purposes
 byte[] getData()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 int getOffset()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 boolean getPartial()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 int getPartialLength()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 int getPartialOffset()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 int getSize()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setData(byte[] data)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setData(byte[] data, int offset, int size)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setOffset(int offset)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setPartial(boolean partial)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setPartial(int doff, int dlen, boolean partial)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setPartialLength(int dlen)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setPartialOffset(int doff)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setSize(int size)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseEntry

public DatabaseEntry()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


DatabaseEntry

public DatabaseEntry(byte[] data)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


DatabaseEntry

public DatabaseEntry(byte[] data,
                     int offset,
                     int size)
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

getData

public byte[] getData()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setData

public void setData(byte[] data)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setData

public void setData(byte[] data,
                    int offset,
                    int size)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setPartial

public void setPartial(int doff,
                       int dlen,
                       boolean partial)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getPartialLength

public int getPartialLength()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setPartialLength

public void setPartialLength(int dlen)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getPartialOffset

public int getPartialOffset()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setPartialOffset

public void setPartialOffset(int doff)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getPartial

public boolean getPartial()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setPartial

public void setPartial(boolean partial)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getOffset

public int getOffset()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setOffset

public void setOffset(int offset)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getSize

public int getSize()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setSize

public void setSize(int size)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


dumpData

String dumpData()
Dumps the data as a byte array, for tracing purposes


dataEquals

boolean dataEquals(DatabaseEntry o)
Compares the data of two entries.



Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.