public class ParameterScope extends EmptyScope
EmptyScope
(which is its base class), it has no parent scope.ParameterNamespace
SqlValidatorScope.EmptyPath, SqlValidatorScope.Path, SqlValidatorScope.Resolve, SqlValidatorScope.Resolved, SqlValidatorScope.ResolvedImpl, SqlValidatorScope.Step
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,RelDataType> |
nameToTypeMap
Map from the simple names of the parameters to types of the parameters
(
RelDataType ). |
validator
Constructor and Description |
---|
ParameterScope(SqlValidatorImpl validator,
java.util.Map<java.lang.String,RelDataType> nameToTypeMap) |
Modifier and Type | Method and Description |
---|---|
SqlQualified |
fullyQualify(SqlIdentifier identifier)
Converts an identifier into a fully-qualified identifier.
|
SqlValidatorScope |
getOperandScope(SqlCall call)
Returns the scope within which operands to a call are to be validated.
|
addChild, findAliases, findAllColumnNames, findAllTableNames, findQualifyingTableName, findQualifyingTableNames, getMonotonicity, getNode, getOrderList, getTableNamespace, getValidator, lookupWindow, nullifyType, resolve, resolveColumn, resolveTable, validateExpr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWithin
private final java.util.Map<java.lang.String,RelDataType> nameToTypeMap
RelDataType
).public ParameterScope(SqlValidatorImpl validator, java.util.Map<java.lang.String,RelDataType> nameToTypeMap)
public SqlQualified fullyQualify(SqlIdentifier identifier)
SqlValidatorScope
fullyQualify
in interface SqlValidatorScope
fullyQualify
in class EmptyScope
public SqlValidatorScope getOperandScope(SqlCall call)
SqlValidatorScope
getOperandScope
in interface SqlValidatorScope
getOperandScope
in class EmptyScope
call
- CallCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.