Java org.springframework.data.mongodb.core CollectionOptions fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.mongodb.core CollectionOptions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.mongodb.core CollectionOptions.

The text is from its open source code.

Method

CollectionOptionsempty()
Create new empty CollectionOptions .
OptionalgetCapped()
Get if the collection should be capped.
OptionalgetMaxDocuments()
Get the max number of documents the collection should be limited to.
OptionalgetSize()
Get the size in bytes the collection should be limited to.