PHP 인터페이스 Cassandra\Type

파일 보기 프로젝트 열기: datastax/php-driver 0 사용 예제들

공개 메소드들

메소드 설명
__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