Example usage for com.mongodb MongoOptions MongoOptions

List of usage examples for com.mongodb MongoOptions MongoOptions

Introduction

In this page you can find the example usage for com.mongodb MongoOptions MongoOptions.

Prototype

@SuppressWarnings("deprecation")
@Deprecated
public MongoOptions(final MongoClientOptions options) 

Source Link

Document

Creates a new MongoOptions with the given options.

Usage

From source file:org.eclipse.birt.data.oda.mongodb.impl.MongoDBDriver.java

License:Open Source License

private static MongoOptions createDefaultClientOptions() {
    Builder optionsBuilder = new MongoClientOptions.Builder();
    return new MongoOptions(optionsBuilder.build());
}