Class DruidSchemaFactory

  • All Implemented Interfaces:
    SchemaFactory

    public class DruidSchemaFactory
    extends java.lang.Object
    implements SchemaFactory
    Schema factory that creates Druid schemas.
    Druid schema operands
    Operand Description Required
    url URL of Druid's query node. The default is "http://localhost:8082". No
    coordinatorUrl URL of Druid's coordinator node. The default is url, replacing "8082" with "8081", for example "http://localhost:8081". No
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_URL
      Default Druid URL.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Schema create​(SchemaPlus parentSchema, java.lang.String name, java.util.Map<java.lang.String,​java.lang.Object> operand)
      Creates a Schema.
      • Methods inherited from class java.lang.Object

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

      • DEFAULT_URL

        public static final java.lang.String DEFAULT_URL
        Default Druid URL.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DruidSchemaFactory

        public DruidSchemaFactory()
    • Method Detail

      • create

        public Schema create​(SchemaPlus parentSchema,
                             java.lang.String name,
                             java.util.Map<java.lang.String,​java.lang.Object> operand)
        Description copied from interface: SchemaFactory
        Creates a Schema.
        Specified by:
        create in interface SchemaFactory
        Parameters:
        parentSchema - Parent schema
        name - Name of this schema
        operand - The "operand" JSON property
        Returns:
        Created schema