public interface FluentProjections
Projections helper methods.| Modifier and Type | Method and Description |
|---|---|
static <TItem> Projection |
elemMatch(Collection<TItem> field) |
static <TItem> Projection |
elemMatch(Collection<TItem> field,
org.bson.conversions.Bson filter) |
static <TItem> Projection |
elemMatch(Collection<TItem> field,
Function1<TItem,Boolean> filter) |
static <TItem> Projection |
exclude(TItem... field) |
static Projection |
excludeId() |
static Projection |
fields(Projection... projections) |
static <TItem> Projection |
include(TItem... field) |
static <TItem> Projection |
metaTextScore(TItem field) |
static <TItem> Projection |
slice(Collection<TItem> field,
int limit) |
static <TItem> Projection |
slice(Collection<TItem> field,
int skip,
int limit) |
@SafeVarargs static <TItem> Projection include(TItem... field)
@SafeVarargs static <TItem> Projection exclude(TItem... field)
static Projection excludeId()
static <TItem> Projection elemMatch(Collection<TItem> field)
static <TItem> Projection elemMatch(Collection<TItem> field, Function1<TItem,Boolean> filter)
static <TItem> Projection elemMatch(Collection<TItem> field, org.bson.conversions.Bson filter)
static <TItem> Projection metaTextScore(TItem field)
static <TItem> Projection slice(Collection<TItem> field, int limit)
static <TItem> Projection slice(Collection<TItem> field, int skip, int limit)
static Projection fields(Projection... projections)
Copyright © 2019 Streamx. All rights reserved.