public class ModOperation extends QueryOperationWithField
Represent $mod operation. Select documents where the value of a field divided by a divisor has the specified remainder.
  • Constructor Details

    • ModOperation

      public ModOperation(String fieldName, Long divisor, Long remainder)
  • Method Details

    • getDivisor

      public Long getDivisor()
    • getRemainder

      public Long getRemainder()