Modifier and Type | Method and Description |
---|---|
BsonQuery |
build()
Build the
BsonQuery instance. |
BsonQuery.Builder |
distinct(String fieldName)
Mark the query as a distinct field value query.
|
BsonQuery.Builder |
projection(BsonProjection<?> projection)
Set the query projection.
|
BsonQuery.Builder projection(BsonProjection<?> projection)
projection
- The query projectionBsonQuery.Builder distinct(String fieldName)
fieldName
- Distinct field name (not null)Copyright © 2019 The Holon Platform. All rights reserved.