net.esper.client.soda
Class View

java.lang.Object
  extended by net.esper.client.soda.EPBaseNamedObject
      extended by net.esper.client.soda.View
All Implemented Interfaces:
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(String namespace, String name, List<Object> parameters)
          Creates a view.
 
Method Summary
static View create(String namespace, String name)
          Creates a view.
static View create(String namespace, String name, List<Object> parameters)
          Creates a view.
static View create(String namespace, String name, Object... parameters)
          Creates a view.
 
Methods inherited from class net.esper.client.soda.EPBaseNamedObject
getName, getNamespace, getParameters, setName, setNamespace, setParameters, toEQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View

public View(String namespace,
            String name,
            List<Object> 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(String namespace,
                          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(String namespace,
                          String name,
                          List<Object> 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(String namespace,
                          String name,
                          Object... 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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com