|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.client.soda.CreateWindowClause
public class CreateWindowClause
Create a named window, defining the parameter of the named window such as window name and data window view name(s).
Constructor Summary | |
---|---|
CreateWindowClause(String windowName,
List<View> views)
Ctor. |
|
CreateWindowClause(String windowName,
View[] viewArr)
Ctor. |
Method Summary | |
---|---|
CreateWindowClause |
addView(String namespace,
String name)
Adds an un-parameterized view to the named window. |
CreateWindowClause |
addView(String namespace,
String name,
List<Object> parameters)
Adds a parameterized view to the named window. |
static CreateWindowClause |
create(String windowName,
View... views)
Creates a clause to create a named window. |
static CreateWindowClause |
create(String windowName,
View view)
Creates a clause to create a named window. |
List<View> |
getViews()
Returns the views onto the named window. |
String |
getWindowName()
Returns the window name. |
void |
setViews(List<View> views)
Sets the views onto the named window. |
void |
setWindowName(String windowName)
Sets the window name. |
void |
toEQL(StringWriter writer)
Renders the clause in textual representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateWindowClause(String windowName, View[] viewArr)
windowName
- is the name of the window to createviewArr
- is the list of data window viewspublic CreateWindowClause(String windowName, List<View> views)
windowName
- is the name of the window to createviews
- is a list of data window viewsMethod Detail |
---|
public static CreateWindowClause create(String windowName, View view)
windowName
- is the name of the named windowview
- is a data window view
public static CreateWindowClause create(String windowName, View... views)
windowName
- is the name of the named windowviews
- is the data window views
public CreateWindowClause addView(String namespace, String name)
namespace
- is the view namespace, for example "win" for most data windowsname
- is the view name, for example "length" for a length window
public CreateWindowClause addView(String namespace, String name, List<Object> parameters)
namespace
- is the view namespace, for example "win" for most data windowsname
- is the view name, for example "length" for a length windowparameters
- is a list of view parameters
public void toEQL(StringWriter writer)
writer
- to output topublic String getWindowName()
public void setWindowName(String windowName)
windowName
- is the name to setpublic List<View> getViews()
public void setViews(List<View> views)
views
- to set
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |