Package org.apache.calcite.adapter.druid
Class DruidTableFactory
java.lang.Object
org.apache.calcite.adapter.druid.DruidTableFactory
- All Implemented Interfaces:
TableFactory
Implementation of
TableFactory
for Druid.
A table corresponds to what Druid calls a "data source".
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SchemaPlus schema, String name, Map operand, @Nullable RelDataType rowType) Creates a Table.
-
Field Details
-
INSTANCE
-
-
Method Details
-
create
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.- Returns:
- created table
-