Package | Description |
---|---|
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.db |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
ByteArrayBinding.entryToObject(DatabaseEntry entry) |
|
E |
EntityBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
Converts key and data entry buffers into an entity Object.
|
E |
EntryBinding.entryToObject(DatabaseEntry entry) |
Converts a entry buffer into an Object.
|
java.lang.Long |
RecordNumberBinding.entryToObject(DatabaseEntry entry) |
|
static long |
RecordNumberBinding.entryToRecordNumber(DatabaseEntry entry) |
Utility method for use by bindings to translate a entry buffer to an
record number integer.
|
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 |
RecordNumberBinding.objectToEntry(java.lang.Object object,
DatabaseEntry entry) |
|
void |
EntityBinding.objectToKey(E object,
DatabaseEntry key) |
Extracts the key entry from an entity Object.
|
static void |
RecordNumberBinding.recordNumberToEntry(long recordNumber,
DatabaseEntry entry) |
Utility method for use by bindings to translate a record number integer
to a entry buffer.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
SerialSerialKeyCreator.createSecondaryKey(SecondaryDatabase db,
DatabaseEntry primaryKeyEntry,
DatabaseEntry dataEntry,
DatabaseEntry indexKeyEntry) |
|
boolean |
TupleSerialKeyCreator.createSecondaryKey(SecondaryDatabase db,
DatabaseEntry primaryKeyEntry,
DatabaseEntry dataEntry,
DatabaseEntry indexKeyEntry) |
|
E |
SerialBinding.entryToObject(DatabaseEntry entry) |
Deserialize an object from an entry buffer.
|
E |
SerialSerialBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
|
E |
TupleSerialBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
|
boolean |
SerialSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db,
DatabaseEntry dataEntry) |
|
boolean |
TupleSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db,
DatabaseEntry dataEntry) |
|
void |
SerialSerialBinding.objectToData(E object,
DatabaseEntry data) |
|
void |
TupleSerialBinding.objectToData(E object,
DatabaseEntry data) |
|
void |
SerialBinding.objectToEntry(E object,
DatabaseEntry entry) |
Serialize an object into an entry buffer.
|
void |
SerialSerialBinding.objectToKey(E object,
DatabaseEntry key) |
|
void |
TupleSerialBinding.objectToKey(E object,
DatabaseEntry key) |
Modifier and Type | Method | Description |
---|---|---|
static void |
BigDecimalBinding.bigDecimalToEntry(java.math.BigDecimal val,
DatabaseEntry entry) |
Converts a
BigDecimal value into an entry buffer. |
static void |
SortedBigDecimalBinding.bigDecimalToEntry(java.math.BigDecimal val,
DatabaseEntry entry) |
Converts a
BigDecimal value into an entry buffer. |
static void |
BigIntegerBinding.bigIntegerToEntry(java.math.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 |
DoubleBinding.doubleToEntry(double val,
DatabaseEntry entry) |
Converts a simple
double value into an entry buffer. |
static void |
SortedDoubleBinding.doubleToEntry(double val,
DatabaseEntry entry) |
Converts a simple
double value into an entry buffer. |
static java.math.BigDecimal |
BigDecimalBinding.entryToBigDecimal(DatabaseEntry entry) |
Converts an entry buffer into a
BigDecimal value. |
static java.math.BigDecimal |
SortedBigDecimalBinding.entryToBigDecimal(DatabaseEntry entry) |
Converts an entry buffer into a
BigDecimal value. |
static java.math.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 |
DoubleBinding.entryToDouble(DatabaseEntry entry) |
Converts an entry buffer into a simple
double value. |
static double |
SortedDoubleBinding.entryToDouble(DatabaseEntry entry) |
Converts an entry buffer into a simple
double value. |
static float |
FloatBinding.entryToFloat(DatabaseEntry entry) |
Converts an entry buffer into a simple
float value. |
static float |
SortedFloatBinding.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 |
IntegerBinding.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 |
SortedPackedIntegerBinding.entryToInt(DatabaseEntry entry) |
Converts an entry buffer into a simple
int value. |
static long |
LongBinding.entryToLong(DatabaseEntry entry) |
Converts an entry buffer into a simple
long value. |
static java.lang.Long |
PackedLongBinding.entryToLong(DatabaseEntry entry) |
Converts an entry buffer into a simple
Long value. |
static java.lang.Long |
SortedPackedLongBinding.entryToLong(DatabaseEntry entry) |
Converts an entry buffer into a simple
Long value. |
E |
TupleBinding.entryToObject(DatabaseEntry entry) |
|
TupleInput |
TupleInputBinding.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 java.lang.String |
StringBinding.entryToString(DatabaseEntry entry) |
Converts an entry buffer into a simple
String value. |
static void |
FloatBinding.floatToEntry(float val,
DatabaseEntry entry) |
Converts a simple
float value into an entry buffer. |
static void |
SortedFloatBinding.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 |
IntegerBinding.intToEntry(int val,
DatabaseEntry entry) |
Converts a simple
int value into an entry buffer. |
static void |
PackedIntegerBinding.intToEntry(int val,
DatabaseEntry entry) |
Converts a simple
int value into an entry buffer, using
PackedInteger format. |
static void |
SortedPackedIntegerBinding.intToEntry(int val,
DatabaseEntry entry) |
Converts a simple
int value into an entry buffer, using
SortedPackedInteger format. |
static void |
LongBinding.longToEntry(long val,
DatabaseEntry entry) |
Converts a simple
long value into an entry buffer. |
static void |
PackedLongBinding.longToEntry(long val,
DatabaseEntry entry) |
Converts a simple
Long value into an entry buffer, using
PackedLong format. |
static void |
SortedPackedLongBinding.longToEntry(long val,
DatabaseEntry entry) |
Converts a simple
Long value into an entry buffer, using
SortedPackedLong format. |
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(java.lang.String val,
DatabaseEntry entry) |
Converts a simple
String value into an entry buffer. |
Modifier and Type | Method | Description |
---|---|---|
void |
PrimaryKeyAssigner.assignKey(DatabaseEntry keyData) |
Assigns a new primary key value into the given buffer.
|
Modifier and Type | Class | Description |
---|---|---|
class |
MultipleDataEntry |
|
class |
MultipleEntry |
An abstract class representing a DatabaseEntry that holds multiple results
returned by a single
Cursor get method. |
class |
MultipleKeyDataEntry |
|
class |
MultipleKeyNIODataEntry |
|
class |
MultipleNIODataEntry |
|
class |
MultipleRecnoDataEntry |
|
class |
MultipleRecnoNIODataEntry |
Modifier and Type | Method | Description |
---|---|---|
DatabaseEntry |
ReplicationStatus.getCData() |
Whenever the system receives contact information from a new
environment, a copy of the opaque data specified in the cdata
parameter to the
Environment.startReplication is available
from the getCDAta method. |
DatabaseEntry |
MemoryException.getDatabaseEntry() |
Returns the
DatabaseEntry object with insufficient memory
to complete the operation. |
DatabaseEntry |
Sequence.getKey() |
Return the DatabaseEntry used to open this sequence.
|
DatabaseEntry |
LockNotGrantedException.getObj() |
Returns the object parameter when
Environment.getLock was
called, and returns the object for the failed LockRequest when
Environment.lockVector was called. |
DatabaseEntry |
LockRequest.getObj() |
Return the lock object.
|
DatabaseEntry |
DatabaseConfig.getPartitionKeys() |
Return the array of keys the database is configured to partition with.
|
Modifier and Type | Method | Description |
---|---|---|
OperationStatus |
Database.append(Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
Append the key/data pair to the end of the database.
|
boolean |
MultipleDataEntry.append(DatabaseEntry data) |
Append an entry to the bulk buffer.
|
boolean |
MultipleKeyDataEntry.append(DatabaseEntry key,
DatabaseEntry data) |
Append an entry to the bulk buffer.
|
boolean |
MultipleRecnoDataEntry.append(int recno,
DatabaseEntry data) |
Append an entry to the bulk buffer.
|
void |
RecordNumberAppender.appendRecordNumber(Database db,
DatabaseEntry data,
int recno) |
A callback function to modify the stored database based on the
generated key.
|
CompactStats |
Database.compact(Transaction txn,
DatabaseEntry start,
DatabaseEntry stop,
DatabaseEntry end,
CompactConfig config) |
Compact a Btree or Recno database or returns unused Btree,
Hash or Recno database pages to the underlying filesystem.
|
boolean |
BtreeCompressor.compress(Database db,
DatabaseEntry prevKey,
DatabaseEntry prevData,
DatabaseEntry key,
DatabaseEntry data,
DatabaseEntry dest) |
The application-specific Btree compress callback.
|
OperationStatus |
Database.consume(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
boolean wait) |
Return the record number and data from the available record closest to
the head of the queue, and delete the record.
|
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,
java.util.Set results) |
Creates a secondary key entry, given a primary key and data entry.
|
boolean |
BtreeCompressor.decompress(Database db,
DatabaseEntry prevKey,
DatabaseEntry prevData,
DatabaseEntry compressed,
DatabaseEntry key,
DatabaseEntry data) |
The application-specific Btree decompress callback.
|
OperationStatus |
Database.delete(Transaction txn,
DatabaseEntry key) |
Remove key/data pairs from the database.
|
OperationStatus |
Database.exists(Transaction txn,
DatabaseEntry key) |
Checks if the specified key appears in the database.
|
OperationStatus |
Database.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Retrieves the key/data pair with the given key 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 |
Cursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
LogCursor.getCurrent(LogSequenceNumber lsn,
DatabaseEntry data) |
Return the LogSequenceNumber and log record to which the log cursor
currently refers.
|
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode) |
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
Cursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the first key/data pair of the database, and return
that pair.
|
OperationStatus |
LogCursor.getFirst(LogSequenceNumber lsn,
DatabaseEntry data) |
Return the first LogSequenceNumber and log record.
|
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.
|
KeyRange |
Database.getKeyRange(Transaction txn,
DatabaseEntry key) |
Return an estimate of the proportion of keys in the database less
than, equal to, and greater than the specified key.
|
OperationStatus |
Cursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the last key/data pair of the database, and return
that pair.
|
OperationStatus |
LogCursor.getLast(LogSequenceNumber lsn,
DatabaseEntry data) |
Return the last LogSequenceNumber and log record.
|
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.
|
Lock |
Environment.getLock(int locker,
boolean noWait,
DatabaseEntry object,
LockRequestMode mode) |
Acquire a lock from the lock table returning information about it in the Lock parameter.
|
OperationStatus |
Cursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the next key/data pair and return that pair.
|
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Returns the next primary key and data resulting from the join operation.
|
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
LockMode lockMode) |
Returns the next primary key resulting from the join operation.
|
OperationStatus |
LogCursor.getNext(LogSequenceNumber lsn,
DatabaseEntry data) |
Return the next LogSequenceNumber and log record.
|
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 |
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, move the cursor to the next key/data pair
of the database and return that pair.
|
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 |
Cursor.getNextNoDup(DatabaseEntry key,
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 pKey,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the next non-duplicate key/data pair and return
that pair.
|
OperationStatus |
Cursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the previous key/data pair and return that pair.
|
OperationStatus |
LogCursor.getPrev(LogSequenceNumber lsn,
DatabaseEntry data) |
Return the previous LogSequenceNumber and log record.
|
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 |
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, move the cursor to the previous key/data
pair of the database and return 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 |
Cursor.getPrevNoDup(DatabaseEntry key,
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 pKey,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the previous non-duplicate key/data pair and return
that pair.
|
OperationStatus |
Cursor.getRecordNumber(DatabaseEntry data,
LockMode lockMode) |
Return the record number associated with the cursor.
|
OperationStatus |
SecondaryCursor.getRecordNumber(DatabaseEntry secondaryRecno,
DatabaseEntry primaryRecno,
LockMode lockMode) |
Return the record number associated with the cursor.
|
OperationStatus |
Cursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the specified key/data pair, where both the key and
data items must match.
|
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.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 |
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 |
Cursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the specified key and matching data item of the database.
|
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 |
Cursor.getSearchKey(DatabaseEntry key,
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 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 |
Cursor.getSearchKeyRange(DatabaseEntry key,
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 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 |
Cursor.getSearchRecordNumber(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the specific numbered record of the database, and
return the associated key/data pair.
|
OperationStatus |
Database.getSearchRecordNumber(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Retrieves the key/data pair associated with the specific numbered record of the database.
|
OperationStatus |
SecondaryCursor.getSearchRecordNumber(DatabaseEntry secondaryRecno,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode) |
Move the cursor to the specific numbered record of the database, and
return the associated key/data pair.
|
OperationStatus |
SecondaryDatabase.getSearchRecordNumber(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode) |
Retrieves the key/data pair associated with the specific numbered record of the database.
|
int |
LogRecordHandler.handleLogRecord(Environment environment,
DatabaseEntry logRecord,
LogSequenceNumber lsn,
RecoveryOperation operation) |
A function to process application-specific log records.
|
LogSequenceNumber |
Environment.logPut(DatabaseEntry data,
boolean flush) |
Append a record to the log.
|
boolean |
MultipleDataEntry.next(DatabaseEntry data) |
Get the next data element in the returned set.
|
boolean |
MultipleKeyDataEntry.next(DatabaseEntry key,
DatabaseEntry data) |
Get the next key/data pair in the returned set.
|
boolean |
MultipleKeyNIODataEntry.next(DatabaseEntry key,
DatabaseEntry data) |
Get the next key/data pair in the returned set.
|
boolean |
MultipleNIODataEntry.next(DatabaseEntry data) |
Get the next data element in the returned set.
|
boolean |
MultipleRecnoDataEntry.next(DatabaseEntry recnoEntry,
DatabaseEntry data) |
Get the next record number/data pair in the returned set.
|
boolean |
MultipleRecnoNIODataEntry.next(DatabaseEntry recno,
DatabaseEntry data) |
Get the next record number/data pair in the returned set.
|
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) |
Open a sequence represented by the key in the database.
|
int |
PartitionHandler.partition(Database db,
DatabaseEntry key) |
The application-specific database partitioning callback.
|
int |
BtreePrefixCalculator.prefix(Database db,
DatabaseEntry dbt1,
DatabaseEntry dbt2) |
The application-specific Btree prefix callback.
|
ReplicationStatus |
Environment.processReplicationMessage(DatabaseEntry control,
DatabaseEntry rec,
int envid) |
Process an incoming replication message sent by a member of the
replication group to the local database environment.
|
OperationStatus |
Cursor.put(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Database.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
Store the key/data pair into the database.
|
OperationStatus |
Cursor.putAfter(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Cursor.putBefore(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Cursor.putCurrent(DatabaseEntry data) |
Replaces the data in the key/data pair at the current cursor position.
|
OperationStatus |
Cursor.putKeyFirst(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Cursor.putKeyLast(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Cursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Database.putNoDupData(Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
Store the key/data pair into the database if it does not already appear
in the database.
|
OperationStatus |
Cursor.putNoOverwrite(DatabaseEntry key,
DatabaseEntry data) |
Store a key/data pair into the database.
|
OperationStatus |
Database.putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
Store the key/data pair into the database if the key does not already
appear in the database.
|
OperationStatus |
DatabaseStream.read(DatabaseEntry data,
long offset,
int size) |
Read from the external file accessed by this database stream.
|
void |
Database.removeSequence(Transaction txn,
DatabaseEntry key,
SequenceConfig config) |
Remove the sequence from the database.
|
int |
ReplicationTransport.send(Environment environment,
DatabaseEntry control,
DatabaseEntry rec,
LogSequenceNumber lsn,
int envid,
boolean noBuffer,
boolean permanent,
boolean anywhere,
boolean isRetry) |
The callback used when Berkeley DB needs to transmit a replication message.
|
void |
ReplicationChannel.sendRequest(java.util.Set messages,
DatabaseEntry response,
long timeout) |
Send request on the message channel.
|
OperationStatus |
LogCursor.set(LogSequenceNumber lsn,
DatabaseEntry data) |
Return a specific log record.
|
void |
LockRequest.setObj(DatabaseEntry obj) |
Set the lock object.
|
boolean |
Slice.slice(Database db,
DatabaseEntry key,
DatabaseEntry sliceKey) |
The application-specific database slice callback.
|
Database |
Database.sliceLookup(DatabaseEntry key) |
Get the Database handle of the slice that contains the given key.
|
void |
Environment.startReplication(DatabaseEntry cdata,
boolean master) |
Configure the database environment as a client or master in a group
of replicated database environments.
|
OperationStatus |
DatabaseStream.write(DatabaseEntry data,
long offset) |
Write to the external file accessed by the database stream.
|
Constructor | Description |
---|---|
LockRequest(LockOperation op,
LockRequestMode mode,
DatabaseEntry obj) |
Construct a LockRequest with the specified operation and mode for the
specified object.
|
LockRequest(LockOperation op,
LockRequestMode mode,
DatabaseEntry obj,
Lock lock) |
Construct a LockRequest with the specified operation, mode and lock,
for the specified object.
|
LockRequest(LockOperation op,
LockRequestMode mode,
DatabaseEntry obj,
Lock lock,
int timeout) |
Construct a LockRequest with the specified operation, mode, lock and
timeout for the specified object.
|
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.