Class DruidSchemaFactory

java.lang.Object
org.apache.calcite.adapter.druid.DruidSchemaFactory
All Implemented Interfaces:
SchemaFactory

public class DruidSchemaFactory extends Object implements SchemaFactory
Schema factory that creates Druid schemas.
Druid schema operands
Operand Description Required
url URL of Druid's query node. The default is "http://localhost:8082". No
coordinatorUrl URL of Druid's coordinator node. The default is url, replacing "8082" with "8081", for example "http://localhost:8081". No
  • Field Details

  • Constructor Details

    • DruidSchemaFactory

      public DruidSchemaFactory()
  • Method Details

    • create

      public Schema create(SchemaPlus parentSchema, String name, Map<String,Object> operand)
      Description copied from interface: SchemaFactory
      Creates a Schema.
      Specified by:
      create in interface SchemaFactory
      Parameters:
      parentSchema - Parent schema
      name - Name of this schema
      operand - The "operand" JSON property
      Returns:
      Created schema