PHP Class Cassandra\Type\Map

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

Public Methods

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

Method Details

__toString() public method

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

create() public method

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

keyType() public method

Returns type of keys
public keyType ( ) : Cassandra\Type
return Cassandra\Type Type of keys

name() public method

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

valueType() public method

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