Cassandra\SchemaMetadataIntegrationTest::createSimpleMaterializedView PHP Method

createSimpleMaterializedView() protected method

Create the simple materialized view using the first table
    protected function createSimpleMaterializedView()
    {
        $statement = new SimpleStatement("CREATE MATERIALIZED VIEW simple AS " . "SELECT key1 FROM {$this->tableNamePrefix}_1 WHERE value1 IS NOT NULL " . "PRIMARY KEY(value1, key1)");
        $this->session->execute($statement);
    }