Tuple
A tuple is similar to a row in a database table: it is a container for data. More specifically, it is a sequence of named elements called fields (similar to the columns in a database table) which contain values of a specific type. Each tuple in a space represents a set of related data.
- tibasTuple_Create()
Returns a new, empty tuple instance. - tibasTuple_Clone()
Returns a copy of a specified tuple instance. The return type is either tibas_ok or ERROR. - tibasTuple_GetBoolean()
Returns the boolean value stored in the field with the specified name. - tibasTuple_GetChar()
Returns the char value stored in a field with the specified name. - tibasTuple_GetShort()
Returns the short value stored in the field with the specified name. - tibasTuple_GetInt()
Returns the int value stored in the field with the specified name. - tibasTuple_GetLong()
Returns the long value stored in the field with the specified name. - tibasTuple_GetFloat()
Returns the float value stored in the field with the specified name. - tibasTuple_GetDouble()
Returns the double value stored in the field with the specified name. - tibasTuple_GetString()
Returns the string value stored in the field with the specified name. - tibasTuple_GetDateTime()
Returns the datetime value stored in the field with the specified name. - tibasTuple_GetBlob()
Returns the binary large object (BLOB) value stored in the field with the specified name. - tibasTuple_PutBoolean()
Stores a boolean value in a specified field with the specified name. - tibasTuple_PutChar()
Stores a char value in the field with the specified name. - tibasTuple_PutShort()
Stores a short value in the field with the specified name. - tibasTuple_PutInt()
Stores an integer value in the field with the specified name. - tibasTuple_PutLong()
Stores a long value in a specified tuple with a specified fieldname. - tibasTuple_PutFloat()
Stores a float value in the field with the specified name. - tibasTuple_PutDouble()
Stores a double value in a specified field in a specified tuple. - tibasTuple_PutString()
Stores a string value in a specified field in a specified tuple. - tibasTuple_PutDateTime()
Stores a datetime value in a specified field in a specified tuple. - tibasTuple_PutBlob()
Stores a binary large object (BLOB) value in a specified field in a specified tuple. - tibasTuple_Remove()
Removes a specified field from a specified tuple. - tibasTuple_Size()
Returns the number of fields contained in a specified tuple. - tibasTuple_Clear()
Clears the data for the specified tuple. - tibasTuple_ToString()
Creates a string representation of the specified tuple. - tibasTuple_Serialize()
Serializes the tuple into a string of bytes. - tibasTuple_Deserialize()
Creates a tuple object from a serialized form of a tuple. - tibasTuple_IsNull()
Returns a boolean value indicating whether or not the specified tuple field is null (such as when it is not present in the tuple). - tibasTuple_Exists()
Returns a boolean value indicating whether the specified field exists. - tibasTuple_GetFieldNames()
Returns an array of names of fields inside the specified tuple. - tibasTuple_GetFieldType()
Returns the type of the specified field. - tibasTuple_PutAll()
Puts a collection of fields into the tuple. - tibasTuple_Eval()
Evaluates if a specified tuple passes a specified filter. - tibasTuple_Free()
Destroys allocated resources and frees memory. - tibasTuple_Compare()
Compares two tuples. Returns 0 if the tuples have the same value and a non-zero number if they are different.
Copyright © Cloud Software Group, Inc. All rights reserved.