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
Exceptionpublic 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.ValidationExceptionorg.apache.calcite.tools.RelConversionExceptionorg.apache.calcite.sql.parser.SqlParseExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.