Cassandra\SchemaMetadataIntegrationTest::createClusteringKeyMaterializedView PHP Метод

createClusteringKeyMaterializedView() защищенный Метод

Create the primary key materialized view using the second table
    protected function createClusteringKeyMaterializedView()
    {
        $statement = new SimpleStatement("CREATE MATERIALIZED VIEW clustering_key AS " . "SELECT key1 FROM {$this->tableNamePrefix}_2 WHERE key2 IS NOT NULL AND value1 IS NOT NULL " . "PRIMARY KEY(value1, key2, key1) " . "WITH CLUSTERING ORDER BY (key2 DESC)");
        $this->session->execute($statement);
    }