Enum Class OutputLimitSelector

java.lang.Object
java.lang.Enum<OutputLimitSelector>
com.espertech.esper.common.client.soda.OutputLimitSelector
All Implemented Interfaces:
Serializable, Comparable<OutputLimitSelector>, Constable

public enum OutputLimitSelector extends Enum<OutputLimitSelector>
Selector for use in output rate limiting.
  • Enum Constant Details

    • FIRST

      public static final OutputLimitSelector FIRST
      Output first event of last interval.
    • LAST

      public static final OutputLimitSelector LAST
      Output last event of last interval.
    • ALL

      public static final OutputLimitSelector ALL
      Output all events of last interval. For group-by statements, output all groups regardless whether the group changed between the last output.
    • DEFAULT

      public static final OutputLimitSelector DEFAULT
      Output all events of last interval.
    • SNAPSHOT

      public static final OutputLimitSelector SNAPSHOT
      Output all events as a snapshot considering the current state regardless of interval.
  • Method Details

    • values

      public static OutputLimitSelector[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OutputLimitSelector valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getText

      public String getText()
      Returns the text for the selector.
      Returns:
      text