Class DruidTableFactory

  • All Implemented Interfaces:
    TableFactory

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

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

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DruidTableFactory

        private DruidTableFactory()
    • 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 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.