public class ParameterScope extends Object
EmptyScope
(which is its base class), it has no parent scope.ParameterNamespace
org.apache.calcite.sql.validate.SqlValidatorScope.EmptyPath, org.apache.calcite.sql.validate.SqlValidatorScope.Path, org.apache.calcite.sql.validate.SqlValidatorScope.Resolve, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved, org.apache.calcite.sql.validate.SqlValidatorScope.ResolvedImpl, org.apache.calcite.sql.validate.SqlValidatorScope.Step
Modifier and Type | Field and Description |
---|---|
protected SqlValidatorImpl |
validator |
Constructor and Description |
---|
ParameterScope(SqlValidatorImpl validator,
Map<String,org.apache.calcite.rel.type.RelDataType> nameToTypeMap) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace arg0,
String arg1,
boolean arg2) |
void |
findAliases(Collection<org.apache.calcite.sql.validate.SqlMoniker> arg0) |
void |
findAllColumnNames(List<org.apache.calcite.sql.validate.SqlMoniker> arg0) |
void |
findAllTableNames(List<org.apache.calcite.sql.validate.SqlMoniker> arg0) |
org.apache.calcite.util.Pair<String,org.apache.calcite.sql.validate.SqlValidatorNamespace> |
findQualifyingTableName(String arg0,
org.apache.calcite.sql.SqlNode arg1) |
Map<String,org.apache.calcite.sql.validate.ScopeChild> |
findQualifyingTableNames(String arg0,
org.apache.calcite.sql.SqlNode arg1,
org.apache.calcite.sql.validate.SqlNameMatcher arg2) |
org.apache.calcite.sql.validate.SqlQualified |
fullyQualify(org.apache.calcite.sql.SqlIdentifier identifier) |
org.apache.calcite.sql.validate.SqlMonotonicity |
getMonotonicity(org.apache.calcite.sql.SqlNode arg0) |
org.apache.calcite.sql.SqlNode |
getNode() |
org.apache.calcite.sql.validate.SqlValidatorScope |
getOperandScope(org.apache.calcite.sql.SqlCall call) |
org.apache.calcite.sql.SqlNodeList |
getOrderList() |
org.apache.calcite.sql.validate.SqlValidatorNamespace |
getTableNamespace(List<String> arg0) |
org.apache.calcite.sql.validate.SqlValidator |
getValidator() |
org.apache.calcite.sql.SqlWindow |
lookupWindow(String arg0) |
org.apache.calcite.rel.type.RelDataType |
nullifyType(org.apache.calcite.sql.SqlNode arg0,
org.apache.calcite.rel.type.RelDataType arg1) |
void |
resolve(List<String> arg0,
org.apache.calcite.sql.validate.SqlNameMatcher arg1,
boolean arg2,
org.apache.calcite.sql.validate.SqlValidatorScope.Resolved arg3) |
org.apache.calcite.rel.type.RelDataType |
resolveColumn(String name,
org.apache.calcite.sql.SqlNode ctx) |
void |
resolveTable(List<String> arg0,
org.apache.calcite.sql.validate.SqlNameMatcher arg1,
org.apache.calcite.sql.validate.SqlValidatorScope.Path arg2,
org.apache.calcite.sql.validate.SqlValidatorScope.Resolved arg3) |
void |
validateExpr(org.apache.calcite.sql.SqlNode arg0) |
protected final SqlValidatorImpl validator
public ParameterScope(SqlValidatorImpl validator, Map<String,org.apache.calcite.rel.type.RelDataType> nameToTypeMap)
public org.apache.calcite.sql.validate.SqlQualified fullyQualify(org.apache.calcite.sql.SqlIdentifier identifier)
fullyQualify
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.validate.SqlValidatorScope getOperandScope(org.apache.calcite.sql.SqlCall call)
getOperandScope
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.rel.type.RelDataType resolveColumn(String name, org.apache.calcite.sql.SqlNode ctx)
resolveColumn
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.validate.SqlValidator getValidator()
getValidator
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.SqlNode getNode()
getNode
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public void resolve(List<String> arg0, org.apache.calcite.sql.validate.SqlNameMatcher arg1, boolean arg2, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved arg3)
resolve
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.validate.SqlValidatorNamespace getTableNamespace(List<String> arg0)
getTableNamespace
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public void resolveTable(List<String> arg0, org.apache.calcite.sql.validate.SqlNameMatcher arg1, org.apache.calcite.sql.validate.SqlValidatorScope.Path arg2, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved arg3)
resolveTable
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.rel.type.RelDataType nullifyType(org.apache.calcite.sql.SqlNode arg0, org.apache.calcite.rel.type.RelDataType arg1)
nullifyType
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public void findAllColumnNames(List<org.apache.calcite.sql.validate.SqlMoniker> arg0)
findAllColumnNames
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public void findAllTableNames(List<org.apache.calcite.sql.validate.SqlMoniker> arg0)
public void findAliases(Collection<org.apache.calcite.sql.validate.SqlMoniker> arg0)
findAliases
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public void validateExpr(org.apache.calcite.sql.SqlNode arg0)
validateExpr
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.util.Pair<String,org.apache.calcite.sql.validate.SqlValidatorNamespace> findQualifyingTableName(String arg0, org.apache.calcite.sql.SqlNode arg1)
findQualifyingTableName
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public Map<String,org.apache.calcite.sql.validate.ScopeChild> findQualifyingTableNames(String arg0, org.apache.calcite.sql.SqlNode arg1, org.apache.calcite.sql.validate.SqlNameMatcher arg2)
findQualifyingTableNames
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public void addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace arg0, String arg1, boolean arg2)
addChild
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.SqlWindow lookupWindow(String arg0)
lookupWindow
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.validate.SqlMonotonicity getMonotonicity(org.apache.calcite.sql.SqlNode arg0)
getMonotonicity
in interface org.apache.calcite.sql.validate.SqlValidatorScope
public org.apache.calcite.sql.SqlNodeList getOrderList()
getOrderList
in interface org.apache.calcite.sql.validate.SqlValidatorScope
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.