public static MongoCollection < Document > createCollection ( MongoDatabase db , String collectionName , CreateCollectionOptions options ) { db . createCollection ( collectionName , options ) ; return db . getCollection ( collectionName ) ; }
Create a new collection .