Class View
java.lang.Object
com.espertech.esper.common.client.soda.EPBaseNamedObject
com.espertech.esper.common.client.soda.View
- All Implemented Interfaces:
Serializable
A view provides a projection upon a stream, such as a data window, grouping or unique.
For views, the namespace is an optional value and can be null for any-namespace.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic View
Creates a view.static View
create
(String name, Expression... parameters) Creates a view.static View
Creates a view.static View
create
(String namespace, String name, Expression... parameters) Creates a view.static View
create
(String namespace, String name, List<Expression> parameters) Creates a view.static View
create
(String name, List<Expression> parameters) Creates a view.void
toEPLWithHash
(StringWriter writer) Render view.Methods inherited from class com.espertech.esper.common.client.soda.EPBaseNamedObject
getName, getNamespace, getParameters, setName, setNamespace, setParameters, toEPL
-
Constructor Details
-
View
public View()Ctor. -
View
Creates a view.- Parameters:
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the view
-
-
Method Details
-
create
Creates a view.- Parameters:
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length window- Returns:
- view
-
create
Creates a view.- Parameters:
name
- is the view name, i.e. "length" for length window- Returns:
- view
-
create
Creates a view.- Parameters:
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the view- Returns:
- view
-
create
Creates a view.- Parameters:
name
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the view- Returns:
- view
-
create
Creates a view.- Parameters:
namespace
- is thie view namespace, i.e. "win" for data windowsname
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the view- Returns:
- view
-
create
Creates a view.- Parameters:
name
- is the view name, i.e. "length" for length windowparameters
- is a list of view parameters, or empty if there are no parameters for the view- Returns:
- view
-
toEPLWithHash
Render view.- Parameters:
writer
- to render to
-