public class UpdateDesc extends Object implements MetaDefItem, Serializable
Constructor and Description |
---|
UpdateDesc(String optionalStreamName,
List<OnTriggerSetAssignment> assignments,
ExprNode optionalWhereClause)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<OnTriggerSetAssignment> |
getAssignments()
Returns a list of all assignment
|
String |
getOptionalStreamName()
Returns the stream name if defined.
|
ExprNode |
getOptionalWhereClause()
Returns the where-clause if defined.
|
void |
setOptionalWhereClause(ExprNode optionalWhereClause)
Sets the where-clause if defined.
|
public UpdateDesc(String optionalStreamName, List<OnTriggerSetAssignment> assignments, ExprNode optionalWhereClause)
optionalStreamName
- a stream name if provided for the updateassignments
- the individual assignments madeoptionalWhereClause
- the where-clause expression if providedpublic List<OnTriggerSetAssignment> getAssignments()
public String getOptionalStreamName()
public ExprNode getOptionalWhereClause()
public void setOptionalWhereClause(ExprNode optionalWhereClause)
optionalWhereClause
- where clause to set or null