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