OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
org.apache.calcite.sql.validate.SqlValidatorImpl.SelectExpander Class Reference
+ Inheritance diagram for org.apache.calcite.sql.validate.SqlValidatorImpl.SelectExpander:
+ Collaboration diagram for org.apache.calcite.sql.validate.SqlValidatorImpl.SelectExpander:

Public Member Functions

SqlNode visit (SqlIdentifier id)
- Public Member Functions inherited from org.apache.calcite.sql.validate.SqlValidatorImpl.Expander
SqlNode visit (SqlIdentifier id)

Package Functions

 SelectExpander (SqlValidatorImpl validator, SelectScope scope, SqlSelect select)
- Package Functions inherited from org.apache.calcite.sql.validate.SqlValidatorImpl.Expander
 Expander (SqlValidatorImpl validator, SqlValidatorScope scope)

Package Attributes

final SqlSelect select

Additional Inherited Members

- Protected Member Functions inherited from org.apache.calcite.sql.validate.SqlValidatorImpl.Expander
SqlNode visitScoped (SqlCall call)
SqlNode expandDynamicStar (SqlIdentifier id, SqlIdentifier fqId)
- Protected Attributes inherited from org.apache.calcite.sql.validate.SqlValidatorImpl.Expander
final SqlValidatorImpl validator

Detailed Description

Converts an expression into canonical form by fully-qualifying any identifiers. For common columns in USING, it will be converted to COALESCE(A.col, B.col) AS col.

Definition at line 6092 of file

Constructor & Destructor Documentation

org.apache.calcite.sql.validate.SqlValidatorImpl.SelectExpander.SelectExpander ( SqlValidatorImpl  validator,
SelectScope  scope,
SqlSelect  select 

Member Function Documentation

SqlNode org.apache.calcite.sql.validate.SqlValidatorImpl.SelectExpander.visit ( SqlIdentifier  id)

Definition at line 6101 of file

References org.apache.calcite.sql.validate.SqlValidatorImpl.expandCommonColumn(),, and org.apache.calcite.sql.validate.SqlValidatorImpl.Expander.validator.

6101  {
6102  final SqlNode node = expandCommonColumn(select, id, (SelectScope) getScope(), validator);
6103  if (node != id) {
6104  return node;
6105  } else {
6106  return super.visit(id);
6107  }
6108  }
static SqlNode expandCommonColumn(SqlSelect sqlSelect, SqlNode selectItem, SelectScope scope, SqlValidatorImpl validator)

+ Here is the call graph for this function:

Member Data Documentation

final SqlSelect

The documentation for this class was generated from the following file: