- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Tuple

# Metaspace.Tuple

## Description

Tuple functions

## Functions

Name | Signature and Synopsis
--- | ---
`clear` | `void clear (Object tuple)` Removes all the fields in the Tuple.
`containsKey` | `boolean containsKey (Object tuple, Object key)` Returns true if the tuple contains the specified key.
`containsValue` | `boolean containsValue (Object tuple, Object value)` Returns true if the tuple contains the value Object.
`create` | `Object create ()` Returns a newly created Tuple.
`deserialize` | `void deserialize (Object tuple, Object data)` Deserializes byte[] to the Tuple.
`entrySet` | `Object entrySet (Object tuple)` Returns the entrySet from the Tuple.
`exists` | `boolean exists (Object tuple, String key)` Returns true if the parameter key exists in the Tuple.
`get` | `Object get (Object tuple, String key)` Returns the object from the Tuple based on the key.
`getBlob` | `Object getBlob (Object tuple, String key)` Returns a BLOB byte[] object based on the key.
`getBoolean` | `boolean getBoolean (Object tuple, String key)` Returns the Boolean object based on the specified key from the Tuple.
`getChar` | `Object getChar (Object tuple, String key)` Returns the Char object based on the specified key from the Tuple.
`getDateTime` | `Object getDateTime (Object tuple, String key)` Returns the Calendar datetime based on the specified key from the Tuple.
`getDouble` | `double getDouble (Object tuple, String key)` Returns the Double Object based on the specified key from the Tuple Object.
`getFieldNames` | `Object getFieldNames (Object tuple)` Returns a Collection of field names from the Tuple.
`getFieldType` | `Object getFieldType (Object tuple, String key)` Returns the Field type class for the given key.
`getFloat` | `double getFloat (Object tuple, String key)` Returns a Float object based on the specified key from the Tuple.
`getInt` | `int getInt (Object tuple, String key)` Returns the Integer object based on the specified key from the Tuple.
`getLong` | `long getLong (Object tuple, String key)` Returns the Long object based on the specified key from the Tuple.
`getShort` | `int getShort (Object tuple, String key)` Returns the Short object based on the specified key from the Tuple.
`getString` | `String getString (Object tuple, String key)` Returns the String object based on the specified key from the Tuple.
`isEmpty` | `boolean isEmpty (Object tuple)` Returns true if the tuple is empty.
`isNull` | `boolean isNull (Object tuple, String key)` Returns true if the Object value at the specified key is null from the Tuple.
`keySet` | `Object keySet (Object tuple)` Returns the keySet for the specified tuple.
`put` | `Object put (Object tuple, String key, Object value)` Puts the Object value for the specified key into the Tuple.
`putAll` | `void putAll (Object tuple, Object input)` Puts Tuple key value pairs from input tuple to the specified Tuple Object.
`putBlob` | `Object putBlob (Object tuple, String key, Object value)` Puts a BLOB value for the specified key into the Tuple.
`putBoolean` | `Object putBoolean (Object tuple, String key, boolean value)` Puts a Boolean object based on the specified key into the Tuple.
`putChar` | `Object putChar (Object tuple, String key, Object value)` Puts a Char object based on the specified key into the Tuple.
`putDateTime` | `Object putDateTime (Object tuple, String key, Object value)` Puts a Calendar object based on the specified key into the Tuple.
`putDouble` | `Object putDouble (Object tuple, String key, double value)` Puts a Double object based on the specified key into the Tuple.
`putFloat` | `Object putFloat (Object tuple, String key, Object value)` Puts a Float object based on the specified key into the Tuple.
`putInt` | `Object putInt (Object tuple, String key, int value)` Puts a Integer object based on the specified key into the Tuple.
`putLong` | `Object putLong (Object tuple, String key, long value)` Puts a Long object based on the specified key into the Tuple.
`putObject` | `Object putObject (Object tuple, Object keys, Object values)` Puts a Object based on the specified key into the Tuple
`putShort` | `Object putShort (Object tuple, String key, Object value)` Puts a Short object based on the specified key into the Tuple.
`putString` | `Object putString (Object tuple, String key, String value)` Puts a String object based on the specified key into the Tuple.
`remove` | `Object remove (Object tuple, String key)` Removed an object from the Tuple based on the specified key.
`serialize` | `Object serialize (Object tuple)` Serializes the tuple.
`size` | `int size (Object tuple)` Returns a count of key-value pairs in the Tuple, else 0
`values` | `Object values (Object tuple)` Returns the collection of value Objects from the Tuple.