Class CEPOracle


  • public class CEPOracle
    extends Object
    An Oracle for all things "CEP" related
    • Constructor Detail

      • CEPOracle

        public CEPOracle()
    • Method Detail

      • isCEPOperator

        public static boolean isCEPOperator​(String operator)
        Check whether an operator is a CEP operator
        Parameters:
        operator -
        Returns:
        True if the operator is a CEP operator
      • getCEPOperatorParameterSets

        public static List<Integer> getCEPOperatorParameterSets​(String operator)
        Get the parameter sets for the given CEP Operator (simple, or connective) e.g. CEP operator "during" requires 0, 1, 2 or 4 parameters so the returned list contains 0, 1, 2 and 4.
        Parameters:
        operator -
        Returns:
      • getCEPWindowOperators

        public static List<String> getCEPWindowOperators()
        Return a list of operators applicable to CEP windows
        Returns:
      • isCEPWindowOperator

        public static boolean isCEPWindowOperator​(String operator)
        Check whether an operator is a CEP 'window' operator
        Parameters:
        operator -
        Returns:
        True if the operator is a CEP 'window' operator
      • isCEPWindowOperatorTime

        public static boolean isCEPWindowOperatorTime​(String operator)
        Check if the operator is 'window over:time'
        Parameters:
        operator -
        Returns:
        if
      • isCEPWindowOperatorLength

        public static boolean isCEPWindowOperatorLength​(String operator)
        Check if the operator is 'window over:length'
        Parameters:
        operator -
        Returns:
        if