PHP Интерфейс Cassandra\Type

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
__toString ( ) : string Returns string representation of this type.
ascii ( ) : Cassandra\Type Get representation of cassandra ascii type
bigint ( ) : Cassandra\Type Get representation of cassandra bigint type
blob ( ) : Cassandra\Type Get representation of cassandra blob type
boolean ( ) : Cassandra\Type Get representation of cassandra boolean type
collection ( cassandra\Type $type ) : cassandra\Type Initialize a Collection type
counter ( ) : Cassandra\Type Get representation of cassandra counter type
create ( $value = null ) : mixed Instantiate a value of this type from provided value(s).
decimal ( ) : Cassandra\Type Get representation of cassandra decimal type
double ( ) : Cassandra\Type Get representation of cassandra double type
float ( ) : Cassandra\Type Get representation of cassandra float type
inet ( ) : Cassandra\Type Get representation of cassandra inet type
int ( ) : Cassandra\Type Get representation of cassandra int type
map ( cassandra\Type $key_type, cassandra\Type $value_type ) : cassandra\Type Initialize a map type
name ( ) : string Returns the name of this type as string.
set ( cassandra\Type $type ) Initialize a set type
text ( ) : Cassandra\Type Get representation of cassandra text type
timestamp ( ) : Cassandra\Type Get representation of cassandra timestamp type
timeuuid ( ) : Cassandra\Type Get representation of cassandra timeuuid type
uuid ( ) : Cassandra\Type Get representation of cassandra uuid type
varchar ( ) : Cassandra\Type Get representation of cassandra varchar type
varint ( ) : Cassandra\Type Get representation of cassandra varint type

Описание методов

__toString() публичный Метод

Returns string representation of this type.
public __toString ( ) : string
Результат string String representation of this type

ascii() закрытый статический публичный Метод

Get representation of cassandra ascii type
final static public ascii ( ) : Cassandra\Type
Результат Cassandra\Type ascii type

bigint() закрытый статический публичный Метод

Get representation of cassandra bigint type
final static public bigint ( ) : Cassandra\Type
Результат Cassandra\Type bigint type

blob() закрытый статический публичный Метод

Get representation of cassandra blob type
final static public blob ( ) : Cassandra\Type
Результат Cassandra\Type blob type

boolean() закрытый статический публичный Метод

Get representation of cassandra boolean type
final static public boolean ( ) : Cassandra\Type
Результат Cassandra\Type boolean type

collection() закрытый статический публичный Метод

Initialize a Collection type
final static public collection ( cassandra\Type $type ) : cassandra\Type
$type cassandra\Type The type of values
Результат cassandra\Type The collection type

counter() закрытый статический публичный Метод

Get representation of cassandra counter type
final static public counter ( ) : Cassandra\Type
Результат Cassandra\Type counter type

create() публичный Метод

Instantiate a value of this type from provided value(s).
public create ( $value = null ) : mixed
Результат mixed a value of this type

decimal() закрытый статический публичный Метод

Get representation of cassandra decimal type
final static public decimal ( ) : Cassandra\Type
Результат Cassandra\Type decimal type

double() закрытый статический публичный Метод

Get representation of cassandra double type
final static public double ( ) : Cassandra\Type
Результат Cassandra\Type double type

float() закрытый статический публичный Метод

Get representation of cassandra float type
final static public float ( ) : Cassandra\Type
Результат Cassandra\Type float type

inet() закрытый статический публичный Метод

Get representation of cassandra inet type
final static public inet ( ) : Cassandra\Type
Результат Cassandra\Type inet type

int() закрытый статический публичный Метод

Get representation of cassandra int type
final static public int ( ) : Cassandra\Type
Результат Cassandra\Type int type

map() закрытый статический публичный Метод

Initialize a map type
final static public map ( cassandra\Type $key_type, cassandra\Type $value_type ) : cassandra\Type
$key_type cassandra\Type The type of keys
$value_type cassandra\Type The type of values
Результат cassandra\Type The map type

name() публичный Метод

Returns the name of this type as string.
public name ( ) : string
Результат string Name of this type

set() закрытый статический публичный Метод

Initialize a set type
final static public set ( cassandra\Type $type )
$type cassandra\Type [description]

text() закрытый статический публичный Метод

Get representation of cassandra text type
final static public text ( ) : Cassandra\Type
Результат Cassandra\Type text type

timestamp() закрытый статический публичный Метод

Get representation of cassandra timestamp type
final static public timestamp ( ) : Cassandra\Type
Результат Cassandra\Type timestamp type

timeuuid() закрытый статический публичный Метод

Get representation of cassandra timeuuid type
final static public timeuuid ( ) : Cassandra\Type
Результат Cassandra\Type timeuuid type

uuid() закрытый статический публичный Метод

Get representation of cassandra uuid type
final static public uuid ( ) : Cassandra\Type
Результат Cassandra\Type uuid type

varchar() закрытый статический публичный Метод

Get representation of cassandra varchar type
final static public varchar ( ) : Cassandra\Type
Результат Cassandra\Type varchar type

varint() закрытый статический публичный Метод

Get representation of cassandra varint type
final static public varint ( ) : Cassandra\Type
Результат Cassandra\Type varint type