Package org.apache.calcite.jdbc
Interface CalcitePrepare.SparkHandler
- All Known Implementing Classes:
SparkHandlerImpl
- Enclosing interface:
CalcitePrepare
public static interface CalcitePrepare.SparkHandler
Callback to register Spark as the main engine.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Allows Spark to declare the rules it needs. -
Method Summary
Modifier and TypeMethodDescriptioncompile
(ClassDeclaration expr, String s) boolean
enabled()
flattenTypes
(RelOptPlanner planner, RelNode rootRel, boolean restructure) void
-
Method Details
-
flattenTypes
-
registerRules
-
enabled
boolean enabled() -
compile
-
sparkContext
Object sparkContext()
-