public class StreamsPlanCreator extends Object
Constructor and Description |
---|
StreamsPlanCreator(Map<String,ISqlStreamsDataSource> sources,
org.apache.calcite.rex.RexBuilder rexBuilder) |
Modifier and Type | Method and Description |
---|---|
void |
addClassLoader(CompilingClassLoader compilingClassLoader) |
void |
addStream(Stream<Values> 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,ISqlStreamsDataSource> |
getSources() |
StreamBuilder |
getStreamBuilder() |
org.apache.calcite.adapter.java.JavaTypeFactory |
getTypeFactory() |
Stream<Values> |
pop() |
public StreamsPlanCreator(Map<String,ISqlStreamsDataSource> sources, org.apache.calcite.rex.RexBuilder rexBuilder)
public Map<String,ISqlStreamsDataSource> getSources()
public org.apache.calcite.DataContext getDataContext()
public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()
public StreamBuilder getStreamBuilder()
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.