Contents
- Building PHP Extension page
- Features 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
- Custom class
- Date class
- Decimal class
- DefaultAggregate class
- DefaultCluster class
- DefaultColumn class
- DefaultFunction class
- DefaultIndex class
- DefaultMaterializedView class
- ExecutionOptions class
- Float class
- FutureClose class
- FuturePreparedStatement class
- FutureSession class
- Map class
- MaterializedView class
- PreparedStatement class
- Set class
- Smallint class
- SSLOptions class
- Tinyint class
- Aggregate interface
- Cluster interface
- Exception interface
- Function interface
- Index interface
- FutureRows class
- Varint class
- Keyspace interface
- Schema interface
- TimestampGenerator interface
- DefaultKeyspace class
- DefaultSchema class
- DefaultSession class
- DefaultTable class
- Duration class
- Inet class
- Time class
- Timestamp class
- Timeuuid class
- Tuple class
- Value interface
- Type class
- Column interface
- Statement interface
- UuidInterface interface
- FutureValue class
- SimpleStatement class
- UserTypeValue class
- Uuid class
- Session interface
- Rows class
- Cassandra class
-
Cassandra namespace
A class that represents the tuple type. The tuple type is able to represent a composite type of one or more types accessed by index.
Extends
Methods
Returns type representation in CQL, e.g. tuple<varchar, int>
- Returns:
Type Details string
Cassandra\Type
representation in CQL
Creates a new Type\Tuple
from the given values. When no values given, creates a tuple with null for the values.
- Parameters:
Name Type Details $values mixed
One or more values to be added to the tuple.
- Throws:
Type Details Exception\InvalidArgumentException
when values given are of a different type than what the tuple expects.
- Returns:
Type Details Type\Tuple
A tuple with given values.