|
Berkeley
DB Java Edition version 1.7.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
DatabaseException
.
TupleBinding
for a Boolean
primitive wrapper or a boolean
primitive.
EntryBinding
that uses the entry's
byte array as the key or data object.
TupleBinding
for a Byte
primitive wrapper or a byte
primitive.
boolean
value into an entry
buffer.
byte
value into an entry
buffer.
TupleBinding
for a Character
primitive wrapper or a char
primitive.
char
value into an entry
buffer.
StoredIterator.close()
if it is a StoredIterator
.
Environment.checkpoint
.
TupleBinding
for a Double
primitive wrapper or a double
primitive.
double
value into an entry
buffer.
SecondaryCursor
for the same
transaction as the original cursor.
SecondaryCursor
.
ExceptionWrapper.getDetail()
method for exceptions that implement the ExceptionWrapper
interface.
boolean
value.
byte
value.
char
value.
double
value.
float
value.
int
value.
long
value.
TupleInput
key entry and deserialized data entry objects.
TupleInput
entry.
TupleInput
key and data entries.
short
value.
String
value.
Map.Entry.equals(java.lang.Object)
.
TupleBinding
for a Float
primitive wrapper or a float
primitive.
float
value into an entry
buffer.
Environment.verify
and Database.verify
are configured to perform fine granularity consistency checking that
includes verifying in memory constructs.
Environment.openDatabase
method is configured to create the database if it does not already
exist.
run()
is called when a transaction is already active for the current thread.
Environment
handle
for the database environment underlying the Database
.
Environment.openDatabase
method is configured to fail if the database already exists.
SecondaryKeyCreator
object for use in
configuring a SecondaryDatabase
.
Database
associated
with this cursor.
Environment.verify
and Database.verify
are configured to print basic verification information to System.out.
Environment.verify
and Database.verify
are configured to propagate exceptions found during verification.
SecondaryDatabase
objects associated with a primary database.
Environment.beginTransaction(com.sleepycat.je.Transaction,
com.sleepycat.je.TransactionConfig)
.
Map.Entry.hashCode()
.
TupleBinding
for a Integer
primitive wrapper or an int
primitive.
int
value into an entry buffer.
JoinCursor
.
TupleBinding
for a Long
primitive wrapper or a long
primitive.
long
value into an entry
buffer.
Map.Entry
implementation that can be
used as in input parameter.
Database
.
SecondaryCursor
.
SecondaryDatabase
.
read() but does not
throw IOException
.
- readFast(byte[])
- Method in class com.sleepycat.util.FastInputStream
- Equivalent to
read(byte[]) but does
not throw IOException
.
- readFast(byte[],
int, int) - Method in class com.sleepycat.util.FastInputStream
- Equivalent to
read(byte[],int,int)
but does not throw IOException
.
- readFloat()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed float (four byte) value from the buffer.
- readInt()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed int (four byte) value from the buffer.
- readLong()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed long (eight byte) value from the buffer.
- readShort()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed short (two byte) value from the buffer.
- readString()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a null-terminated UTF string from the data buffer and
converts the data from UTF to Unicode.
- readString(int)
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads the specified number of UTF characters string from the
data buffer and converts the data from UTF to Unicode.
- readString(char[])
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads the specified number of UTF characters string from the
data buffer and converts the data from UTF to Unicode.
- readUnsignedByte()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads an unsigned byte (one byte) value from the buffer.
- readUnsignedInt()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads an unsigned int (four byte) value from the buffer.
- readUnsignedShort()
- Method in class com.sleepycat.bind.tuple.TupleInput
- Reads an unsigned short (two byte) value from the buffer.
- remove(Object)
- Method in class com.sleepycat.collections.StoredEntrySet
- Removes the specified element from this set if it is present
(optional operation).
- remove()
- Method in class com.sleepycat.collections.StoredIterator
- Removes the last element that was returned by next or previous
(optional operation).
- remove(Object)
- Method in class com.sleepycat.collections.StoredKeySet
- Removes the specified key from this set if it is present
(optional operation).
- remove(Object)
- Method in class com.sleepycat.collections.StoredMap
- Removes the mapping for this key from this map if present
(optional operation).
- remove(Object)
- Method in class com.sleepycat.collections.StoredValueSet
- Removes the specified value from this set if it is present
(optional operation).
- removeAll(Collection)
- Method in class com.sleepycat.collections.StoredCollection
- Removes all this collection's elements that are also contained
in the specified collection (optional operation).
- removeDatabase(Transaction,
String) - Method in class com.sleepycat.je.Environment
- Remove a database.
- renameDatabase(Transaction,
String, String) - Method in class com.sleepycat.je.Environment
- Rename a database.
- reset()
- Method in class com.sleepycat.util.FastInputStream
-
- reset()
- Method in class com.sleepycat.util.FastOutputStream
-
- retainAll(Collection)
- Method in class com.sleepycat.collections.StoredCollection
- Retains only the elements in this collection that are
contained in the specified collection (optional operation).
- run(TransactionWorker)
- Method in class com.sleepycat.collections.TransactionRunner
- Calls the
TransactionWorker.doWork()
method and, for transactional environments, may begin and end a
transaction.
SecondaryDatabase
extend those of a primary Database
.
SecondaryDatabase
are created.
EntryBinding
that treats a key or data
entry as a serialized object.
ObjectInputStream
that gets class
description information from a ClassCatalog
.
ObjectOutputStream
that stores
class description information in a ClassCatalog
.
EntityBinding
that treats an entity's
key entry and data entry as serialized objects.
TupleBinding
for a Short
primitive wrapper or a short
primitive.
ClassCatalog
that is stored in a Database
.
Database
.
Database
.
Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
.
Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
.
Database
.
TupleBinding
for a simple String
value.
Environment.verify
and Database.verify
to perform fine granularity consistency checking that includes
verifying in memory constructs.
Environment.openDatabase
method to create the database if it does not already exist.
run()
is called when a transaction is already active for the current thread.
Environment.openDatabase
method to fail if the database already exists.
Environment.verify
and Database.verify
to print basic verification information to System.out.
Environment.verify
and Database.verify
to propagate exceptions found during verification.
Environment.beginTransaction(com.sleepycat.je.Transaction,
com.sleepycat.je.TransactionConfig)
.
UnsupportedOperationException
since
this object is not attached to a map.
short
value into an entry
buffer.
String
value into an entry
buffer.
TransactionWorker.doWork()
,
and handles transaction retry and exceptions.
EntryBinding
that treats a key or
data entry as a tuple; it includes predefined bindings for Java
primitive types.
InputStream
with DataInput
-like
methods for reading tuple fields.
EntryBinding
that uses the TupleInput
object as the key or data object.
TupleBinding
that delegates to the MarshalledTupleEntry
interface of the data or key object.
OutputStream
with DataOutput
-like
methods for writing tuple fields.
EntityBinding
that treats an entity's
key entry as a tuple and its data entry as a serialized object.
TupleSerialBinding
that delegates to
the MarshalledTupleKeyEntity
interface of the entity
class.
TupleSerialMarshalledBinding
.
EntityBinding
that treats an entity's
key entry and data entry as tuples.
TupleTupleBinding
that delegates to
the MarshalledTupleEntry
and MarshalledTupleKeyEntity
interfaces of the entity class.
TupleTupleMarshalledBinding
.
Environment.truncateDatabase(Transaction,
String, boolean)
.
The Database class is thread safe and may be used concurrently by multiple threads, using multiple transactions. It was not possible to supply correct transactional semantics for this method in all cases without imposing a performance penalty on all operations. Specifically, a truncate operation executed within one transaction can be incorrectly seen before commit by other transactions if those later transactions use the same Database handle.
The replacement method, Environment.truncateDatabase(), avoids these issues because all Database handles must be closed before the truncateDatabase() method is called.
write(int) but does
not throw IOException
.
- writeFast(byte[])
- Method in class com.sleepycat.util.FastOutputStream
- Equivalent to
write(byte[]) but does
not throw IOException
.
- writeFast(byte[],
int, int) - Method in class com.sleepycat.util.FastOutputStream
- Equivalent to
write(byte[],int,int)
but does not throw IOException
.
- writeFloat(float)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed float (four byte) value to the buffer.
- writeInt(int)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed int (four byte) value to the buffer.
- writeLong(long)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed long (eight byte) value to the buffer.
- writeShort(int)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed short (two byte) value to the buffer.
- writeString(String)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes the specified characters to the buffer, converting each
character to UTF format, and adding a null terminator byte.
- writeString(char[])
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes the specified characters to the buffer, converting each
character to UTF format.
- writeTo(OutputStream)
- Method in class com.sleepycat.util.FastOutputStream
-
- writeUnsignedByte(int)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an unsigned byte (one byte) value to the buffer.
- writeUnsignedInt(long)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an unsigned int (four byte) value to the buffer.
- writeUnsignedShort(int)
- Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an unsigned short (two byte) value to the buffer.
|
Berkeley
DB Java Edition version 1.7.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |