|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.OnMergeMatchedInsertAction
public class OnMergeMatchedInsertAction
For use with on-merge clauses, inserts into a named window if matching rows are not found.
Constructor Summary | |
---|---|
OnMergeMatchedInsertAction()
Ctor. |
|
OnMergeMatchedInsertAction(java.util.List<java.lang.String> columnNames,
java.util.List<SelectClauseElement> selectList,
Expression whereClause,
java.lang.String optionalStreamName)
Ctor. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getColumnNames()
Returns the insert-into column names, if provided. |
java.lang.String |
getOptionalStreamName()
Returns the insert-into stream name. |
java.util.List<SelectClauseElement> |
getSelectList()
Returns the select expressions. |
Expression |
getWhereClause()
Returns the action condition, or null if undefined. |
void |
setColumnNames(java.util.List<java.lang.String> columnNames)
Sets the insert-into column names, can be empty list. |
void |
setOptionalStreamName(java.lang.String optionalStreamName)
Sets the insert-into stream name. |
void |
setSelectList(java.util.List<SelectClauseElement> selectList)
Sets the select expressions. |
void |
setWhereClause(Expression whereClause)
Sets the action condition, or null if undefined. |
void |
toEPL(java.io.StringWriter writer)
Render to EPL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnMergeMatchedInsertAction(java.util.List<java.lang.String> columnNames, java.util.List<SelectClauseElement> selectList, Expression whereClause, java.lang.String optionalStreamName)
columnNames
- insert-into column names, or empty list if none providedselectList
- select expression listwhereClause
- optional condition or nulloptionalStreamName
- optionally a stream name for insert-intopublic OnMergeMatchedInsertAction()
Method Detail |
---|
public Expression getWhereClause()
public void setWhereClause(Expression whereClause)
whereClause
- to set, or null to remove the conditionpublic java.util.List<java.lang.String> getColumnNames()
public void setColumnNames(java.util.List<java.lang.String> columnNames)
columnNames
- column names to setpublic java.util.List<SelectClauseElement> getSelectList()
public void setSelectList(java.util.List<SelectClauseElement> selectList)
selectList
- expression listpublic java.lang.String getOptionalStreamName()
public void setOptionalStreamName(java.lang.String optionalStreamName)
optionalStreamName
- stream name to insert intopublic void toEPL(java.io.StringWriter writer)
OnMergeMatchedAction
toEPL
in interface OnMergeMatchedAction
writer
- to render to
|
© 2006-2015 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 |