com.jpattern.orm.query.update.UpdateWhereImpl Maven / Gradle / Ivy
package com.jpattern.orm.query.update;
import java.util.List;
import com.jpattern.orm.query.clause.OrmWhere;
/**
*
* @author ufo
*
*/
public class UpdateWhereImpl extends OrmWhere implements UpdateWhere {
private final UpdateQuery updateQuery;
public UpdateWhereImpl(final UpdateQuery updateQuery) {
this.updateQuery = updateQuery;
}
@Override
public UpdateQuery query() {
return this.updateQuery;
}
@Override
public UpdateSet set() {
return this.updateQuery.set();
}
@Override
protected UpdateWhere where() {
return this;
}
@Override
public int perform() {
return this.updateQuery.perform();
}
@Override
public final void appendValues(final List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy