| Package | Description |
|---|---|
| com.holonplatform.datastore.mongo.core.expression |
| Modifier and Type | Method and Description |
|---|---|
static <R> BsonProjection.Builder<R> |
BsonProjection.builder(Class<R> projectionType)
Get a new
BsonProjection builder. |
static <R> BsonProjection.Builder<R> |
BsonProjection.builder(Class<R> projectionType,
boolean countAllProjection)
Get a new
BsonProjection builder. |
BsonProjection.Builder<R> |
BsonProjection.Builder.converter(DocumentConverter<R> converter)
Set the document results converter.
|
BsonProjection.Builder<R> |
BsonProjection.Builder.countByField(String fieldName)
Set that this projection is a count projection on given field name.
|
BsonProjection.Builder<R> |
BsonProjection.Builder.field(String fieldName)
Add a projection field name.
|
BsonProjection.Builder<R> |
BsonProjection.Builder.field(String fieldName,
org.bson.conversions.Bson bson)
Add a projection field.
|
BsonProjection.Builder<R> |
BsonProjection.Builder.hasAggregationFunctions(boolean hasAggregationFunctions)
Set whether this projection include one or more aggregation functions.
|
Copyright © 2019 The Holon Platform. All rights reserved.