Class Documents


  • public class Documents
    extends Stage
    Returns literal documents from input values.
    Since:
    2.3
    Since server release
    5.1
    • Constructor Detail

      • Documents

        protected Documents​(List<dev.morphia.aggregation.expressions.impls.DocumentExpression> expressions)
    • Method Detail

      • documents

        public static Documents documents​(dev.morphia.aggregation.expressions.impls.DocumentExpression... expressions)
        Creates a new stage with the given document expressions
        Parameters:
        expressions - the documents
        Returns:
        the new stage
      • expressions

        @MorphiaInternal
        public List<dev.morphia.aggregation.expressions.impls.DocumentExpression> expressions()
        Returns:
        the expressions
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.