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 |
---|---|
abstract boolean |
TupleSerialKeyCreator.createSecondaryKey(TupleInput primaryKeyInput,
D dataInput,
TupleOutput indexKeyOutput)
Creates the index key entry from primary key tuple entry and
deserialized data entry.
|
boolean |
TupleSerialMarshalledKeyCreator.createSecondaryKey(TupleInput primaryKeyInput,
D dataInput,
TupleOutput indexKeyOutput) |
void |
TupleSerialMarshalledBinding.objectToKey(E object,
TupleOutput output) |
abstract void |
TupleSerialBinding.objectToKey(E object,
TupleOutput keyOutput)
Extracts a key tuple from an entity object.
|
Modifier and Type | Method and Description |
---|---|
protected TupleOutput |
BigDecimalBinding.getTupleOutput(java.math.BigDecimal object) |
protected TupleOutput |
SortedBigDecimalBinding.getTupleOutput(java.math.BigDecimal object) |
protected TupleOutput |
BigIntegerBinding.getTupleOutput(java.math.BigInteger object) |
protected TupleOutput |
BooleanBinding.getTupleOutput(java.lang.Boolean object) |
protected TupleOutput |
ByteBinding.getTupleOutput(java.lang.Byte object) |
protected TupleOutput |
CharacterBinding.getTupleOutput(java.lang.Character object) |
protected TupleOutput |
DoubleBinding.getTupleOutput(java.lang.Double object) |
protected TupleOutput |
SortedDoubleBinding.getTupleOutput(java.lang.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 |
FloatBinding.getTupleOutput(java.lang.Float object) |
protected TupleOutput |
SortedFloatBinding.getTupleOutput(java.lang.Float object) |
protected TupleOutput |
IntegerBinding.getTupleOutput(java.lang.Integer object) |
protected TupleOutput |
SortedPackedIntegerBinding.getTupleOutput(java.lang.Integer object) |
protected TupleOutput |
PackedIntegerBinding.getTupleOutput(java.lang.Integer object) |
protected TupleOutput |
SortedPackedLongBinding.getTupleOutput(java.lang.Long object) |
protected TupleOutput |
PackedLongBinding.getTupleOutput(java.lang.Long object) |
protected TupleOutput |
LongBinding.getTupleOutput(java.lang.Long object) |
protected TupleOutput |
ShortBinding.getTupleOutput(java.lang.Short object) |
protected TupleOutput |
StringBinding.getTupleOutput(java.lang.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(java.math.BigDecimal val)
Writes an unsorted
BigDecimal . |
TupleOutput |
TupleOutput.writeBigInteger(java.math.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(java.lang.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(java.lang.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(java.math.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(java.lang.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(java.lang.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(java.math.BigDecimal object,
TupleOutput output) |
void |
SortedBigDecimalBinding.objectToEntry(java.math.BigDecimal object,
TupleOutput output) |
void |
BigIntegerBinding.objectToEntry(java.math.BigInteger object,
TupleOutput output) |
void |
BooleanBinding.objectToEntry(java.lang.Boolean object,
TupleOutput output) |
void |
ByteBinding.objectToEntry(java.lang.Byte object,
TupleOutput output) |
void |
CharacterBinding.objectToEntry(java.lang.Character object,
TupleOutput output) |
void |
DoubleBinding.objectToEntry(java.lang.Double object,
TupleOutput output) |
void |
SortedDoubleBinding.objectToEntry(java.lang.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 |
FloatBinding.objectToEntry(java.lang.Float object,
TupleOutput output) |
void |
SortedFloatBinding.objectToEntry(java.lang.Float object,
TupleOutput output) |
void |
IntegerBinding.objectToEntry(java.lang.Integer object,
TupleOutput output) |
void |
SortedPackedIntegerBinding.objectToEntry(java.lang.Integer object,
TupleOutput output) |
void |
PackedIntegerBinding.objectToEntry(java.lang.Integer object,
TupleOutput output) |
void |
SortedPackedLongBinding.objectToEntry(java.lang.Long object,
TupleOutput output) |
void |
PackedLongBinding.objectToEntry(java.lang.Long object,
TupleOutput output) |
void |
LongBinding.objectToEntry(java.lang.Long object,
TupleOutput output) |
void |
ShortBinding.objectToEntry(java.lang.Short object,
TupleOutput output) |
void |
StringBinding.objectToEntry(java.lang.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, 2017 Oracle and/or its affiliates. All rights reserved.