Method | Description | |
---|---|---|
setUp ( ) | Setup the schema metadata for the schema metadata tests. | |
testBasicSchemaMetadata ( ) | Schema metadata support is available; basic test. | |
testClusteringKeyMaterializedViews ( ) | Schema metadata to validate a materialized view exist when using a clustering key | |
testCollectionSecondaryIndexes ( ) | Schema metadata to validate collection secondary indexes exist | |
testDisableSchemaMetadata ( ) | Schema metadata support can be disabled. | |
testDropMaterializedViews ( ) | Schema metadata to validate materialized views are dropped correctly | |
testDropUserDefinedAggregates ( ) | Schema metadata to validate UDAs are dropped correctly | |
testDropUserDefinedFunctions ( ) | Schema metadata to validate UDFs are dropped correctly | |
testEnumerateKeyspaces ( ) | Enumerate over keyspaces in schema metadata. | |
testEnumerateTablesAndColumns ( ) | Enumerate over tables and columns in schema metadata. | |
testGetColumnIndexOptions ( ) | Get index options metadata from a column | |
testGetKeyspaceByName ( ) | Get keyspace from schema metadata using keyspace name. | |
testGetTableAndColumnByName ( ) | Get tables and columns from schema metadata using their names. | |
testIteratorMaterializedViews ( ) | Schema metadata to validate materialized views exist using iterator | |
testIteratorSecondaryIndexes ( ) | Schema metadata to validate secondary indexes exist using iterator | |
testIteratorUserDefinedAggregates ( ) | Schema metadata to validate UDAs exist using iterator | |
testIteratorUserDefinedFunctions ( ) | Schema metadata to validate UDFs exist using iterator | |
testMaterializedViews ( ) | Schema metadata to validate a simple materialized view exist | |
testNoMaterializedViews ( ) | Schema metadata to validate no materialized views exist | |
testNoSecondaryIndexes ( ) | Schema metadata to validate no secondary indexes exist | |
testNoUserDefinedAggregates ( ) | Schema metadata to validate no UDAs exist | |
testNoUserDefinedFunctions ( ) | Schema metadata to validate no UDFs exist | |
testPrimaryKeyMaterializedViews ( ) | Schema metadata to validate a materialized view exist when using a primary key | |
testSchemaMetadataWithNestedColumnTypes ( ) | Schema metadata data with deeply nested collection. | |
testSchemaMetadataWithNullFields ( ) | Schema metadata data with null fields. | |
testSecondaryIndexes ( ) | Schema metadata to validate secondary indexes exist | |
testUserDefinedAggregates ( ) | Schema metadata to validate a UDA exist | |
testUserDefinedFunctions ( ) | Schema metadata to validate a UDF exist | |
testVersion ( ) | Schema metadata versioning |
Method | Description | |
---|---|---|
assertAggregateUserDefinedFunction ( ) | Assert the uda_udf_final function | |
assertIndex ( $index, $kind, $target, $className, $isCustom ) | Assert the index instance | |
assertMaterializedView ( $materializedView, $name, $tableName, $columns, $partitionKeyColumns, $clusteringKeyColumns ) | Assert the materialized view (not all elements) | |
assertMaterializedViewsEqual ( $materializedViewOne, $materializedViewTwo ) | Assert the materialized views are equal | |
assertUserDefinedAggregate ( ) | Assert the user_defined_aggregate aggregate | |
assertUserDefinedFunction ( ) | Assert the user_defined_function function | |
assertUserDefinedFunctionsEqual ( $name, $function ) | Assert the UDFs are equal | |
createClusteringKeyMaterializedView ( ) | Create the primary key materialized view using the second table | |
createCollectionSecondaryIndex ( ) | Create the collections secondary index using the table | |
createKeyspace ( $keyspaceName, $replicationFactor = 1 ) | ||
createKeyspaceWithSchema ( $keyspaceName, $tableSchemas ) | ||
createPrimaryKeyMaterializedView ( ) | Create the primary key materialized view using the second table | |
createSimpleMaterializedView ( ) | Create the simple materialized view using the first table | |
createSimpleSecondaryIndex ( ) | Create the simple secondary index using the table | |
createTableForSecondaryIndexes ( ) | Create the table for the secondary indexes | |
createTablesForMaterializedViews ( ) | Create the tables for the materialized views | |
createUserDefinedAggregate ( ) | Create the user defined aggregate and two user defined functions for the associated aggregate | |
createUserDefinedFunction ( ) | Create the user defined function | |
generateKeyspaceName ( $prefix ) |
protected assertAggregateUserDefinedFunction ( ) |
protected assertIndex ( $index, $kind, $target, $className, $isCustom ) | ||
$index | Index to assert against | |
$kind | Kind to assert | |
$target | Target (and index->option('target')) to assert for index->target() | |
$className | Boolean or string value to assert for index->className | |
$isCustom | Value of index->isCustom() to assert |
protected assertMaterializedView ( $materializedView, $name, $tableName, $columns, $partitionKeyColumns, $clusteringKeyColumns ) | ||
$materializedView | Materialized view to validate | |
$name | Name to assert | |
$tableName | Table name to assert | |
$columns | Columns names to assert | |
$partitionKeyColumns | Primary key column names to assert | |
$clusteringKeyColumns | Cluster key column names to assert |
protected assertMaterializedViewsEqual ( $materializedViewOne, $materializedViewTwo ) | ||
$materializedViewOne | First materialized view | |
$materializedViewTwo | Second materialized view |
protected assertUserDefinedAggregate ( ) |
protected assertUserDefinedFunction ( ) |
protected assertUserDefinedFunctionsEqual ( $name, $function ) | ||
$name | Name of user defined function to look up and compare | |
$function | User defined function to compare |
protected createClusteringKeyMaterializedView ( ) |
protected createCollectionSecondaryIndex ( ) |
protected createKeyspace ( $keyspaceName, $replicationFactor = 1 ) |
protected createKeyspaceWithSchema ( $keyspaceName, $tableSchemas ) |
protected createPrimaryKeyMaterializedView ( ) |
protected createSimpleMaterializedView ( ) |
protected createSimpleSecondaryIndex ( ) |
protected createTableForSecondaryIndexes ( ) |
protected createTablesForMaterializedViews ( ) |
protected createUserDefinedAggregate ( ) |
protected createUserDefinedFunction ( ) |
public testBasicSchemaMetadata ( ) |
public testClusteringKeyMaterializedViews ( ) |
public testCollectionSecondaryIndexes ( ) |
public testDisableSchemaMetadata ( ) |
public testDropMaterializedViews ( ) |
public testDropUserDefinedAggregates ( ) |
public testDropUserDefinedFunctions ( ) |
public testEnumerateKeyspaces ( ) |
public testEnumerateTablesAndColumns ( ) |
public testGetColumnIndexOptions ( ) |
public testGetKeyspaceByName ( ) |
public testGetTableAndColumnByName ( ) |
public testIteratorMaterializedViews ( ) |
public testIteratorSecondaryIndexes ( ) |
public testIteratorUserDefinedAggregates ( ) |
public testIteratorUserDefinedFunctions ( ) |
public testMaterializedViews ( ) |
public testNoMaterializedViews ( ) |
public testNoSecondaryIndexes ( ) |
public testNoUserDefinedAggregates ( ) |
public testNoUserDefinedFunctions ( ) |
public testPrimaryKeyMaterializedViews ( ) |
public testSchemaMetadataWithNestedColumnTypes ( ) |
public testSchemaMetadataWithNullFields ( ) |
public testSecondaryIndexes ( ) |
public testUserDefinedAggregates ( ) |
public testUserDefinedFunctions ( ) |
public testVersion ( ) |