org.springframework.data.mongodb.core.aggregation

Class ReplaceRootOperation.ReplaceRootDocumentOperationBuilder

  • java.lang.Object
    • org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
  • Enclosing class:
    ReplaceRootOperation


    public static class ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
    extends Object
    Builder for ReplaceRootDocumentOperation to populate ReplacementDocument
    Author:
    Mark Paluch
    • Constructor Detail

      • ReplaceRootDocumentOperationBuilder

        protected ReplaceRootDocumentOperationBuilder(org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation currentOperation,
                                                      Object value)
    • Method Detail

      • as

        public org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation as(String fieldName)