PHP 클래스 Cassandra\DatatypeIntegrationTests

상속: extends BasicIntegrationTest
파일 보기 프로젝트 열기: datastax/php-driver

공개 메소드들

메소드 설명
createTable ( $type ) : string Create a table named for the CQL $type parameter
createTableInsertAndVerifyValueByIndex ( $type, $value ) Create a table using $type for the value's type and insert $value using positional parameters.
createTableInsertAndVerifyValueByName ( $type, $value ) Create a table using $type for the value's type and insert $value using named parameters.
createUserType ( $userType ) Create a user type in the current keyspace
scalarCassandraTypes ( ) Scalar Cassandra types to be used by data providers
typeString ( $type ) : string Generate a type string suitable for creating a new table or user type using CQL
userTypeString ( $userType ) : string Generate a user type name string suitable for creating a new table or user type using CQL

보호된 메소드들

메소드 설명
createTableInsertAndVerifyValue ( $type, $options, $key, $value ) Create a new table with specified type and insert and verify value
insertValue ( $tableName, $options ) Insert a value into table
verifyValue ( $tableName, $type, $key, $value ) Verify value

메소드 상세

createTable() 공개 메소드

Create a table named for the CQL $type parameter
public createTable ( $type ) : string
$type Cassandra\Type
리턴 string Table name generated from $type

createTableInsertAndVerifyValue() 보호된 메소드

Create a new table with specified type and insert and verify value
protected createTableInsertAndVerifyValue ( $type, $options, $key, $value )
$type Cassandra\Type
$options Cassandra\ExecutionOptions
$key string
$value mixed

createTableInsertAndVerifyValueByIndex() 공개 메소드

Create a table using $type for the value's type and insert $value using positional parameters.
public createTableInsertAndVerifyValueByIndex ( $type, $value )
$type Cassandra\Type
$value mixed

createTableInsertAndVerifyValueByName() 공개 메소드

Create a table using $type for the value's type and insert $value using named parameters.
public createTableInsertAndVerifyValueByName ( $type, $value )
$type Cassandra\Type
$value mixed

createUserType() 공개 메소드

Create a user type in the current keyspace
public createUserType ( $userType )
$userType Cassandra\Type\UserType

insertValue() 보호된 메소드

Insert a value into table
protected insertValue ( $tableName, $options )
$tableName string
$options Cassandra\ExecutionOptions

scalarCassandraTypes() 공개 메소드

Scalar Cassandra types to be used by data providers

typeString() 공개 정적인 메소드

Generate a type string suitable for creating a new table or user type using CQL
public static typeString ( $type ) : string
$type Cassandra\Type
리턴 string String representation of type

userTypeString() 공개 정적인 메소드

Generate a user type name string suitable for creating a new table or user type using CQL
public static userTypeString ( $userType ) : string
$userType Cassandra\Type
리턴 string String representation of the UserType

verifyValue() 보호된 메소드

Verify value
protected verifyValue ( $tableName, $type, $key, $value )
$tableName string
$type Cassandra\Type
$key string
$value mixed