class Tuple
Extends
Methods
string
name
( )Returns “tuple”
string
__toString
( )Returns type representation in CQL, e.g. tuple<varchar, int>
array
types
( )Returns types of values
Creates a new Cassandra\Tuple
from the given values.
Returns type representation in CQL, e.g. tuple<varchar, int>
Type | Details |
---|---|
string |
|
Creates a new Cassandra\Tuple
from the given values.
Name | Type | Details |
---|---|---|
$value | mixed |
One or more values to be added to the tuple. When no values given, creates a tuple with null for the values. |
Type | Details |
---|---|
Exception\InvalidArgumentException |
when values given are of a different type than what the tuple expects. |
Type | Details |
---|---|
Cassandra\Tuple |
A tuple with given values. |