public class CreateWindowDesc extends java.lang.Object implements MetaDefItem, java.io.Serializable
Constructor and Description |
---|
CreateWindowDesc(java.lang.String windowName,
java.util.List<ViewSpec> viewSpecs,
StreamSpecOptions streamSpecOptions,
boolean insert,
ExprNode insertFilter,
java.util.List<ColumnDesc> columns,
java.lang.String asEventTypeName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsEventTypeName() |
java.util.List<ColumnDesc> |
getColumns()
Returns column names and types.
|
ExprNode |
getInsertFilter()
Returns the expression to filter insert-from events, or null if none supplied.
|
java.lang.String |
getInsertFromWindow()
Returns the window name to insert from.
|
StreamSpecOptions |
getStreamSpecOptions()
Returns the options for the stream such as unidirectional, retain-union etc.
|
java.util.List<ViewSpec> |
getViewSpecs()
Returns the view specifications.
|
java.lang.String |
getWindowName()
Returns the window name.
|
boolean |
isInsert()
Returns true for insert-from.
|
void |
setInsertFilter(ExprNode insertFilter)
Sets the filter expression to use to apply
|
void |
setInsertFromWindow(java.lang.String insertFromWindow)
Sets the source named window if inserting from another named window.
|
public CreateWindowDesc(java.lang.String windowName, java.util.List<ViewSpec> viewSpecs, StreamSpecOptions streamSpecOptions, boolean insert, ExprNode insertFilter, java.util.List<ColumnDesc> columns, java.lang.String asEventTypeName)
windowName
- the window nameviewSpecs
- the view definitionsinsert
- true for insert-infoinsertFilter
- optional filter expressionstreamSpecOptions
- options such as retain-union etccolumns
- list of columns, if using column syntaxasEventTypeName
- as-typepublic java.lang.String getWindowName()
public java.util.List<ViewSpec> getViewSpecs()
public boolean isInsert()
public ExprNode getInsertFilter()
public java.lang.String getInsertFromWindow()
public void setInsertFilter(ExprNode insertFilter)
insertFilter
- filterpublic void setInsertFromWindow(java.lang.String insertFromWindow)
insertFromWindow
- source named windowpublic StreamSpecOptions getStreamSpecOptions()
public java.util.List<ColumnDesc> getColumns()
public java.lang.String getAsEventTypeName()