public class QueryPlanner extends Object
Modifier and Type | Field and Description |
---|---|
static int |
STORM_REL_CONVERSION_RULES |
Constructor and Description |
---|
QueryPlanner(org.apache.calcite.schema.SchemaPlus schema) |
Modifier and Type | Method and Description |
---|---|
AbstractTridentProcessor |
compile(Map<String,ISqlTridentDataSource> sources,
String query) |
TridentRel |
getPlan(String query) |
public static final int STORM_REL_CONVERSION_RULES
public AbstractTridentProcessor compile(Map<String,ISqlTridentDataSource> sources, String query) throws Exception
Exception
public TridentRel getPlan(String query) throws org.apache.calcite.tools.ValidationException, org.apache.calcite.tools.RelConversionException, org.apache.calcite.sql.parser.SqlParseException
org.apache.calcite.tools.ValidationException
org.apache.calcite.tools.RelConversionException
org.apache.calcite.sql.parser.SqlParseException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.