Enum Class ViewEnum

java.lang.Object
java.lang.Enum<ViewEnum>
com.espertech.esper.common.internal.view.core.ViewEnum
All Implemented Interfaces:
Serializable, Comparable<ViewEnum>, Constable

public enum ViewEnum extends Enum<ViewEnum>
Enum for all build-in views.
  • Enum Constant Details

    • LENGTH_WINDOW

      public static final ViewEnum LENGTH_WINDOW
      Length window.
    • TIME_WINDOW

      public static final ViewEnum TIME_WINDOW
      Time window.
    • KEEPALL_WINDOW

      public static final ViewEnum KEEPALL_WINDOW
      Keep-all data window.
    • TIME_BATCH

      public static final ViewEnum TIME_BATCH
      Time batch.
    • TIME_LENGTH_BATCH

      public static final ViewEnum TIME_LENGTH_BATCH
      Time length batch.
    • LENGTH_BATCH

      public static final ViewEnum LENGTH_BATCH
      Length batch window.
    • SORT_WINDOW

      public static final ViewEnum SORT_WINDOW
      Sorted window.
    • RANK_WINDOW

      public static final ViewEnum RANK_WINDOW
      Rank window.
    • TIME_ACCUM

      public static final ViewEnum TIME_ACCUM
      Time accumulating view.
    • UNIQUE_BY_PROPERTY

      public static final ViewEnum UNIQUE_BY_PROPERTY
      Unique.
    • UNIQUE_FIRST_BY_PROPERTY

      public static final ViewEnum UNIQUE_FIRST_BY_PROPERTY
      First-Unique.
    • FIRST_TIME_WINDOW

      public static final ViewEnum FIRST_TIME_WINDOW
      Time first window.
    • TIME_ORDER

      public static final ViewEnum TIME_ORDER
      Time order event window.
    • TIMETOLIVE

      public static final ViewEnum TIMETOLIVE
      Time order event window.
    • EXT_TIMED_BATCH

      public static final ViewEnum EXT_TIMED_BATCH
      Externally timed batch.
    • EXT_TIMED_WINDOW

      public static final ViewEnum EXT_TIMED_WINDOW
      Externally timed window.
    • LAST_EVENT

      public static final ViewEnum LAST_EVENT
      Last event.
    • FIRST_EVENT

      public static final ViewEnum FIRST_EVENT
      First event.
    • FIRST_LENGTH_WINDOW

      public static final ViewEnum FIRST_LENGTH_WINDOW
      Length first window.
    • SIZE

      public static final ViewEnum SIZE
      Size view.
    • UNIVARIATE_STATISTICS

      public static final ViewEnum UNIVARIATE_STATISTICS
      Univariate statistics.
    • WEIGHTED_AVERAGE

      public static final ViewEnum WEIGHTED_AVERAGE
      Weighted avg.
    • REGRESSION_LINEST

      public static final ViewEnum REGRESSION_LINEST
      Linest.
    • CORRELATION

      public static final ViewEnum CORRELATION
      Correlation.
    • GROUP_MERGE

      public static final ViewEnum GROUP_MERGE
      Group-by merge.
    • GROUP_PROPERTY

      public static final ViewEnum GROUP_PROPERTY
      Group-by.
    • EXPRESSION_BATCH_WINDOW

      public static final ViewEnum EXPRESSION_BATCH_WINDOW
      Expression batch window.
    • EXPRESSION_WINDOW

      public static final ViewEnum EXPRESSION_WINDOW
      Expression window.
  • Method Details

    • values

      public static ViewEnum[] 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 ViewEnum 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
    • getNamespace

      public String getNamespace()
      Returns namespace that the object belongs to.
      Returns:
      namespace
    • getName

      public String getName()
      Returns name of the view that can be used to reference the view in a view expression.
      Returns:
      short name of view
    • getMergeView

      public ViewEnum getMergeView()
      Returns the enumeration value of the view for merging the data generated by another view.
      Returns:
      view enum for the merge view
    • getFactoryClass

      public Class getFactoryClass()
      Returns a view's factory class.
      Returns:
      class of view factory
    • forName

      public static ViewEnum forName(String namespace, String name)
      Returns the view enumeration value given the name of the view.
      Parameters:
      namespace - is the namespace name of the view
      name - is the short name of the view as used in view expressions
      Returns:
      view enumeration value, or null if no such view name is among the enumerated values