Enum Class ViewEnum
- All Implemented Interfaces:
Serializable
,Comparable<ViewEnum>
,Constable
Enum for all build-in views.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCorrelation.Expression batch window.Expression window.Externally timed batch.Externally timed window.First event.Length first window.Time first window.Group-by merge.Group-by.Keep-all data window.Last event.Length batch window.Length window.Rank window.Linest.Size view.Sorted window.Time accumulating view.Time batch.Time length batch.Time order event window.Time window.Time order event window.Unique.First-Unique.Univariate statistics.Weighted avg. -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewEnum
Returns the view enumeration value given the name of the view.Returns a view's factory class.Returns the enumeration value of the view for merging the data generated by another view.getName()
Returns name of the view that can be used to reference the view in a view expression.Returns namespace that the object belongs to.static ViewEnum
Returns the enum constant of this class with the specified name.static ViewEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LENGTH_WINDOW
Length window. -
TIME_WINDOW
Time window. -
KEEPALL_WINDOW
Keep-all data window. -
TIME_BATCH
Time batch. -
TIME_LENGTH_BATCH
Time length batch. -
LENGTH_BATCH
Length batch window. -
SORT_WINDOW
Sorted window. -
RANK_WINDOW
Rank window. -
TIME_ACCUM
Time accumulating view. -
UNIQUE_BY_PROPERTY
Unique. -
UNIQUE_FIRST_BY_PROPERTY
First-Unique. -
FIRST_TIME_WINDOW
Time first window. -
TIME_ORDER
Time order event window. -
TIMETOLIVE
Time order event window. -
EXT_TIMED_BATCH
Externally timed batch. -
EXT_TIMED_WINDOW
Externally timed window. -
LAST_EVENT
Last event. -
FIRST_EVENT
First event. -
FIRST_LENGTH_WINDOW
Length first window. -
SIZE
Size view. -
UNIVARIATE_STATISTICS
Univariate statistics. -
WEIGHTED_AVERAGE
Weighted avg. -
REGRESSION_LINEST
Linest. -
CORRELATION
Correlation. -
GROUP_MERGE
Group-by merge. -
GROUP_PROPERTY
Group-by. -
EXPRESSION_BATCH_WINDOW
Expression batch window. -
EXPRESSION_WINDOW
Expression window.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNamespace
Returns namespace that the object belongs to.- Returns:
- namespace
-
getName
Returns name of the view that can be used to reference the view in a view expression.- Returns:
- short name of view
-
getMergeView
Returns the enumeration value of the view for merging the data generated by another view.- Returns:
- view enum for the merge view
-
getFactoryClass
Returns a view's factory class.- Returns:
- class of view factory
-
forName
Returns the view enumeration value given the name of the view.- Parameters:
namespace
- is the namespace name of the viewname
- 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
-