class UnnestNamespace extends AbstractNamespace
Modifier and Type | Field and Description |
---|---|
private SqlValidatorScope |
scope |
private SqlCall |
unnest |
enclosingNode, rowType, type, validator
Constructor and Description |
---|
UnnestNamespace(SqlValidatorImpl validator,
SqlCall unnest,
SqlValidatorScope scope,
SqlNode enclosingNode) |
Modifier and Type | Method and Description |
---|---|
SqlNode |
getNode()
Returns the parse tree node at the root of this namespace.
|
SqlValidatorTable |
getTable()
Returns the underlying table, or null if there is none.
|
protected RelDataType |
validateImpl(RelDataType targetRowType)
Validates this scope and returns the type of the records it returns.
|
convertToStruct, fieldExists, getEnclosingNode, getMonotonicExprs, getMonotonicity, getRowType, getRowTypeSansSystemColumns, getType, getValidator, isWrapperFor, lookupChild, makeNullable, resolve, setType, supportsModality, toStruct, translate, unwrap, validate
private final SqlCall unnest
private final SqlValidatorScope scope
UnnestNamespace(SqlValidatorImpl validator, SqlCall unnest, SqlValidatorScope scope, SqlNode enclosingNode)
public SqlValidatorTable getTable()
SqlValidatorNamespace
getTable
in interface SqlValidatorNamespace
getTable
in class AbstractNamespace
protected RelDataType validateImpl(RelDataType targetRowType)
AbstractNamespace
AbstractNamespace.validate(org.apache.calcite.rel.type.RelDataType)
, which uses the
AbstractNamespace.status
field to protect against cycles.validateImpl
in class AbstractNamespace
targetRowType
- Desired row type, must not be null, may be the data
type 'unknown'.public SqlNode getNode()
SqlValidatorNamespace
TableNamespace
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.