class ParameterNamespace extends AbstractNamespace
ParameterScope| Modifier and Type | Field and Description |
|---|---|
private RelDataType |
type |
enclosingNode, rowType, validator| Constructor and Description |
|---|
ParameterNamespace(SqlValidatorImpl validator,
RelDataType type) |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
getNode()
Returns the parse tree node at the root of this namespace.
|
RelDataType |
getRowType()
Returns the row type of this namespace, which comprises a list of names
and types of the output columns.
|
RelDataType |
validateImpl(RelDataType targetRowType)
Validates this scope and returns the type of the records it returns.
|
convertToStruct, fieldExists, getEnclosingNode, getMonotonicExprs, getMonotonicity, getRowTypeSansSystemColumns, getTable, getType, getValidator, isWrapperFor, lookupChild, makeNullable, resolve, setType, supportsModality, toStruct, translate, unwrap, validateprivate final RelDataType type
ParameterNamespace(SqlValidatorImpl validator, RelDataType type)
public SqlNode getNode()
SqlValidatorNamespaceTableNamespacepublic RelDataType validateImpl(RelDataType targetRowType)
AbstractNamespaceAbstractNamespace.validate(org.apache.calcite.rel.type.RelDataType), which uses the
AbstractNamespace.status field to protect against cycles.validateImpl in class AbstractNamespacetargetRowType - Desired row type, must not be null, may be the data
type 'unknown'.public RelDataType getRowType()
SqlValidatorNamespacegetRowType in interface SqlValidatorNamespacegetRowType in class AbstractNamespaceCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.