Class CountOptions


  • public class CountOptions
    extends Object
    The options for a count operation.
    • Constructor Detail

      • CountOptions

        public CountOptions()
    • Method Detail

      • getLimit

        public int getLimit()
        Gets the limit to apply. The default is 0, which means there is no limit.
        Returns:
        the limit
      • limit

        public CountOptions limit​(int limit)
        Sets the limit to apply.
        Parameters:
        limit - the limit
        Returns:
        this