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.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
Modifier and Type | Method and Description |
---|---|
Long |
RecordNumberBinding.entryToObject(DatabaseEntry entry) |
byte[] |
ByteArrayBinding.entryToObject(DatabaseEntry entry) |
E |
EntryBinding.entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object.
|
E |
EntityBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data)
Converts key and data entry buffers into an entity Object.
|
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(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 and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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 |
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 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 |
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 |
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 |
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 long |
LongBinding.entryToLong(DatabaseEntry entry)
Converts an entry buffer into a simple
long 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. |
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 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 |
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 |
LongBinding.longToEntry(long val,
DatabaseEntry entry)
Converts a simple
long 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. |
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. |
Modifier and Type | Method and Description |
---|---|
void |
PrimaryKeyAssigner.assignKey(DatabaseEntry keyData)
Assigns a new primary key value into the given data buffer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DbInternal.advanceCursor(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data)
Proxy to Cursor.advanceCursor()
|
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 |
Database.delete(Transaction txn,
DatabaseEntry key)
Removes key/data pairs from the database.
|
OperationStatus |
SecondaryDatabase.delete(Transaction txn,
DatabaseEntry key)
Deletes the primary key/data pair associated with the specified
secondary key.
|
boolean |
SecondaryDatabase.deleteObsoletePrimaryKeys(DatabaseEntry key,
DatabaseEntry data,
int batchSize) |
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key.
|
OperationStatus |
Database.get(Transaction txn,
DatabaseEntry key,
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 |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry pKey,
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 |
DiskOrderedCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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 |
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.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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 |
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.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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 |
ForwardCursor.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 |
Cursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
DiskOrderedCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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 |
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.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair.
|
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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.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.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Database |
SecondaryAssociation.getPrimary(DatabaseEntry primaryKey)
Returns the primary database for the given primary key.
|
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 |
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 |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
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 |
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 |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
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.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key and closest matching data item of
the database.
|
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
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.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.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
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.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.
|
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
Collection<SecondaryDatabase> |
SecondaryAssociation.getSecondaries(DatabaseEntry primaryKey)
Returns the secondary databases associated with the given primary 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.
|
boolean |
Database.populateSecondaries(DatabaseEntry key,
int batchSize) |
boolean |
SecondaryDatabase.populateSecondaries(DatabaseEntry key,
int batchSize) |
void |
Database.populateSecondaries(Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
static OperationStatus |
DbInternal.position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to Cursor.position().
|
OperationStatus |
Cursor.put(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryCursor.put(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 |
SecondaryDatabase.put(Transaction txn,
DatabaseEntry key,
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.putCurrent(DatabaseEntry data)
This operation is not allowed on a secondary database.
|
static OperationStatus |
DbInternal.putForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
com.sleepycat.je.tree.LN ln,
com.sleepycat.je.dbi.PutMode putMode,
com.sleepycat.je.log.ReplicationContext repContext)
Proxy to Cursor.putForReplay()
|
OperationStatus |
Cursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryCursor.putNoDupData(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 |
SecondaryDatabase.putNoDupData(Transaction txn,
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 |
SecondaryCursor.putNoOverwrite(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.
|
OperationStatus |
SecondaryDatabase.putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
void |
Database.removeSequence(Transaction txn,
DatabaseEntry key)
Removes the sequence from the database.
|
static OperationStatus |
DbInternal.retrieveNext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
com.sleepycat.je.dbi.GetMode getMode)
Proxy to Cursor.retrieveNext().
|
static OperationStatus |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Finds the key according to the Search param.
|
static OperationStatus |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
com.sleepycat.je.dbi.CursorImpl.SearchMode searchMode)
Proxy to Cursor.search().
|
static OperationStatus |
DbInternal.searchBoth(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Searches with the dups for the given key and finds the dup matching the
pKey value, according to the Search param.
|
static OperationStatus |
DbInternal.searchForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
com.sleepycat.je.dbi.CursorImpl.SearchMode searchMode)
Proxy to Cursor.searchForReplay().
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SecondaryMultiKeyCreator.createSecondaryKeys(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
Set<DatabaseEntry> results)
Creates a secondary key entry, given a primary key and data entry.
|
Constructor and Description |
---|
DeleteConstraintException(com.sleepycat.je.txn.Locker locker,
String message,
String secDbName,
DatabaseEntry secKey,
DatabaseEntry priKey)
For internal use only.
|
ForeignConstraintException(com.sleepycat.je.txn.Locker locker,
String message,
String secDbName,
DatabaseEntry secKey,
DatabaseEntry priKey)
For internal use only.
|
SecondaryConstraintException(com.sleepycat.je.txn.Locker locker,
String message,
String secDbName,
DatabaseEntry secKey,
DatabaseEntry priKey)
For internal use only.
|
SecondaryIntegrityException(com.sleepycat.je.txn.Locker locker,
String message,
String secDbName,
DatabaseEntry secKey,
DatabaseEntry priKey)
For internal use only.
|
SecondaryReferenceException(com.sleepycat.je.txn.Locker locker,
String message,
String secDbName,
DatabaseEntry secKey,
DatabaseEntry priKey)
For internal use only.
|
UniqueConstraintException(com.sleepycat.je.txn.Locker locker,
String message,
String secDbName,
DatabaseEntry secKey,
DatabaseEntry priKey)
For internal use only.
|
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.