class UserTypeValue
A PHP representation of the CQL UDT datatype
Implements
Cassandra\Value
Countable
Iterator
Methods
__construct
(array
$types )
Creates a new user type value with the given name/type pairs.
Cassandra\Type
type
( )The type of this user type value.
array
values
( )Array of values in this user type value.
void
set
(sting
$name, mixed
$value )
Sets the value at name in this user type value.
mixed
get
(sting
$name )
Retrieves the value at a given name.
int
count
( )Total number of elements in this user type value.
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