public class MatchRecognizeNamespace extends AbstractNamespace
MATCH_RECOGNIZE clause.| Modifier and Type | Field and Description |
|---|---|
private SqlMatchRecognize |
matchRecognize |
enclosingNode, rowType, type, validator| Modifier | Constructor and Description |
|---|---|
protected |
MatchRecognizeNamespace(SqlValidatorImpl validator,
SqlMatchRecognize matchRecognize,
SqlNode enclosingNode)
Creates a MatchRecognizeNamespace.
|
| Modifier and Type | Method and Description |
|---|---|
SqlMatchRecognize |
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, getMonotonicity, getRowType, getRowTypeSansSystemColumns, getTable, getType, getValidator, isWrapperFor, lookupChild, makeNullable, resolve, setType, supportsModality, toStruct, translate, unwrap, validateprivate final SqlMatchRecognize matchRecognize
protected MatchRecognizeNamespace(SqlValidatorImpl validator, SqlMatchRecognize matchRecognize, SqlNode enclosingNode)
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'.public SqlMatchRecognize getNode()
SqlValidatorNamespaceTableNamespaceCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.