Contents
- Features page
- Installing Cassandra PHP Extension page
-
API docs index
-
Cassandra namespace
- Cluster namespace
- Exception namespace
- RetryPolicy namespace
- SSLOptions namespace
- TimestampGenerator namespace
- Type namespace
- Future interface
- Numeric interface
- RetryPolicy interface
- BatchStatement class
- Bigint class
- Blob class
- Collection class
- Table interface
- Decimal class
- DefaultCluster class
- DefaultKeyspace class
- DefaultSchema class
- Float class
- FutureClose class
- FutureRows class
- FutureSession class
- Map class
- PreparedStatement class
- Set class
- SSLOptions class
- Timestamp class
- Varint class
- Cluster interface
- Exception interface
- Keyspace interface
- Schema interface
- Statement interface
- TimestampGenerator interface
- Tuple class
- Type interface
- UuidInterface interface
- Value interface
- DefaultColumn class
- DefaultSession class
- DefaultTable class
- ExecutionOptions class
- FutureException class
- FuturePreparedStatement class
- FutureValue class
- Inet class
- SimpleStatement class
- Timeuuid class
- Column interface
- UserTypeValue class
- Uuid class
- Session interface
- Rows class
- Cassandra class
-
Cassandra namespace
Implements
Methods
Returns type representation in CQL, e.g. list<varchar>
- Returns:
Type Details string
Cassandra\Type
representation in CQL
Cassandra\Type
type
( )Returns type of values
- Returns:
Type Details Cassandra\Type
Cassandra\Type
of values
Creates a new Cassandra\Collection
from the given values.
- Parameters:
Name Type Details $value mixed
One or more values to be added to the list. When no values given, creates an empty list.
- Throws:
Type Details Exception\InvalidArgumentException
when values given are of a different type than what this list type expects.
- Returns:
Type Details Cassandra\Collection
A list with given values.