Metaspace.Tuple

Description

Tuple functions

Functions

NameSignature and Synopsis
clearvoid clear (Object tuple)
Removes all the fields in the Tuple.
containsKeyboolean containsKey (Object tuple, Object key)
Returns true if the tuple contains the specified key.
containsValueboolean containsValue (Object tuple, Object value)
Returns true if the tuple contains the value Object.
createObject create ()
Returns a newly created Tuple.
deserializevoid deserialize (Object tuple, Object data)
Deserializes byte[] to the Tuple.
entrySetObject entrySet (Object tuple)
Returns the entrySet from the Tuple.
existsboolean exists (Object tuple, String key)
Returns true if the parameter key exists in the Tuple.
getObject get (Object tuple, String key)
Returns the object from the Tuple based on the key.
getBlobObject getBlob (Object tuple, String key)
Returns a BLOB byte[] object based on the key.
getBooleanboolean getBoolean (Object tuple, String key)
Returns the Boolean object based on the specified key from the Tuple.
getCharObject getChar (Object tuple, String key)
Returns the Char object based on the specified key from the Tuple.
getDateTimeObject getDateTime (Object tuple, String key)
Returns the Calendar datetime based on the specified key from the Tuple.
getDoubledouble getDouble (Object tuple, String key)
Returns the Double Object based on the specified key from the Tuple Object.
getFieldNamesObject getFieldNames (Object tuple)
Returns a Collection of field names from the Tuple.
getFieldTypeObject getFieldType (Object tuple, String key)
Returns the Field type class for the given key.
getFloatdouble getFloat (Object tuple, String key)
Returns a Float object based on the specified key from the Tuple.
getIntint getInt (Object tuple, String key)
Returns the Integer object based on the specified key from the Tuple.
getLonglong getLong (Object tuple, String key)
Returns the Long object based on the specified key from the Tuple.
getShortint getShort (Object tuple, String key)
Returns the Short object based on the specified key from the Tuple.
getStringString getString (Object tuple, String key)
Returns the String object based on the specified key from the Tuple.
isEmptyboolean isEmpty (Object tuple)
Returns true if the tuple is empty.
isNullboolean isNull (Object tuple, String key)
Returns true if the Object value at the specified key is null from the Tuple.
keySetObject keySet (Object tuple)
Returns the keySet for the specified tuple.
putObject put (Object tuple, String key, Object value)
Puts the Object value for the specified key into the Tuple.
putAllvoid putAll (Object tuple, Object input)
Puts Tuple key value pairs from input tuple to the specified Tuple Object.
putBlobObject putBlob (Object tuple, String key, Object value)
Puts a BLOB value for the specified key into the Tuple.
putBooleanObject putBoolean (Object tuple, String key, boolean value)
Puts a Boolean object based on the specified key into the Tuple.
putCharObject putChar (Object tuple, String key, Object value)
Puts a Char object based on the specified key into the Tuple.
putDateTimeObject putDateTime (Object tuple, String key, Object value)
Puts a Calendar object based on the specified key into the Tuple.
putDoubleObject putDouble (Object tuple, String key, double value)
Puts a Double object based on the specified key into the Tuple.
putFloatObject putFloat (Object tuple, String key, Object value)
Puts a Float object based on the specified key into the Tuple.
putIntObject putInt (Object tuple, String key, int value)
Puts a Integer object based on the specified key into the Tuple.
putLongObject putLong (Object tuple, String key, long value)
Puts a Long object based on the specified key into the Tuple.
putObjectObject putObject (Object tuple, Object keys, Object values)
Puts a Object based on the specified key into the Tuple
putShortObject putShort (Object tuple, String key, Object value)
Puts a Short object based on the specified key into the Tuple.
putStringObject putString (Object tuple, String key, String value)
Puts a String object based on the specified key into the Tuple.
removeObject remove (Object tuple, String key)
Removed an object from the Tuple based on the specified key.
serializeObject serialize (Object tuple)
Serializes the tuple.
sizeint size (Object tuple)
Returns a count of key-value pairs in the Tuple, else 0
valuesObject values (Object tuple)
Returns the collection of value Objects from the Tuple.