PHP Class Cassandra\Type\Tuple

Inheritance: extends Cassandra\Type
Datei anzeigen Open project: datastax/php-driver

Public Methods

Method Description
__toString ( ) : string Returns type representation in CQL, e.g. tuple
create ( $value = null ) : Cassandra\Tuple Creates a new Cassandra\Tuple from the given values.
name ( ) : string Returns "tuple"
types ( ) : array Returns types of values

Method Details

__toString() public method

Returns type representation in CQL, e.g. tuple
public __toString ( ) : string
return string Type representation in CQL

create() public method

Creates a new Cassandra\Tuple from the given values.
public create ( $value = null ) : Cassandra\Tuple
return Cassandra\Tuple A tuple with given values.

name() public method

Returns "tuple"
public name ( ) : string
return string "tuple"

types() public method

Returns types of values
public types ( ) : array
return array An array of types