Berkeley DB
version 4.3.29

Uses of Class
com.sleepycat.bind.tuple.TupleOutput

Packages that use TupleOutput
com.sleepycat.bind.serial Bindings that use Java serialization. 
com.sleepycat.bind.tuple Bindings that use sequences of primitive fields, or tuples. 
 

Uses of TupleOutput in com.sleepycat.bind.serial
 

Methods in com.sleepycat.bind.serial with parameters of type TupleOutput
 boolean TupleSerialMarshalledKeyCreator.createSecondaryKey(TupleInput primaryKeyInput, Object dataInput, TupleOutput indexKeyOutput)
           
 void TupleSerialMarshalledBinding.objectToKey(Object object, TupleOutput output)
           
abstract  boolean TupleSerialKeyCreator.createSecondaryKey(TupleInput primaryKeyInput, Object dataInput, TupleOutput indexKeyOutput)
          Creates the index key entry from primary key tuple entry and deserialized data entry.
abstract  void TupleSerialBinding.objectToKey(Object object, TupleOutput keyOutput)
          Extracts a key tuple from an entity object.
 

Uses of TupleOutput in com.sleepycat.bind.tuple
 

Methods in com.sleepycat.bind.tuple that return TupleOutput
 TupleOutput TupleOutput.writeBytes(String val)
          Writes the specified bytes to the buffer, converting each character to an unsigned byte value.
 TupleOutput TupleOutput.writeChars(String val)
          Writes the specified characters to the buffer, converting each character to a two byte unsigned value.
 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.writeChar(int val)
          Writes a char (two byte) unsigned value to the buffer.
 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.writeShort(int val)
          Writes an signed short (two 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.writeFloat(float val)
          Writes an signed float (four byte) value to the buffer.
 TupleOutput TupleOutput.writeDouble(double val)
          Writes an signed double (eight 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.writeChars(char[] chars)
          Writes the specified characters to the buffer, converting each character to a two byte unsigned value.
 TupleOutput TupleOutput.writeString(char[] chars)
          Writes the specified characters to the buffer, converting each character to UTF format.
 TupleOutput TupleOutput.writeUnsignedByte(int val)
          Writes an unsigned byte (one byte) value to the buffer.
 TupleOutput TupleOutput.writeUnsignedShort(int val)
          Writes an unsigned short (two byte) value to the buffer.
 TupleOutput TupleOutput.writeUnsignedInt(long val)
          Writes an unsigned int (four byte) value to the buffer.
static TupleOutput TupleBinding.newOutput()
          Utility method for use by bindings to create a tuple output object.
static TupleOutput TupleBinding.newOutput(byte[] buffer)
          Utility method for use by bindings to create a tuple output object with a specific starting size.
 

Methods in com.sleepycat.bind.tuple with parameters of type TupleOutput
 boolean TupleTupleMarshalledKeyCreator.createSecondaryKey(TupleInput primaryKeyInput, TupleInput dataInput, TupleOutput indexKeyOutput)
           
 boolean TupleTupleMarshalledKeyCreator.nullifyForeignKey(TupleInput dataInput, TupleOutput dataOutput)
           
 void TupleTupleMarshalledBinding.objectToKey(Object object, TupleOutput output)
           
 void TupleTupleMarshalledBinding.objectToData(Object object, TupleOutput output)
           
abstract  boolean TupleTupleKeyCreator.createSecondaryKey(TupleInput primaryKeyInput, TupleInput dataInput, TupleOutput indexKeyOutput)
          Creates the index key from primary key tuple and data tuple.
 boolean TupleTupleKeyCreator.nullifyForeignKey(TupleInput dataInput, TupleOutput dataOutput)
          Clears the index key in the tuple data entry.
abstract  void TupleTupleBinding.objectToKey(Object object, TupleOutput output)
          Extracts a key tuple from an entity object.
abstract  void TupleTupleBinding.objectToData(Object object, TupleOutput output)
          Extracts a key tuple from an entity object.
 void TupleMarshalledBinding.objectToEntry(Object object, TupleOutput output)
           
static void TupleBinding.outputToEntry(TupleOutput output, DatabaseEntry entry)
          Utility method to set the data in a entry buffer to the data in a tuple output object.
abstract  void TupleBinding.objectToEntry(Object object, TupleOutput output)
          Converts a key or data object to a tuple entry.
 void StringBinding.objectToEntry(Object object, TupleOutput output)
           
 void ShortBinding.objectToEntry(Object object, TupleOutput output)
           
 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.
 void MarshalledTupleEntry.marshalEntry(TupleOutput dataOutput)
          Construct the key or data tuple entry from the key or data object.
 void LongBinding.objectToEntry(Object object, TupleOutput output)
           
 void IntegerBinding.objectToEntry(Object object, TupleOutput output)
           
 void FloatBinding.objectToEntry(Object object, TupleOutput output)
           
 void DoubleBinding.objectToEntry(Object object, TupleOutput output)
           
 void CharacterBinding.objectToEntry(Object object, TupleOutput output)
           
 void ByteBinding.objectToEntry(Object object, TupleOutput output)
           
 void BooleanBinding.objectToEntry(Object object, TupleOutput output)
           
 

Constructors in com.sleepycat.bind.tuple with parameters of type TupleOutput
TupleInput(TupleOutput output)
          Creates a tuple input object from the data contained in a tuple output object.
 


Berkeley DB
version 4.3.29

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.