public class SqlMatchRecognize
extends org.apache.calcite.sql.SqlCall
The class was copied over because of CALCITE-4390. The changed lines are: 110-112
Modifier and Type | Class and Description |
---|---|
static class |
SqlMatchRecognize.AfterOption
Options for
AFTER MATCH clause. |
static class |
SqlMatchRecognize.RowsPerMatchOption
Options for
ROWS PER MATCH . |
static class |
SqlMatchRecognize.SqlMatchRecognizeOperator
An operator describing a MATCH_RECOGNIZE specification.
|
Modifier and Type | Field and Description |
---|---|
static int |
OPERAND_AFTER |
static int |
OPERAND_INTERVAL |
static int |
OPERAND_MEASURES |
static int |
OPERAND_ORDER_BY |
static int |
OPERAND_PARTITION_BY |
static int |
OPERAND_PATTERN |
static int |
OPERAND_PATTERN_DEFINES |
static int |
OPERAND_ROWS_PER_MATCH |
static int |
OPERAND_STRICT_END |
static int |
OPERAND_STRICT_START |
static int |
OPERAND_SUBSET |
static int |
OPERAND_TABLE_REF |
static org.apache.calcite.sql.SqlPrefixOperator |
SKIP_TO_FIRST |
static org.apache.calcite.sql.SqlPrefixOperator |
SKIP_TO_LAST |
Constructor and Description |
---|
SqlMatchRecognize(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlNode tableRef,
org.apache.calcite.sql.SqlNode pattern,
org.apache.calcite.sql.SqlLiteral strictStart,
org.apache.calcite.sql.SqlLiteral strictEnd,
org.apache.calcite.sql.SqlNodeList patternDefList,
org.apache.calcite.sql.SqlNodeList measureList,
org.apache.calcite.sql.SqlNode after,
org.apache.calcite.sql.SqlNodeList subsetList,
org.apache.calcite.sql.SqlLiteral rowsPerMatch,
org.apache.calcite.sql.SqlNodeList partitionList,
org.apache.calcite.sql.SqlNodeList orderList,
org.apache.calcite.sql.SqlLiteral interval)
Creates a SqlMatchRecognize.
|
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlNode |
getAfter() |
org.apache.calcite.sql.SqlLiteral |
getInterval() |
org.apache.calcite.sql.SqlKind |
getKind() |
org.apache.calcite.sql.SqlNodeList |
getMeasureList() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
org.apache.calcite.sql.SqlNodeList |
getOrderList() |
org.apache.calcite.sql.SqlNodeList |
getPartitionList() |
org.apache.calcite.sql.SqlNode |
getPattern() |
org.apache.calcite.sql.SqlNodeList |
getPatternDefList() |
org.apache.calcite.sql.SqlLiteral |
getRowsPerMatch() |
org.apache.calcite.sql.SqlLiteral |
getStrictEnd() |
org.apache.calcite.sql.SqlLiteral |
getStrictStart() |
org.apache.calcite.sql.SqlNodeList |
getSubsetList() |
org.apache.calcite.sql.SqlNode |
getTableRef() |
void |
setOperand(int i,
org.apache.calcite.sql.SqlNode operand) |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
validate(org.apache.calcite.sql.validate.SqlValidator validator,
org.apache.calcite.sql.validate.SqlValidatorScope scope) |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getMonotonicity, isCountStar, isExpanded, operand, operandCount
public static final int OPERAND_TABLE_REF
public static final int OPERAND_PATTERN
public static final int OPERAND_STRICT_START
public static final int OPERAND_STRICT_END
public static final int OPERAND_PATTERN_DEFINES
public static final int OPERAND_MEASURES
public static final int OPERAND_AFTER
public static final int OPERAND_SUBSET
public static final int OPERAND_ROWS_PER_MATCH
public static final int OPERAND_PARTITION_BY
public static final int OPERAND_ORDER_BY
public static final int OPERAND_INTERVAL
public static final org.apache.calcite.sql.SqlPrefixOperator SKIP_TO_FIRST
public static final org.apache.calcite.sql.SqlPrefixOperator SKIP_TO_LAST
public SqlMatchRecognize(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlNode tableRef, org.apache.calcite.sql.SqlNode pattern, org.apache.calcite.sql.SqlLiteral strictStart, org.apache.calcite.sql.SqlLiteral strictEnd, org.apache.calcite.sql.SqlNodeList patternDefList, org.apache.calcite.sql.SqlNodeList measureList, org.apache.calcite.sql.SqlNode after, org.apache.calcite.sql.SqlNodeList subsetList, org.apache.calcite.sql.SqlLiteral rowsPerMatch, org.apache.calcite.sql.SqlNodeList partitionList, org.apache.calcite.sql.SqlNodeList orderList, org.apache.calcite.sql.SqlLiteral interval)
public org.apache.calcite.sql.SqlOperator getOperator()
getOperator
in class org.apache.calcite.sql.SqlCall
public org.apache.calcite.sql.SqlKind getKind()
getKind
in class org.apache.calcite.sql.SqlCall
public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlCall
public void validate(org.apache.calcite.sql.validate.SqlValidator validator, org.apache.calcite.sql.validate.SqlValidatorScope scope)
validate
in class org.apache.calcite.sql.SqlCall
public void setOperand(int i, org.apache.calcite.sql.SqlNode operand)
setOperand
in class org.apache.calcite.sql.SqlCall
@Nonnull public org.apache.calcite.sql.SqlNode getTableRef()
public org.apache.calcite.sql.SqlNode getPattern()
public org.apache.calcite.sql.SqlLiteral getStrictStart()
public org.apache.calcite.sql.SqlLiteral getStrictEnd()
@Nonnull public org.apache.calcite.sql.SqlNodeList getPatternDefList()
@Nonnull public org.apache.calcite.sql.SqlNodeList getMeasureList()
public org.apache.calcite.sql.SqlNode getAfter()
public org.apache.calcite.sql.SqlNodeList getSubsetList()
public org.apache.calcite.sql.SqlLiteral getRowsPerMatch()
public org.apache.calcite.sql.SqlNodeList getPartitionList()
public org.apache.calcite.sql.SqlNodeList getOrderList()
public org.apache.calcite.sql.SqlLiteral getInterval()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.