PHP Class Cassandra\Type\UserType

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. 1keyspace.type_name1 or userType.
create ( $value = null ) : Cassandra\UserTypeValue Creates a new Cassandra\UserTypeValue from the given name/value pairs.
keyspace ( ) : string Returns keyspace for the user type
name ( ) : string Returns type name for the user type
types ( ) : array Returns types of values

Method Details

__toString() public méthode

Returns type representation in CQL, e.g. 1keyspace.type_name1 or userType.
public __toString ( ) : string
Résultat string Type representation in CQL

create() public méthode

Creates a new Cassandra\UserTypeValue from the given name/value pairs.
public create ( $value = null ) : Cassandra\UserTypeValue
Résultat Cassandra\UserTypeValue A user type value with given name/value pairs.

keyspace() public méthode

Returns keyspace for the user type
public keyspace ( ) : string
Résultat string

name() public méthode

Returns type name for the user type
public name ( ) : string
Résultat string

types() public méthode

Returns types of values
public types ( ) : array
Résultat array An array of types