class Type
Dse\Cluster
object is used to create Sessions.
Extended by
Methods
string
name
( )Returns the name of this type as string.
string
__toString
( )Returns string representation of this type.
Dse\Type
ascii
( )Get representation of ascii type
- Static
- This method is static
Dse\Type
bigint
( )Get representation of bigint type
- Static
- This method is static
Dse\Type
smallint
( )Get representation of smallint type
- Static
- This method is static
Dse\Type
tinyint
( )Get representation of tinyint type
- Static
- This method is static
Dse\Type
blob
( )Get representation of blob type
- Static
- This method is static
Dse\Type
boolean
( )Get representation of boolean type
- Static
- This method is static
Dse\Type
counter
( )Get representation of counter type
- Static
- This method is static
Dse\Type
decimal
( )Get representation of decimal type
- Static
- This method is static
Dse\Type
double
( )Get representation of double type
- Static
- This method is static
Dse\Type
float
( )Get representation of float type
- Static
- This method is static
Dse\Type
int
( )Get representation of int type
- Static
- This method is static
Dse\Type
text
( )Get representation of text type
- Static
- This method is static
Dse\Type
timestamp
( )Get representation of timestamp type
- Static
- This method is static
Dse\Type
date
( )Get representation of date type
- Static
- This method is static
Dse\Type
time
( )Get representation of time type
- Static
- This method is static
Dse\Type
uuid
( )Get representation of uuid type
- Static
- This method is static
Dse\Type
varchar
( )Get representation of varchar type
- Static
- This method is static
Dse\Type
varint
( )Get representation of varint type
- Static
- This method is static
Dse\Type
timeuuid
( )Get representation of timeuuid type
- Static
- This method is static
Dse\Type
inet
( )Get representation of inet type
- Static
- This method is static
Initialize a Type\Collection
type
<?php
use Type;
$collection = Type::collection(Type::int())
->create(1, 2, 3, 4, 5, 6, 7, 8, 9);
var_dump($collection);
- Static
- This method is static
Initialize a set type
<?php
use Type;
$set = Type::set(Type::varchar())
->create("a", "b", "c", "d", "e", "f", "g", "h", "i", "j");
var_dump($set);
- Static
- This method is static
Initialize a map type
<?php
use Type;
$map = Type::map(Type::int(), Type::varchar())
->create(1, "a", 2, "b", 3, "c", 4, "d", 5, "e", 6, "f")
var_dump($map);
- Static
- This method is static
Initialize a tuple type
<?php
use Type;
$tuple = Type::tuple(Type::varchar(), Type::int())
->create("a", 123);
var_dump($tuple);
- Static
- This method is static