Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
public createTable ( $type ) : string | ||
$type | Cassandra\Type | |
return | string | Table name generated from $type |
protected createTableInsertAndVerifyValue ( $type, $options, $key, $value ) | ||
$type | Cassandra\Type | |
$options | Cassandra\ExecutionOptions | |
$key | string | |
$value | mixed |
public createTableInsertAndVerifyValueByIndex ( $type, $value ) | ||
$type | Cassandra\Type | |
$value | mixed |
public createTableInsertAndVerifyValueByName ( $type, $value ) | ||
$type | Cassandra\Type | |
$value | mixed |
public createUserType ( $userType ) | ||
$userType | Cassandra\Type\UserType |
protected insertValue ( $tableName, $options ) | ||
$tableName | string | |
$options | Cassandra\ExecutionOptions |
public scalarCassandraTypes ( ) |
public static typeString ( $type ) : string | ||
$type | Cassandra\Type | |
return | string | String representation of type |
public static userTypeString ( $userType ) : string | ||
$userType | Cassandra\Type | |
return | string | String representation of the UserType |
protected verifyValue ( $tableName, $type, $key, $value ) | ||
$tableName | string | |
$type | Cassandra\Type | |
$key | string | |
$value | mixed |