Class QueryPlanner


  • public class QueryPlanner
    extends Object
    • Field Detail

      • STORM_REL_CONVERSION_RULES

        public static final int STORM_REL_CONVERSION_RULES
        See Also:
        Constant Field Values
    • Constructor Detail

      • QueryPlanner

        public QueryPlanner​(org.apache.calcite.schema.SchemaPlus schema)
    • Method Detail

      • getPlan

        public StreamsRel getPlan​(String query)
                           throws org.apache.calcite.tools.ValidationException,
                                  org.apache.calcite.tools.RelConversionException,
                                  org.apache.calcite.sql.parser.SqlParseException
        Throws:
        org.apache.calcite.tools.ValidationException
        org.apache.calcite.tools.RelConversionException
        org.apache.calcite.sql.parser.SqlParseException