public class SetopNamespace extends AbstractNamespace
| Modifier and Type | Field and Description |
|---|---|
private SqlCall |
call |
enclosingNode, rowType, type, validator| Modifier | Constructor and Description |
|---|---|
protected |
SetopNamespace(SqlValidatorImpl validator,
SqlCall call,
SqlNode enclosingNode)
Creates a
SetopNamespace. |
| Modifier and Type | Method and Description |
|---|---|
private SqlMonotonicity |
combine(SqlMonotonicity m0,
SqlMonotonicity m1) |
SqlMonotonicity |
getMonotonicity(String columnName)
Returns whether and how a given column is sorted.
|
SqlNode |
getNode()
Returns the parse tree node at the root of this namespace.
|
RelDataType |
validateImpl(RelDataType targetRowType)
Validates this scope and returns the type of the records it returns.
|
convertToStruct, fieldExists, getEnclosingNode, getMonotonicExprs, getRowType, getRowTypeSansSystemColumns, getTable, getType, getValidator, isWrapperFor, lookupChild, makeNullable, resolve, setType, supportsModality, toStruct, translate, unwrap, validateprivate final SqlCall call
protected SetopNamespace(SqlValidatorImpl validator, SqlCall call, SqlNode enclosingNode)
SetopNamespace.validator - Validatorcall - Call to set operatorenclosingNode - Enclosing nodepublic SqlNode getNode()
SqlValidatorNamespaceTableNamespacepublic SqlMonotonicity getMonotonicity(String columnName)
SqlValidatorNamespacegetMonotonicity in interface SqlValidatorNamespacegetMonotonicity in class AbstractNamespaceprivate SqlMonotonicity combine(SqlMonotonicity m0, SqlMonotonicity m1)
public 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'.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.