T - document type@NotThreadSafe public abstract static class Repositories.Updater<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Constraints.Constraint |
addToSetFields |
protected Constraints.ConstraintHost |
criteria |
protected Constraints.Constraint |
incrementFields |
protected Constraints.Constraint |
pullFields |
protected Constraints.Constraint |
pushFields |
protected Repositories.Repository<T> |
repository |
protected Constraints.Constraint |
setFields |
protected Constraints.Constraint |
setOnInsertFields |
protected Constraints.Constraint |
unsetFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Updater(Repositories.Repository<T> repository) |
| Modifier and Type | Method and Description |
|---|---|
protected Constraints.Constraint |
collectRequiredUpdate() |
protected Constraints.Constraint |
collectUpdate() |
FluentFuture<Integer> |
updateAll() |
FluentFuture<Integer> |
updateFirst() |
FluentFuture<Integer> |
upsert() |
@Nullable protected Constraints.ConstraintHost criteria
protected Constraints.Constraint setFields
protected Constraints.Constraint setOnInsertFields
protected Constraints.Constraint incrementFields
protected Constraints.Constraint addToSetFields
protected Constraints.Constraint pushFields
protected Constraints.Constraint pullFields
protected Constraints.Constraint unsetFields
protected final Repositories.Repository<T> repository
protected Updater(Repositories.Repository<T> repository)
public FluentFuture<Integer> upsert()
public FluentFuture<Integer> updateFirst()
public FluentFuture<Integer> updateAll()
protected Constraints.Constraint collectRequiredUpdate()
protected Constraints.Constraint collectUpdate()
Copyright © 2016 The Immutables.org authors. All rights reserved.