Class DruidTableFactory

java.lang.Object
org.apache.calcite.adapter.druid.DruidTableFactory
All Implemented Interfaces:
TableFactory

public class DruidTableFactory extends Object implements TableFactory
Implementation of TableFactory for Druid.

A table corresponds to what Druid calls a "data source".

  • Field Details

  • Method Details

    • create

      public Table create(SchemaPlus schema, String name, Map operand, @Nullable RelDataType rowType)
      Description copied from interface: TableFactory
      Creates a Table.
      Specified by:
      create in interface TableFactory
      Parameters:
      schema - Schema this table belongs to
      name - Name of this table
      operand - The "operand" JSON property
      rowType - Row type. Specified if the "columns" JSON property.
      Returns:
      created table