Class DruidSchema

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

public class DruidSchema extends AbstractSchema
Schema mapped onto a Druid instance.
  • Constructor Details

    • DruidSchema

      public DruidSchema(String url, String coordinatorUrl, boolean discoverTables)
      Creates a Druid schema.
      Parameters:
      url - URL of query REST service, e.g. "http://localhost:8082"
      coordinatorUrl - URL of coordinator REST service, e.g. "http://localhost:8081"
      discoverTables - If true, ask Druid what tables exist; if false, only create tables explicitly in the model
  • Method Details