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
CEPCall
instance represents an operation (node) that contains an operator and a list of operands.ACEPFieldRef
instance represents a node that points to a specified field in aRow
.CEPKind
corresponds to Calcite'sSqlKind
.CEPLiteral
represents a literal node.TheCEPMeasure
class represents the Measures clause and contains information about output columns.CEPOperation
is the base class for the evaluation operations defined in theDEFINE
syntax ofMATCH_RECOGNIZE
.TheCEPOperator
records 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).TheOrderKey
class stores the information to sort a column.PatternCondition
stores the function to decide whether a row is a match of a single pattern.TheQuantifier
class is intended for storing the information of the quantifier for a pattern variable.