Package net.hydromatic.morel.foreign
Class Calcite.CalciteCode
- java.lang.Object
-
- net.hydromatic.morel.foreign.Calcite.CalciteCode
-
- All Implemented Interfaces:
Code,Describable
- Enclosing class:
- Calcite
private static class Calcite.CalciteCode extends Object implements Code
Evaluates a Calcite relational expression, converting it to Morel list typetype.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Function<org.apache.calcite.linq4j.Enumerable<Object[]>,List<Object>>converter(package private) org.apache.calcite.DataContextdataContext(package private) Environmentenv(package private) org.apache.calcite.rel.RelNoderel
-
Constructor Summary
Constructors Constructor Description CalciteCode(org.apache.calcite.DataContext dataContext, org.apache.calcite.rel.RelNode rel, Environment env, Function<org.apache.calcite.linq4j.Enumerable<Object[]>,List<Object>> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Describerdescribe(Describer describer)Objecteval(EvalEnv evalEnv)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.hydromatic.morel.eval.Code
isConstant
-
-
-
-
Field Detail
-
dataContext
final org.apache.calcite.DataContext dataContext
-
rel
final org.apache.calcite.rel.RelNode rel
-
env
final Environment env
-
-
Constructor Detail
-
CalciteCode
CalciteCode(org.apache.calcite.DataContext dataContext, org.apache.calcite.rel.RelNode rel, Environment env, Function<org.apache.calcite.linq4j.Enumerable<Object[]>,List<Object>> converter)
-
-