PHP Class Cassandra\Type\Collection

Inheritance: extends Cassandra\Type
Afficher le fichier Open project: datastax/php-driver

Méthodes publiques

Méthode Description
__toString ( ) : string Returns type representation in CQL, e.g. list
create ( $value = null ) : Cassandra\Collection Creates a new Cassandra\Collection from the given values.
name ( ) : string Returns "list"
valueType ( ) : Cassandra\Type Returns type of values

Method Details

__toString() public méthode

Returns type representation in CQL, e.g. list
public __toString ( ) : string
Résultat string Type representation in CQL

create() public méthode

Creates a new Cassandra\Collection from the given values.
public create ( $value = null ) : Cassandra\Collection
Résultat Cassandra\Collection A list with given values.

name() public méthode

Returns "list"
public name ( ) : string
Résultat string "list"

valueType() public méthode

Returns type of values
public valueType ( ) : Cassandra\Type
Résultat Cassandra\Type Type of values