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 |
---|---|
AbstractStreamsProcessor |
compile(Map<String,ISqlStreamsDataSource> sources,
String query) |
StreamsRel |
getPlan(String query) |
public static final int STORM_REL_CONVERSION_RULES
public AbstractStreamsProcessor compile(Map<String,ISqlStreamsDataSource> sources, String query) throws Exception
Exception
public StreamsRel 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 © 2020 The Apache Software Foundation. All rights reserved.