PHP Class Cassandra\Type\Set

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

Public Methods

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

Method Details

__toString() public method

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

create() public method

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

name() public method

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

valueType() public method

Returns type of values
public valueType ( ) : Cassandra\Type
return Cassandra\Type Type of values