class Tuple
A PHP representation of the CQL tuple datatype
Implements
Dse\ValueCountableIterator
Methods
__construct
(array $types )
Creates a new tuple with the given types.
Dse\Type type
( )The type of this tuple.
array values
( )Array of values in this tuple.
void set
(mixed $value )
Sets the value at index in this tuple .
mixed get
(int $index )
Retrieves the value at a given index.
int count
( )Total number of elements in this tuple
mixed current
( )Current element for iteration
int key
( )Current key for iteration
void next
( )Move internal iterator forward
bool valid
( )Check whether a current value exists
void rewind
( )Rewind internal iterator