Package | Description |
---|---|
com.sleepycat.bind.serial |
Bindings that use Java serialization.
|
com.sleepycat.bind.tuple |
Bindings that use sequences of primitive fields, or tuples.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TupleSerialMarshalledKeyCreator.createSecondaryKey(TupleInput primaryKeyInput,
D dataInput,
TupleOutput indexKeyOutput) |
abstract boolean |
TupleSerialKeyCreator.createSecondaryKey(TupleInput primaryKeyInput,
D dataInput,
TupleOutput indexKeyOutput)
Creates the index key entry from primary key tuple entry and
deserialized data entry.
|
abstract void |
TupleSerialBinding.objectToKey(E object,
TupleOutput keyOutput)
Extracts a key tuple from an entity object.
|
void |
TupleSerialMarshalledBinding.objectToKey(E object,
TupleOutput output) |
Modifier and Type | Method and Description |
---|---|
protected TupleOutput |
BigDecimalBinding.getTupleOutput(BigDecimal object) |
protected TupleOutput |
SortedBigDecimalBinding.getTupleOutput(BigDecimal object) |
protected TupleOutput |
BigIntegerBinding.getTupleOutput(BigInteger object) |
protected TupleOutput |
BooleanBinding.getTupleOutput(Boolean object) |
protected TupleOutput |
ByteBinding.getTupleOutput(Byte object) |
protected TupleOutput |
CharacterBinding.getTupleOutput(Character object) |
protected TupleOutput |
DoubleBinding.getTupleOutput(Double object) |
protected TupleOutput |
SortedDoubleBinding.getTupleOutput(Double object) |
protected TupleOutput |
TupleBase.getTupleOutput(E object)
Returns an empty TupleOutput instance that will be used by the tuple
binding or key creator.
|
protected TupleOutput |
SortedFloatBinding.getTupleOutput(Float object) |
protected TupleOutput |
FloatBinding.getTupleOutput(Float object) |
protected TupleOutput |
SortedPackedIntegerBinding.getTupleOutput(Integer object) |
protected TupleOutput |
IntegerBinding.getTupleOutput(Integer object) |
protected TupleOutput |
PackedIntegerBinding.getTupleOutput(Integer object) |
protected TupleOutput |
LongBinding.getTupleOutput(Long object) |
protected TupleOutput |
SortedPackedLongBinding.getTupleOutput(Long object) |
protected TupleOutput |
PackedLongBinding.getTupleOutput(Long object) |
protected TupleOutput |
ShortBinding.getTupleOutput(Short object) |
protected TupleOutput |
StringBinding.getTupleOutput(String object) |
static TupleOutput |
TupleBase.newOutput()
Deprecated.
replaced by
TupleBase.getTupleOutput(E) |
static TupleOutput |
TupleBase.newOutput(byte[] buffer)
Deprecated.
replaced by
TupleBase.getTupleOutput(E) |
TupleOutput |
TupleOutput.writeBigDecimal(BigDecimal val)
Writes an unsorted
BigDecimal . |
TupleOutput |
TupleOutput.writeBigInteger(BigInteger val)
Writes a
BigInteger . |
TupleOutput |
TupleOutput.writeBoolean(boolean val)
Writes a boolean (one byte) unsigned value to the buffer, writing one
if the value is true and zero if it is false.
|
TupleOutput |
TupleOutput.writeByte(int val)
Writes an signed byte (one byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeBytes(char[] chars)
Writes the specified bytes to the buffer, converting each character to
an unsigned byte value.
|
TupleOutput |
TupleOutput.writeBytes(String val)
Writes the specified bytes to the buffer, converting each character to
an unsigned byte value.
|
TupleOutput |
TupleOutput.writeChar(int val)
Writes a char (two byte) unsigned value to the buffer.
|
TupleOutput |
TupleOutput.writeChars(char[] chars)
Writes the specified characters to the buffer, converting each character
to a two byte unsigned value.
|
TupleOutput |
TupleOutput.writeChars(String val)
Writes the specified characters to the buffer, converting each character
to a two byte unsigned value.
|
TupleOutput |
TupleOutput.writeDouble(double val)
Writes an unsorted double (eight byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeFloat(float val)
Writes an unsorted float (four byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeInt(int val)
Writes an signed int (four byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeLong(long val)
Writes an signed long (eight byte) value to the buffer.
|
TupleOutput |
TupleOutput.writePackedInt(int val)
Writes an unsorted packed integer.
|
TupleOutput |
TupleOutput.writePackedLong(long val)
Writes an unsorted packed long integer.
|
TupleOutput |
TupleOutput.writeShort(int val)
Writes an signed short (two byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeSortedBigDecimal(BigDecimal val)
Writes a sorted
BigDecimal . |
TupleOutput |
TupleOutput.writeSortedDouble(double val)
Writes a sorted double (eight byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeSortedFloat(float val)
Writes a sorted float (four byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeSortedPackedInt(int val)
Writes a sorted packed integer.
|
TupleOutput |
TupleOutput.writeSortedPackedLong(long val)
Writes a sorted packed long integer.
|
TupleOutput |
TupleOutput.writeString(char[] chars)
Writes the specified characters to the buffer, converting each character
to UTF format.
|
TupleOutput |
TupleOutput.writeString(String val)
Writes the specified characters to the buffer, converting each character
to UTF format, and adding a null terminator byte.
|
TupleOutput |
TupleOutput.writeUnsignedByte(int val)
Writes an unsigned byte (one byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeUnsignedInt(long val)
Writes an unsigned int (four byte) value to the buffer.
|
TupleOutput |
TupleOutput.writeUnsignedShort(int val)
Writes an unsigned short (two byte) value to the buffer.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
TupleTupleKeyCreator.createSecondaryKey(TupleInput primaryKeyInput,
TupleInput dataInput,
TupleOutput indexKeyOutput)
Creates the index key from primary key tuple and data tuple.
|
boolean |
TupleTupleMarshalledKeyCreator.createSecondaryKey(TupleInput primaryKeyInput,
TupleInput dataInput,
TupleOutput indexKeyOutput) |
void |
MarshalledTupleEntry.marshalEntry(TupleOutput dataOutput)
Construct the key or data tuple entry from the key or data object.
|
void |
MarshalledTupleKeyEntity.marshalPrimaryKey(TupleOutput keyOutput)
Extracts the entity's primary key and writes it to the key output.
|
boolean |
MarshalledTupleKeyEntity.marshalSecondaryKey(String keyName,
TupleOutput keyOutput)
Extracts the entity's secondary key and writes it to the key output.
|
boolean |
TupleTupleKeyCreator.nullifyForeignKey(TupleInput dataInput,
TupleOutput dataOutput)
Clears the index key in the tuple data entry.
|
boolean |
TupleTupleMarshalledKeyCreator.nullifyForeignKey(TupleInput dataInput,
TupleOutput dataOutput) |
abstract void |
TupleTupleBinding.objectToData(E object,
TupleOutput output)
Extracts a key tuple from an entity object.
|
void |
TupleTupleMarshalledBinding.objectToData(E object,
TupleOutput output) |
void |
BigDecimalBinding.objectToEntry(BigDecimal object,
TupleOutput output) |
void |
SortedBigDecimalBinding.objectToEntry(BigDecimal object,
TupleOutput output) |
void |
BigIntegerBinding.objectToEntry(BigInteger object,
TupleOutput output) |
void |
BooleanBinding.objectToEntry(Boolean object,
TupleOutput output) |
void |
ByteBinding.objectToEntry(Byte object,
TupleOutput output) |
void |
CharacterBinding.objectToEntry(Character object,
TupleOutput output) |
void |
DoubleBinding.objectToEntry(Double object,
TupleOutput output) |
void |
SortedDoubleBinding.objectToEntry(Double object,
TupleOutput output) |
abstract void |
TupleBinding.objectToEntry(E object,
TupleOutput output)
Converts a key or data object to a tuple entry.
|
void |
TupleMarshalledBinding.objectToEntry(E object,
TupleOutput output) |
void |
SortedFloatBinding.objectToEntry(Float object,
TupleOutput output) |
void |
FloatBinding.objectToEntry(Float object,
TupleOutput output) |
void |
SortedPackedIntegerBinding.objectToEntry(Integer object,
TupleOutput output) |
void |
IntegerBinding.objectToEntry(Integer object,
TupleOutput output) |
void |
PackedIntegerBinding.objectToEntry(Integer object,
TupleOutput output) |
void |
LongBinding.objectToEntry(Long object,
TupleOutput output) |
void |
SortedPackedLongBinding.objectToEntry(Long object,
TupleOutput output) |
void |
PackedLongBinding.objectToEntry(Long object,
TupleOutput output) |
void |
ShortBinding.objectToEntry(Short object,
TupleOutput output) |
void |
StringBinding.objectToEntry(String object,
TupleOutput output) |
abstract void |
TupleTupleBinding.objectToKey(E object,
TupleOutput output)
Extracts a key tuple from an entity object.
|
void |
TupleTupleMarshalledBinding.objectToKey(E object,
TupleOutput output) |
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.
|
Constructor and Description |
---|
TupleInput(TupleOutput output)
Creates a tuple input object from the data contained in a tuple output
object.
|
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.