Package | Description |
---|---|
org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
Modifier and Type | Class and Description |
---|---|
private static class |
EnumerableWindow.WindowRelInputGetter
Implementation of
RexToLixTranslator.InputGetter
suitable for generating implementations of windowed aggregate
functions. |
static class |
RexToLixTranslator.InputGetterImpl
Implementation of
RexToLixTranslator.InputGetter that calls
PhysType.fieldReference(org.apache.calcite.linq4j.tree.Expression, int) . |
Modifier and Type | Field and Description |
---|---|
private RexToLixTranslator.InputGetter |
RexToLixTranslator.inputGetter |
Modifier and Type | Field and Description |
---|---|
protected Function1<java.lang.String,RexToLixTranslator.InputGetter> |
EnumerableRelImplementor.allCorrelateVariables |
private Function1<java.lang.String,RexToLixTranslator.InputGetter> |
RexToLixTranslator.correlates |
private java.util.Map<java.lang.String,RexToLixTranslator.InputGetter> |
EnumerableRelImplementor.corrVars |
Modifier and Type | Method and Description |
---|---|
RexToLixTranslator.InputGetter |
EnumerableRelImplementor.getCorrelVariableGetter(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static RexToLixTranslator |
RexToLixTranslator.forAggregation(JavaTypeFactory typeFactory,
BlockBuilder list,
RexToLixTranslator.InputGetter inputGetter,
SqlConformance conformance)
Creates a translator for translating aggregate functions.
|
static Expression |
RexToLixTranslator.translateCondition(RexProgram program,
JavaTypeFactory typeFactory,
BlockBuilder list,
RexToLixTranslator.InputGetter inputGetter,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates,
SqlConformance conformance) |
static java.util.List<Expression> |
RexToLixTranslator.translateProjects(RexProgram program,
JavaTypeFactory typeFactory,
SqlConformance conformance,
BlockBuilder list,
PhysType outputPhysType,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates)
Translates a
RexProgram to a sequence of expressions and
declarations. |
Modifier and Type | Method and Description |
---|---|
RexToLixTranslator |
RexToLixTranslator.setCorrelates(Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates) |
static Expression |
RexToLixTranslator.translateCondition(RexProgram program,
JavaTypeFactory typeFactory,
BlockBuilder list,
RexToLixTranslator.InputGetter inputGetter,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates,
SqlConformance conformance) |
static java.util.List<Expression> |
RexToLixTranslator.translateProjects(RexProgram program,
JavaTypeFactory typeFactory,
SqlConformance conformance,
BlockBuilder list,
PhysType outputPhysType,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates)
Translates a
RexProgram to a sequence of expressions and
declarations. |
Constructor and Description |
---|
RexToLixTranslator(RexProgram program,
JavaTypeFactory typeFactory,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
BlockBuilder list,
java.util.Map<? extends RexNode,java.lang.Boolean> exprNullableMap,
RexBuilder builder,
SqlConformance conformance,
RexToLixTranslator parent,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates) |
Constructor and Description |
---|
RexToLixTranslator(RexProgram program,
JavaTypeFactory typeFactory,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
BlockBuilder list,
java.util.Map<? extends RexNode,java.lang.Boolean> exprNullableMap,
RexBuilder builder,
SqlConformance conformance,
RexToLixTranslator parent,
Function1<java.lang.String,RexToLixTranslator.InputGetter> correlates) |
Modifier and Type | Class and Description |
---|---|
private static class |
RexExecutorImpl.DataContextInputGetter
Implementation of
RexToLixTranslator.InputGetter
that reads the values of input fields by calling
. |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
RexExecutorImpl.compile(RexBuilder rexBuilder,
java.util.List<RexNode> constExps,
RexToLixTranslator.InputGetter getter) |
private java.lang.String |
RexExecutorImpl.compile(RexBuilder rexBuilder,
java.util.List<RexNode> constExps,
RexToLixTranslator.InputGetter getter,
RelDataType rowType) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.