Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
void |
MongoDatabase.createView(String viewName,
String viewOn,
List<? extends Bson> pipeline,
CreateViewOptions createViewOptions,
SingleResultCallback<Void> callback)
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.
|
Modifier and Type | Method and Description |
---|---|
void |
MongoDatabase.createView(String viewName,
String viewOn,
List<? extends Bson> pipeline,
CreateViewOptions createViewOptions)
Creates a view with the given name, backing collection/view name, aggregation pipeline, and options that defines the view.
|
Modifier and Type | Method and Description |
---|---|
CreateViewOptions |
CreateViewOptions.collation(Collation collation)
Sets the collation options
|
Copyright © 2017. All Rights Reserved.