Class CustomAggregation

  • All Implemented Interfaces:

    public class CustomAggregation
    extends java.lang.Object
    • Field Summary

      Modifier and Type Field Description
      private java.lang.String jsonOperation  
    • Constructor Summary

      Constructor Description
      CustomAggregation​(java.lang.String jsonOperation)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CustomAggregation custom​(java.lang.String jsonOperation)  
      org.bson.Document toDocument​( aggregationOperationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

        getOperator, toPipelineStages
    • Field Detail

      • jsonOperation

        private final java.lang.String jsonOperation
    • Constructor Detail

      • CustomAggregation

        public CustomAggregation​(java.lang.String jsonOperation)
    • Method Detail

      • custom

        public static CustomAggregation custom​(java.lang.String jsonOperation)
      • toDocument

        public org.bson.Document toDocument​( aggregationOperationContext)
        Specified by:
        toDocument in interface