Package org.apache.beam.sdk.extensions.sql.impl.cep
package org.apache.beam.sdk.extensions.sql.impl.cep
Utilities for Complex Event Processing (CEP).
For serialization, Beam needs serializable classes to replace Calcite's classes. This package
includes some "cloned" classes to replace Calcite RexNode, RelCollation,
SqlOperator etc.
-
ClassDescriptionA
CEPCallinstance represents an operation (node) that contains an operator and a list of operands.ACEPFieldRefinstance represents a node that points to a specified field in aRow.CEPKindcorresponds to Calcite'sSqlKind.CEPLiteralrepresents a literal node.TheCEPMeasureclass represents the Measures clause and contains information about output columns.CEPOperationis the base class for the evaluation operations defined in theDEFINEsyntax ofMATCH_RECOGNIZE.TheCEPOperatorrecords the operators (i.e.Core pattern class that stores the definition of a single pattern.Some utility methods for transforming Calcite's constructs into our own Beam constructs (for serialization purpose).TheOrderKeyclass stores the information to sort a column.PatternConditionstores the function to decide whether a row is a match of a single pattern.TheQuantifierclass is intended for storing the information of the quantifier for a pattern variable.