public interface FluentUpdates
Updates helper methods.| Modifier and Type | Method and Description |
|---|---|
static <TItem> Update |
addEachToSet(Collection<TItem> field,
List<TItem> values) |
static <TItem> Update |
addToSet(Collection<TItem> field,
TItem value) |
static <TItem extends Number> |
bitwiseAnd(TItem field,
int value) |
static <TItem extends Number> |
bitwiseAnd(TItem field,
long value) |
static <TItem extends Number> |
bitwiseOr(TItem field,
int value) |
static <TItem extends Number> |
bitwiseOr(TItem field,
long value) |
static <TItem extends Number> |
bitwiseXor(TItem field,
int value) |
static <TItem extends Number> |
bitwiseXor(TItem field,
long value) |
static Update |
combine(Update... updates) |
static <TItem extends Date> |
currentDate(TItem field) |
static <TItem extends Date> |
currentTimestamp(TItem field) |
static <TItem extends Number> |
inc(TItem field,
TItem number) |
static <TItem extends Number> |
max(TItem field,
TItem value) |
static <TItem extends Number> |
min(TItem field,
TItem value) |
static <TItem extends Number> |
mul(TItem field,
Number number) |
static <TItem> Update |
popFirst(Collection<TItem> field) |
static <TItem> Update |
popLast(Collection<TItem> field) |
static <TItem> Update |
pull(Collection<TItem> field,
TItem value) |
static <TItem> Update |
pullAll(Collection<TItem> field,
List<TItem> values) |
static Update |
pullByFilter(boolean filter) |
static Update |
pullByFilter(org.bson.conversions.Bson filter) |
static <TItem> Update |
push(Collection<TItem> field,
TItem value) |
static <TItem> Update |
pushEach(Collection<TItem> field,
List<TItem> values) |
static <TItem> Update |
pushEach(Collection<TItem> field,
List<TItem> values,
com.mongodb.client.model.PushOptions options) |
static <TItem> Update |
set(TItem field,
TItem value) |
static <TItem> Update |
setOnInsert(TItem field,
TItem value) |
static <TItem> Update |
unset(TItem field) |
static <TItem> Update set(TItem field, @Nullable TItem value)
static <TItem> Update unset(TItem field)
static <TItem> Update setOnInsert(TItem field, @Nullable TItem value)
static <TItem> Update addToSet(Collection<TItem> field, @Nullable TItem value)
static <TItem> Update addEachToSet(Collection<TItem> field, List<TItem> values)
static <TItem> Update push(Collection<TItem> field, @Nullable TItem value)
static <TItem> Update pushEach(Collection<TItem> field, List<TItem> values)
static <TItem> Update pushEach(Collection<TItem> field, List<TItem> values, com.mongodb.client.model.PushOptions options)
static <TItem> Update pull(Collection<TItem> field, @Nullable TItem value)
static Update pullByFilter(boolean filter)
static Update pullByFilter(org.bson.conversions.Bson filter)
static <TItem> Update pullAll(Collection<TItem> field, List<TItem> values)
static <TItem> Update popFirst(Collection<TItem> field)
static <TItem> Update popLast(Collection<TItem> field)
Copyright © 2019 Streamx. All rights reserved.