Class OperatorsOracle


  • public class OperatorsOracle
    extends Object
    An Oracle for all things "operator" related
    • Field Detail

      • STANDARD_OPERATORS

        public static final String[] STANDARD_OPERATORS
      • STANDARD_CONNECTIVES

        public static final String[] STANDARD_CONNECTIVES
      • COMPARABLE_OPERATORS

        public static final String[] COMPARABLE_OPERATORS
      • COMPARABLE_CONNECTIVES

        public static final String[] COMPARABLE_CONNECTIVES
      • STRING_OPERATORS

        public static final String[] STRING_OPERATORS
      • STRING_CONNECTIVES

        public static final String[] STRING_CONNECTIVES
      • COLLECTION_OPERATORS

        public static final String[] COLLECTION_OPERATORS
      • COLLECTION_CONNECTIVES

        public static final String[] COLLECTION_CONNECTIVES
      • EXPLICIT_LIST_OPERATORS

        public static final String[] EXPLICIT_LIST_OPERATORS
      • CONDITIONAL_ELEMENTS

        public static final String[] CONDITIONAL_ELEMENTS
      • SIMPLE_CEP_OPERATORS

        public static final String[] SIMPLE_CEP_OPERATORS
      • COMPLEX_CEP_OPERATORS

        public static final String[] COMPLEX_CEP_OPERATORS
      • WINDOW_CEP_OPERATORS

        public static final String[] WINDOW_CEP_OPERATORS
      • SIMPLE_CEP_CONNECTIVES

        public static final String[] SIMPLE_CEP_CONNECTIVES
      • COMPLEX_CEP_CONNECTIVES

        public static final String[] COMPLEX_CEP_CONNECTIVES
    • Constructor Detail

      • OperatorsOracle

        public OperatorsOracle()
    • Method Detail

      • operatorRequiresList

        public static boolean operatorRequiresList​(String operator)
        Check whether an operator requires a list of values (i.e. the operator is either "in" or "not in"). Operators requiring a list of values can only be compared to literal values.
        Parameters:
        operator -
        Returns:
        True if the operator requires a list values
      • isValueRequired

        public static boolean isValueRequired​(String operator)
        Operator "== null" and "!= null" do not need a Value. This method wraps the logic into a single method.
        Parameters:
        operator - The operator to check
        Returns:
        true is a Value is required