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
Fields -
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:TableFactoryCreates a Table.- Specified by:
createin 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
-