Class Sort

    • Constructor Detail

      • Sort

        public Sort​(java.lang.String field,
                    int direction)
        Deprecated.
        Creates a sort on a field with a direction.
        • 1 to specify ascending order.
        • -1 to specify descending order.
        Parameters:
        field - the field
        direction - the direction
    • Method Detail

      • ascending

        @Deprecated
        public static Sort ascending​(java.lang.String field)
        Deprecated.
        Creates an ascending sort on a field
        Parameters:
        field - the field
        Returns:
        the Sort instance
      • descending

        @Deprecated
        public static Sort descending​(java.lang.String field)
        Deprecated.
        Creates a descending sort on a field
        Parameters:
        field - the field
        Returns:
        the Sort instance
      • getDirection

        @Deprecated
        public int getDirection()
        Deprecated.
        Use Sort.getOrder() instead.
        Returns:
        the sort direction