Class DBCreateViewOptions


  • public class DBCreateViewOptions
    extends Object
    The options to apply when creating a view
    Since:
    3.4
    MongoDB documentation
    Create Command
    Since server release
    3.4
    • Constructor Detail

      • DBCreateViewOptions

        public DBCreateViewOptions()
    • Method Detail

      • getCollation

        public Collation getCollation()
        Returns the collation options
        Returns:
        the collation options
      • collation

        public DBCreateViewOptions collation​(Collation collation)
        Sets the collation
        Parameters:
        collation - the collation
        Returns:
        this