public class MergeUpdate extends Object implements Serializable, MergeOperation
| Constructor and Description |
|---|
MergeUpdate() |
MergeUpdate(List<UpdateSet> updateSets) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MergeOperationVisitor mergeOperationVisitor) |
Expression |
getAndPredicate() |
<E extends Expression> |
getAndPredicate(Class<E> type) |
Expression |
getDeleteWhereCondition() |
<E extends Expression> |
getDeleteWhereCondition(Class<E> type) |
List<UpdateSet> |
getUpdateSets() |
Expression |
getWhereCondition() |
<E extends Expression> |
getWhereCondition(Class<E> type) |
void |
setAndPredicate(Expression andPredicate) |
void |
setDeleteWhereCondition(Expression deleteWhereCondition) |
MergeUpdate |
setUpdateSets(List<UpdateSet> updateSets) |
void |
setWhereCondition(Expression whereCondition) |
String |
toString() |
MergeUpdate |
withAndPredicate(Expression andPredicate) |
MergeUpdate |
withDeleteWhereCondition(Expression deleteWhereCondition) |
MergeUpdate |
withWhereCondition(Expression whereCondition) |
public MergeUpdate setUpdateSets(List<UpdateSet> updateSets)
public Expression getAndPredicate()
public void setAndPredicate(Expression andPredicate)
public Expression getWhereCondition()
public void setWhereCondition(Expression whereCondition)
public Expression getDeleteWhereCondition()
public void setDeleteWhereCondition(Expression deleteWhereCondition)
public void accept(MergeOperationVisitor mergeOperationVisitor)
accept in interface MergeOperationpublic MergeUpdate withAndPredicate(Expression andPredicate)
public MergeUpdate withWhereCondition(Expression whereCondition)
public MergeUpdate withDeleteWhereCondition(Expression deleteWhereCondition)
public <E extends Expression> E getAndPredicate(Class<E> type)
public <E extends Expression> E getWhereCondition(Class<E> type)
public <E extends Expression> E getDeleteWhereCondition(Class<E> type)
Copyright © 2004–2024 JSQLParser. All rights reserved.