public DBCollection createView(final String viewName, final String viewOn, final List<? extends DBObject> pipeline) {
    """
	Creates a view with the given name, backing collection/view name, and aggregation pipeline that defines the view.
	
	@param viewName the name of the view to create
	@param viewOn   the backing collection/view for the view
	@param pipeline the pipeline that defines the view
	@return the view as a DBCollection
	@throws MongoCommandException if the server is unable to create the collection
	@throws WriteConcernException if the {@code WriteConcern} specified on this {@code DB} could not be satisfied
	@throws MongoException for all other failures
	@since 3.4
	@mongodb.server.release 3.4
	@mongodb.driver.manual reference/command/create Create Command
    """
        return createView(viewName, viewOn, pipeline, new DBCreateViewOptions());
    }
public DBCollection createView(final String viewName, final String viewOn, final List<? extends DBObject> pipeline) {
        return createView(viewName, viewOn, pipeline, new DBCreateViewOptions());
    }
public DBCollection createView ( final String viewName , final String viewOn , final List < ? extends DBObject > pipeline ) { return createView ( viewName , viewOn , pipeline , new DBCreateViewOptions ( ) ) ; }
Creates a view with the given name, backing collection/view name, and aggregation pipeline that defines the view.

@param viewName the name of the view to create
@param viewOn   the backing collection/view for the view
@param pipeline the pipeline that defines the view
@return the view as a DBCollection
@throws MongoCommandException if the server is unable to create the collection
@throws WriteConcernException if the {@code WriteConcern} specified on this {@code DB} could not be satisfied
@throws MongoException for all other failures
@since 3.4
@mongodb.server.release 3.4
@mongodb.driver.manual reference/command/create Create Command
Creates a view with the given name backing collection / view name and aggregation pipeline that defines the view .