Berkeley DB Java Edition
version 5.0.34

Uses of Class
com.sleepycat.je.DatabaseEntry

Packages that use DatabaseEntry
com.sleepycat.bind Bindings between database entries and Java objects. 
com.sleepycat.bind.serial Bindings that use Java serialization. 
com.sleepycat.bind.tuple Bindings that use sequences of primitive fields, or tuples. 
com.sleepycat.collections Data access based on the standard Java collections API. 
com.sleepycat.je Foundation for creating environments, databases and transactions; provides cursor based data access. 
 

Uses of DatabaseEntry in com.sleepycat.bind
 

Methods in com.sleepycat.bind with parameters of type DatabaseEntry
 E EntryBinding.entryToObject(DatabaseEntry entry)
          Converts a entry buffer into an Object.
 byte[] ByteArrayBinding.entryToObject(DatabaseEntry entry)
           
 E EntityBinding.entryToObject(DatabaseEntry key, DatabaseEntry data)
          Converts key and data entry buffers into an entity Object.
 void EntityBinding.objectToData(E object, DatabaseEntry data)
          Extracts the data entry from an entity Object.
 void ByteArrayBinding.objectToEntry(byte[] object, DatabaseEntry entry)
           
 void EntryBinding.objectToEntry(E object, DatabaseEntry entry)
          Converts an Object into a entry buffer.
 void EntityBinding.objectToKey(E object, DatabaseEntry key)
          Extracts the key entry from an entity Object.
 

Uses of DatabaseEntry in com.sleepycat.bind.serial
 

Methods in com.sleepycat.bind.serial with parameters of type DatabaseEntry
 boolean TupleSerialKeyCreator.createSecondaryKey(SecondaryDatabase db, DatabaseEntry primaryKeyEntry, DatabaseEntry dataEntry, DatabaseEntry indexKeyEntry)
           
 boolean SerialSerialKeyCreator.createSecondaryKey(SecondaryDatabase db, DatabaseEntry primaryKeyEntry, DatabaseEntry dataEntry, DatabaseEntry indexKeyEntry)
           
 E SerialBinding.entryToObject(DatabaseEntry entry)
          Deserialize an object from an entry buffer.
 E TupleSerialBinding.entryToObject(DatabaseEntry key, DatabaseEntry data)
           
 E SerialSerialBinding.entryToObject(DatabaseEntry key, DatabaseEntry data)
           
 boolean TupleSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db, DatabaseEntry dataEntry)
           
 boolean SerialSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db, DatabaseEntry dataEntry)
           
 void TupleSerialBinding.objectToData(E object, DatabaseEntry data)
           
 void SerialSerialBinding.objectToData(E object, DatabaseEntry data)
           
 void SerialBinding.objectToEntry(E object, DatabaseEntry entry)
          Serialize an object into an entry buffer.
 void TupleSerialBinding.objectToKey(E object, DatabaseEntry key)
           
 void SerialSerialBinding.objectToKey(E object, DatabaseEntry key)
           
 

Uses of DatabaseEntry in com.sleepycat.bind.tuple
 

Methods in com.sleepycat.bind.tuple with parameters of type DatabaseEntry
static void BigDecimalBinding.bigDecimalToEntry(BigDecimal val, DatabaseEntry entry)
          Converts a BigDecimal value into an entry buffer.
static void SortedBigDecimalBinding.bigDecimalToEntry(BigDecimal val, DatabaseEntry entry)
          Converts a BigDecimal value into an entry buffer.
static void BigIntegerBinding.bigIntegerToEntry(BigInteger val, DatabaseEntry entry)
          Converts a BigInteger value into an entry buffer.
static void BooleanBinding.booleanToEntry(boolean val, DatabaseEntry entry)
          Converts a simple boolean value into an entry buffer.
static void ByteBinding.byteToEntry(byte val, DatabaseEntry entry)
          Converts a simple byte value into an entry buffer.
static void CharacterBinding.charToEntry(char val, DatabaseEntry entry)
          Converts a simple char value into an entry buffer.
 boolean TupleTupleKeyCreator.createSecondaryKey(SecondaryDatabase db, DatabaseEntry primaryKeyEntry, DatabaseEntry dataEntry, DatabaseEntry indexKeyEntry)
           
static void SortedDoubleBinding.doubleToEntry(double val, DatabaseEntry entry)
          Converts a simple double value into an entry buffer.
static void DoubleBinding.doubleToEntry(double val, DatabaseEntry entry)
          Converts a simple double value into an entry buffer.
static BigDecimal BigDecimalBinding.entryToBigDecimal(DatabaseEntry entry)
          Converts an entry buffer into a BigDecimal value.
static BigDecimal SortedBigDecimalBinding.entryToBigDecimal(DatabaseEntry entry)
          Converts an entry buffer into a BigDecimal value.
static BigInteger BigIntegerBinding.entryToBigInteger(DatabaseEntry entry)
          Converts an entry buffer into a BigInteger value.
static boolean BooleanBinding.entryToBoolean(DatabaseEntry entry)
          Converts an entry buffer into a simple boolean value.
static byte ByteBinding.entryToByte(DatabaseEntry entry)
          Converts an entry buffer into a simple byte value.
static char CharacterBinding.entryToChar(DatabaseEntry entry)
          Converts an entry buffer into a simple char value.
static double SortedDoubleBinding.entryToDouble(DatabaseEntry entry)
          Converts an entry buffer into a simple double value.
static double DoubleBinding.entryToDouble(DatabaseEntry entry)
          Converts an entry buffer into a simple double value.
static float SortedFloatBinding.entryToFloat(DatabaseEntry entry)
          Converts an entry buffer into a simple float value.
static float FloatBinding.entryToFloat(DatabaseEntry entry)
          Converts an entry buffer into a simple float value.
static TupleInput TupleBase.entryToInput(DatabaseEntry entry)
          Utility method to create a new tuple input object for reading the data from a given buffer.
static int SortedPackedIntegerBinding.entryToInt(DatabaseEntry entry)
          Converts an entry buffer into a simple int value.
static int PackedIntegerBinding.entryToInt(DatabaseEntry entry)
          Converts an entry buffer into a simple int value.
static int IntegerBinding.entryToInt(DatabaseEntry entry)
          Converts an entry buffer into a simple int value.
static Long SortedPackedLongBinding.entryToLong(DatabaseEntry entry)
          Converts an entry buffer into a simple Long value.
static Long PackedLongBinding.entryToLong(DatabaseEntry entry)
          Converts an entry buffer into a simple Long value.
static long LongBinding.entryToLong(DatabaseEntry entry)
          Converts an entry buffer into a simple long value.
 TupleInput TupleInputBinding.entryToObject(DatabaseEntry entry)
           
 E TupleBinding.entryToObject(DatabaseEntry entry)
           
 E TupleTupleBinding.entryToObject(DatabaseEntry key, DatabaseEntry data)
           
static short ShortBinding.entryToShort(DatabaseEntry entry)
          Converts an entry buffer into a simple short value.
static String StringBinding.entryToString(DatabaseEntry entry)
          Converts an entry buffer into a simple String value.
static void SortedFloatBinding.floatToEntry(float val, DatabaseEntry entry)
          Converts a simple float value into an entry buffer.
static void FloatBinding.floatToEntry(float val, DatabaseEntry entry)
          Converts a simple float value into an entry buffer.
static void TupleBase.inputToEntry(TupleInput input, DatabaseEntry entry)
          Utility method to set the data in a entry buffer to the data in a tuple input object.
static void SortedPackedIntegerBinding.intToEntry(int val, DatabaseEntry entry)
          Converts a simple int value into an entry buffer, using SortedPackedInteger format.
static void PackedIntegerBinding.intToEntry(int val, DatabaseEntry entry)
          Converts a simple int value into an entry buffer, using PackedInteger format.
static void IntegerBinding.intToEntry(int val, DatabaseEntry entry)
          Converts a simple int value into an entry buffer.
static void SortedPackedLongBinding.longToEntry(long val, DatabaseEntry entry)
          Converts a simple Long value into an entry buffer, using SortedPackedLong format.
static void PackedLongBinding.longToEntry(long val, DatabaseEntry entry)
          Converts a simple Long value into an entry buffer, using PackedLong format.
static void LongBinding.longToEntry(long val, DatabaseEntry entry)
          Converts a simple long value into an entry buffer.
 boolean TupleTupleKeyCreator.nullifyForeignKey(SecondaryDatabase db, DatabaseEntry dataEntry)
           
 void TupleTupleBinding.objectToData(E object, DatabaseEntry data)
           
 void TupleBinding.objectToEntry(E object, DatabaseEntry entry)
           
 void TupleInputBinding.objectToEntry(TupleInput object, DatabaseEntry entry)
           
 void TupleTupleBinding.objectToKey(E object, DatabaseEntry key)
           
static void TupleBase.outputToEntry(TupleOutput output, DatabaseEntry entry)
          Utility method to set the data in a entry buffer to the data in a tuple output object.
static void ShortBinding.shortToEntry(short val, DatabaseEntry entry)
          Converts a simple short value into an entry buffer.
static void StringBinding.stringToEntry(String val, DatabaseEntry entry)
          Converts a simple String value into an entry buffer.
 

Uses of DatabaseEntry in com.sleepycat.collections
 

Methods in com.sleepycat.collections with parameters of type DatabaseEntry
 void PrimaryKeyAssigner.assignKey(DatabaseEntry keyData)
          Assigns a new primary key value into the given data buffer.
 

Uses of DatabaseEntry in com.sleepycat.je
 

Methods in com.sleepycat.je that return DatabaseEntry
 DatabaseEntry Sequence.getKey()
          Returns the DatabaseEntry used to open this sequence.
 DatabaseEntry SecondaryReferenceException.getPrimaryKey()
          Returns the primary key being access during the failure.
 DatabaseEntry SecondaryReferenceException.getSecondaryKey()
          Returns the secondary key being access during the failure.
 

Methods in com.sleepycat.je with parameters of type DatabaseEntry
 int Database.compareDuplicates(DatabaseEntry entry1, DatabaseEntry entry2)
          Compares two data elements using either the default comparator if no duplicate comparator has been set or the duplicate comparator if one has been set.
 int Database.compareKeys(DatabaseEntry entry1, DatabaseEntry entry2)
          Compares two keys using either the default comparator if no BTree comparator has been set or the BTree comparator if one has been set.
 boolean SecondaryKeyCreator.createSecondaryKey(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, DatabaseEntry result)
          Creates a secondary key entry, given a primary key and data entry.
 void SecondaryMultiKeyCreator.createSecondaryKeys(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, Set<DatabaseEntry> results)
          Creates a secondary key entry, given a primary key and data entry.
 OperationStatus SecondaryDatabase.delete(Transaction txn, DatabaseEntry key)
          Deletes the primary key/data pair associated with the specified secondary key.
 OperationStatus Database.delete(Transaction txn, DatabaseEntry key)
          Removes key/data pairs from the database.
 OperationStatus SecondaryDatabase.get(Transaction txn, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair with the given key.
 OperationStatus SecondaryDatabase.get(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Database.get(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair with the given key.
 OperationStatus SecondaryCursor.getCurrent(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Returns the key/data pair to which the cursor refers.
 OperationStatus SecondaryCursor.getCurrent(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus DiskOrderedCursor.getCurrent(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Returns the key/data pair to which the cursor refers.
 OperationStatus ForwardCursor.getCurrent(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Returns the key/data pair to which the cursor refers.
 OperationStatus Cursor.getCurrent(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Returns the key/data pair to which the cursor refers.
 OperationStatus SecondaryCursor.getFirst(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the first key/data pair of the database, and return that pair.
 OperationStatus SecondaryCursor.getFirst(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getFirst(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the first key/data pair of the database, and returns that pair.
 OperationStatus SecondaryCursor.getLast(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the last key/data pair of the database, and return that pair.
 OperationStatus SecondaryCursor.getLast(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getLast(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the last key/data pair of the database, and returns that pair.
 OperationStatus SecondaryCursor.getNext(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the next key/data pair and return that pair.
 OperationStatus SecondaryCursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus DiskOrderedCursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the next key/data pair and returns that pair.
 OperationStatus JoinCursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Returns the next primary key and data resulting from the join operation.
 OperationStatus ForwardCursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the next key/data pair and returns that pair.
 OperationStatus Cursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the next key/data pair and returns that pair.
 OperationStatus JoinCursor.getNext(DatabaseEntry key, LockMode lockMode)
          Returns the next primary key resulting from the join operation.
 OperationStatus SecondaryCursor.getNextDup(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          If the next key/data pair of the database is a duplicate data record for the current key/data pair, move the cursor to the next key/data pair of the database and return that pair.
 OperationStatus SecondaryCursor.getNextDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getNextDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          If the next key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the next key/data pair of the database and returns that pair.
 OperationStatus SecondaryCursor.getNextNoDup(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the next non-duplicate key/data pair and return that pair.
 OperationStatus SecondaryCursor.getNextNoDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getNextNoDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the next non-duplicate key/data pair and returns that pair.
 OperationStatus SecondaryCursor.getPrev(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the previous key/data pair and return that pair.
 OperationStatus SecondaryCursor.getPrev(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getPrev(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the previous key/data pair and returns that pair.
 OperationStatus SecondaryCursor.getPrevDup(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          If the previous key/data pair of the database is a duplicate data record for the current key/data pair, move the cursor to the previous key/data pair of the database and return that pair.
 OperationStatus SecondaryCursor.getPrevDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getPrevDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          If the previous key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the previous key/data pair of the database and returns that pair.
 OperationStatus SecondaryCursor.getPrevNoDup(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the previous non-duplicate key/data pair and return that pair.
 OperationStatus SecondaryCursor.getPrevNoDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getPrevNoDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the previous non-duplicate key/data pair and returns that pair.
 OperationStatus SecondaryCursor.getSearchBoth(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the specified secondary and primary key, where both the primary and secondary key items must match.
 OperationStatus SecondaryCursor.getSearchBoth(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          This operation is not allowed with this method signature.
 OperationStatus Cursor.getSearchBoth(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the specified key/data pair, where both the key and data items must match.
 OperationStatus SecondaryDatabase.getSearchBoth(Transaction txn, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair with the specified secondary and primary key, that is, both the primary and secondary key items must match.
 OperationStatus SecondaryDatabase.getSearchBoth(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          This operation is not allowed with this method signature.
 OperationStatus Database.getSearchBoth(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair with the given key and data value, that is, both the key and data items must match.
 OperationStatus SecondaryCursor.getSearchBothRange(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the specified secondary key and closest matching primary key of the database.
 OperationStatus SecondaryCursor.getSearchBothRange(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          This operation is not allowed with this method signature.
 OperationStatus Cursor.getSearchBothRange(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the specified key and closest matching data item of the database.
 OperationStatus SecondaryCursor.getSearchKey(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the given key of the database, and return the datum associated with the given key.
 OperationStatus SecondaryCursor.getSearchKey(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getSearchKey(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the given key of the database, and returns the datum associated with the given key.
 OperationStatus SecondaryCursor.getSearchKeyRange(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the closest matching key of the database, and return the data item associated with the matching key.
 OperationStatus SecondaryCursor.getSearchKeyRange(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
           
 OperationStatus Cursor.getSearchKeyRange(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Moves the cursor to the closest matching key of the database, and returns the data item associated with the matching key.
 boolean ForeignKeyNullifier.nullifyForeignKey(SecondaryDatabase secondary, DatabaseEntry data)
          Sets the foreign key reference to null in the datum of the primary database.
 boolean ForeignMultiKeyNullifier.nullifyForeignKey(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, DatabaseEntry secKey)
          Sets the foreign key reference to null in the datum of the primary database.
 Sequence Database.openSequence(Transaction txn, DatabaseEntry key, SequenceConfig config)
          Opens a sequence in the database.
 OperationStatus SecondaryCursor.put(DatabaseEntry key, DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Cursor.put(DatabaseEntry key, DatabaseEntry data)
          Stores a key/data pair into the database.
 OperationStatus SecondaryDatabase.put(Transaction txn, DatabaseEntry key, DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Database.put(Transaction txn, DatabaseEntry key, DatabaseEntry data)
          Stores the key/data pair into the database.
 OperationStatus SecondaryCursor.putCurrent(DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Cursor.putCurrent(DatabaseEntry data)
          Replaces the data in the key/data pair at the current cursor position.
 OperationStatus SecondaryCursor.putNoDupData(DatabaseEntry key, DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Cursor.putNoDupData(DatabaseEntry key, DatabaseEntry data)
          Stores a key/data pair into the database.
 OperationStatus SecondaryDatabase.putNoDupData(Transaction txn, DatabaseEntry key, DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Database.putNoDupData(Transaction txn, DatabaseEntry key, DatabaseEntry data)
          Stores the key/data pair into the database if it does not already appear in the database.
 OperationStatus SecondaryCursor.putNoOverwrite(DatabaseEntry key, DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Cursor.putNoOverwrite(DatabaseEntry key, DatabaseEntry data)
          Stores a key/data pair into the database.
 OperationStatus SecondaryDatabase.putNoOverwrite(Transaction txn, DatabaseEntry key, DatabaseEntry data)
          This operation is not allowed on a secondary database.
 OperationStatus Database.putNoOverwrite(Transaction txn, DatabaseEntry key, DatabaseEntry data)
          Stores the key/data pair into the database if the key does not already appear in the database.
 void Database.removeSequence(Transaction txn, DatabaseEntry key)
          Removes the sequence from the database.
 long Cursor.skipNext(long maxCount, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Skips forward a given number of key/data pairs and returns the number by which the cursor is moved.
 long Cursor.skipPrev(long maxCount, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Skips backward a given number of key/data pairs and returns the number by which the cursor is moved.
 

Method parameters in com.sleepycat.je with type arguments of type DatabaseEntry
 void SecondaryMultiKeyCreator.createSecondaryKeys(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, Set<DatabaseEntry> results)
          Creates a secondary key entry, given a primary key and data entry.
 


Berkeley DB Java Edition
version 5.0.34

Copyright (c) 2004-2011 Oracle. All rights reserved.