Package org.apache.storm.sql
Class StormSqlContext
java.lang.Object
org.apache.storm.sql.StormSqlContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.tools.FrameworkConfig
compileSql
(String query) org.apache.calcite.schema.SchemaPlus
org.apache.calcite.adapter.java.JavaTypeFactory
void
interpretCreateFunction
(SqlCreateFunction sqlCreateFunction) void
-
Constructor Details
-
StormSqlContext
public StormSqlContext()
-
-
Method Details
-
interpretCreateTable
-
interpretCreateFunction
public void interpretCreateFunction(SqlCreateFunction sqlCreateFunction) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
compileSql
- Throws:
Exception
-
explain
public String explain(String query) throws org.apache.calcite.sql.parser.SqlParseException, org.apache.calcite.tools.ValidationException, org.apache.calcite.tools.RelConversionException - Throws:
org.apache.calcite.sql.parser.SqlParseException
org.apache.calcite.tools.ValidationException
org.apache.calcite.tools.RelConversionException
-
buildFrameWorkConfig
public org.apache.calcite.tools.FrameworkConfig buildFrameWorkConfig() -
getTypeFactory
public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory() -
getSchema
public org.apache.calcite.schema.SchemaPlus getSchema() -
getDataSources
-