Package org.apache.calcite.adapter.druid
Class DruidTableFactory
- java.lang.Object
-
- org.apache.calcite.adapter.druid.DruidTableFactory
-
- All Implemented Interfaces:
TableFactory
public class DruidTableFactory extends java.lang.Object implements TableFactory
Implementation ofTableFactory
for Druid.A table corresponds to what Druid calls a "data source".
-
-
Field Summary
Fields Modifier and Type Field Description static DruidTableFactory
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
DruidTableFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Table
create(SchemaPlus schema, java.lang.String name, java.util.Map operand, RelDataType rowType)
Creates a Table.
-
-
-
Field Detail
-
INSTANCE
public static final DruidTableFactory INSTANCE
-
-
Method Detail
-
create
public Table create(SchemaPlus schema, java.lang.String name, java.util.Map operand, RelDataType rowType)
Description copied from interface:TableFactory
Creates a Table.- Specified by:
create
in interfaceTableFactory
- Parameters:
schema
- Schema this table belongs toname
- Name of this tableoperand
- The "operand" JSON propertyrowType
- Row type. Specified if the "columns" JSON property.
-
-