Class ArraySlice


  • public class ArraySlice
    extends Object
    Defines array slicing options for query projections.
    • Constructor Detail

      • ArraySlice

        public ArraySlice​(int limit)
        Specifies the number of array elements to return
        Parameters:
        limit - the number of array elements to return
      • ArraySlice

        public ArraySlice​(int skip,
                          int limit)
        Specifies the number of array elements to skip.
        Parameters:
        skip - the number of array elements to skip
        limit - the number of array elements to return
    • Method Detail

      • getLimit

        public Integer getLimit()
        Returns:
        the limit to apply to the projection
      • getSkip

        public Integer getSkip()
        Returns:
        the skip value to apply to the projection