Class CassandraSchema

java.lang.Object
org.apache.calcite.schema.impl.AbstractSchema
org.apache.calcite.adapter.cassandra.CassandraSchema
All Implemented Interfaces:
Schema

public class CassandraSchema extends AbstractSchema
Schema mapped onto a Cassandra column family.
  • Field Details

    • LOGGER

      protected static final org.slf4j.Logger LOGGER
  • Constructor Details

    • CassandraSchema

      public CassandraSchema(com.datastax.oss.driver.api.core.CqlSession session, SchemaPlus parentSchema, String name)
      Creates a Cassandra schema.
      Parameters:
      session - a Cassandra session
      parentSchema - the parent schema
      name - the schema name
    • CassandraSchema

      public CassandraSchema(com.datastax.oss.driver.api.core.CqlSession session, SchemaPlus parentSchema, String keyspace, String name)
      Creates a Cassandra schema.
      Parameters:
      session - a Cassandra session
      parentSchema - the parent schema
      keyspace - the keyspace name
      name - the schema name
  • Method Details