Package org.apache.calcite.jdbc
Class CalcitePrepare.Dummy
java.lang.Object
org.apache.calcite.jdbc.CalcitePrepare.Dummy
- Enclosing interface:
CalcitePrepare
Namespace that allows us to define non-abstract methods inside an
interface.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CalcitePrepare.SparkHandler
getSparkHandler
(boolean enable) Returns a spark handler.static CalcitePrepare.Context
peek()
static void
pop
(CalcitePrepare.Context context) static void
push
(CalcitePrepare.Context context)
-
Method Details
-
getSparkHandler
Returns a spark handler. Returns a trivial handler, for whichCalcitePrepare.SparkHandler.enabled()
returnsfalse
, ifenable
isfalse
or if Spark is not on the class path. Never returns null. -
push
-
peek
-
pop
-