public abstract class SqlImplementor.Context extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
fieldCount |
private boolean |
ignoreCast |
| Modifier | Constructor and Description |
|---|---|
protected |
Context(int fieldCount) |
protected |
Context(int fieldCount,
boolean ignoreCast) |
| Modifier and Type | Method and Description |
|---|---|
private SqlNode |
createLeftCall(SqlOperator op,
List<SqlNode> nodeList) |
private SqlNode |
createSqlWindowBound(RexWindowBound rexWindowBound) |
abstract SqlNode |
field(int ordinal) |
List<SqlNode> |
fieldList() |
SqlImplementor |
implementor() |
SqlNode |
toSql(AggregateCall aggCall)
Converts a call to an aggregate function to an expression.
|
SqlNode |
toSql(RelFieldCollation collation)
Converts a collation to an ORDER BY item.
|
private List<SqlNode> |
toSql(RexProgram program,
List<RexNode> operandList) |
private SqlNode |
toSql(RexProgram program,
RexFieldCollation rfc) |
SqlNode |
toSql(RexProgram program,
RexNode rex)
|
private SqlCall |
toSql(RexProgram program,
RexOver rexOver) |
protected Context(int fieldCount)
protected Context(int fieldCount,
boolean ignoreCast)
public abstract SqlNode field(int ordinal)
public SqlNode toSql(RexProgram program, RexNode rex)
program - Required only if rex contains RexLocalRefrex - Expression to convertprivate SqlCall toSql(RexProgram program, RexOver rexOver)
private SqlNode toSql(RexProgram program, RexFieldCollation rfc)
private SqlNode createSqlWindowBound(RexWindowBound rexWindowBound)
private SqlNode createLeftCall(SqlOperator op, List<SqlNode> nodeList)
private List<SqlNode> toSql(RexProgram program, List<RexNode> operandList)
public SqlNode toSql(AggregateCall aggCall)
public SqlNode toSql(RelFieldCollation collation)
public SqlImplementor implementor()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.