Class ContextDescriptorConditionCrontab

java.lang.Object
com.espertech.esper.common.client.soda.ContextDescriptorConditionCrontab
All Implemented Interfaces:
ContextDescriptorCondition, Serializable

public class ContextDescriptorConditionCrontab extends Object implements ContextDescriptorCondition
Context condition that start/initiated or ends/terminates context partitions based on a crontab expression.
See Also:
  • Constructor Details

    • ContextDescriptorConditionCrontab

      public ContextDescriptorConditionCrontab()
      Ctor.
    • ContextDescriptorConditionCrontab

      public ContextDescriptorConditionCrontab(List<List<Expression>> crontabExpressions, boolean now)
      Ctor.
      Parameters:
      crontabExpressions - crontab expressions returning number sets for each crontab position
      now - indicator whethet to include "now"
  • Method Details

    • getCrontabExpressions

      public List<List<Expression>> getCrontabExpressions()
      Returns the crontab expressions.
      Returns:
      crontab
    • setCrontabExpressions

      public void setCrontabExpressions(List<List<Expression>> crontabExpressions)
      Sets the crontab expressions.
      Parameters:
      crontabExpressions - to set
    • toEPL

      public void toEPL(StringWriter writer, EPStatementFormatter formatter)
      Description copied from interface: ContextDescriptorCondition
      Populate the EPL.
      Specified by:
      toEPL in interface ContextDescriptorCondition
      Parameters:
      writer - output
      formatter - formatter
    • isNow

      public boolean isNow()
      Returns "now" indicator
      Returns:
      "now" indicator
    • setNow

      public void setNow(boolean now)
      Sets "now" indicator
      Parameters:
      now - "now" indicator