com.espertech.esper.client.soda
Class View

java.lang.Object
  extended by com.espertech.esper.client.soda.EPBaseNamedObject
      extended by com.espertech.esper.client.soda.View
All Implemented Interfaces:
java.io.Serializable

public class View
extends EPBaseNamedObject

A view provides a projection upon a stream, such as a data window, grouping or unique.

See Also:
Serialized Form

Constructor Summary
View()
          Ctor.
View(java.lang.String namespace, java.lang.String name, java.util.List<Expression> parameters)
          Creates a view.
 
Method Summary
static View create(java.lang.String namespace, java.lang.String name)
          Creates a view.
static View create(java.lang.String namespace, java.lang.String name, Expression... parameters)
          Creates a view.
static View create(java.lang.String namespace, java.lang.String name, java.util.List<Expression> parameters)
          Creates a view.
 
Methods inherited from class com.espertech.esper.client.soda.EPBaseNamedObject
getName, getNamespace, getParameters, setName, setNamespace, setParameters, toEPL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View

public View()
Ctor.


View

public View(java.lang.String namespace,
            java.lang.String name,
            java.util.List<Expression> parameters)
Creates a view.

Parameters:
namespace - is thie view namespace, i.e. "win" for data windows
name - is the view name, i.e. "length" for length window
parameters - is a list of view parameters, or empty if there are no parameters for the view
Method Detail

create

public static View create(java.lang.String namespace,
                          java.lang.String name)
Creates a view.

Parameters:
namespace - is thie view namespace, i.e. "win" for data windows
name - is the view name, i.e. "length" for length window
Returns:
view

create

public static View create(java.lang.String namespace,
                          java.lang.String name,
                          java.util.List<Expression> parameters)
Creates a view.

Parameters:
namespace - is thie view namespace, i.e. "win" for data windows
name - is the view name, i.e. "length" for length window
parameters - is a list of view parameters, or empty if there are no parameters for the view
Returns:
view

create

public static View create(java.lang.String namespace,
                          java.lang.String name,
                          Expression... parameters)
Creates a view.

Parameters:
namespace - is thie view namespace, i.e. "win" for data windows
name - is the view name, i.e. "length" for length window
parameters - is a list of view parameters, or empty if there are no parameters for the view
Returns:
view

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com