public class TridentPlanCreator extends Object
Constructor and Description |
---|
TridentPlanCreator(Map<String,ISqlTridentDataSource> sources,
org.apache.calcite.rex.RexBuilder rexBuilder) |
Modifier and Type | Method and Description |
---|---|
void |
addClassLoader(CompilingClassLoader compilingClassLoader) |
void |
addStream(IAggregatableStream stream) |
ExecutableExpression |
createScalarInstance(List<org.apache.calcite.rex.RexNode> nodes,
org.apache.calcite.rel.type.RelDataType inputRowType,
String className) |
ExecutableExpression |
createScalarInstance(org.apache.calcite.rex.RexProgram program,
String className) |
List<CompilingClassLoader> |
getClassLoaders() |
org.apache.calcite.DataContext |
getDataContext() |
ClassLoader |
getLastClassLoader() |
Map<String,ISqlTridentDataSource> |
getSources() |
TridentTopology |
getTopology() |
org.apache.calcite.adapter.java.JavaTypeFactory |
getTypeFactory() |
IAggregatableStream |
pop() |
public TridentPlanCreator(Map<String,ISqlTridentDataSource> sources, org.apache.calcite.rex.RexBuilder rexBuilder)
public void addStream(IAggregatableStream stream) throws Exception
Exception
public IAggregatableStream pop()
public Map<String,ISqlTridentDataSource> getSources()
public org.apache.calcite.DataContext getDataContext()
public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()
public TridentTopology getTopology()
public ExecutableExpression createScalarInstance(List<org.apache.calcite.rex.RexNode> nodes, org.apache.calcite.rel.type.RelDataType inputRowType, String className) throws CompilingClassLoader.CompilerException, ClassNotFoundException, IllegalAccessException, InstantiationException
public ExecutableExpression createScalarInstance(org.apache.calcite.rex.RexProgram program, String className) throws CompilingClassLoader.CompilerException, ClassNotFoundException, IllegalAccessException, InstantiationException
public void addClassLoader(CompilingClassLoader compilingClassLoader)
public ClassLoader getLastClassLoader()
public List<CompilingClassLoader> getClassLoaders()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.