Interface SortParameters

All Known Implementing Classes:
DefaultSortParameters

public interface SortParameters
Entity containing the parameters for the SORT operation.
Author:
Costin Leau, Christoph Strobl
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Sorting order.
    static class 
    Utility class wrapping the 'LIMIT' setting.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Returns the pattern (if set) for sorting by external keys (BY).
    byte[][]
    Returns the pattern (if set) for retrieving external keys (GET).
    Returns the sorting limit (range or pagination).
    Returns the sorting order.
    Indicates if the sorting is numeric (default) or alphabetical (lexicographical).
  • Method Details

    • getOrder

      Returns the sorting order. Can be null if nothing is specified.
      Returns:
      sorting order. null if not set.
    • isAlphabetic

      @Nullable Boolean isAlphabetic()
      Indicates if the sorting is numeric (default) or alphabetical (lexicographical). Can be null if nothing is specified.
      Returns:
      the type of sorting. null if not set.
    • getByPattern

      @Nullable byte[] getByPattern()
      Returns the pattern (if set) for sorting by external keys (BY). Can be null if nothing is specified.
      Returns:
      BY pattern. null if not set.
    • getGetPattern

      @Nullable byte[][] getGetPattern()
      Returns the pattern (if set) for retrieving external keys (GET). Can be null if nothing is specified.
      Returns:
      GET pattern. null if not set.
    • getLimit

      Returns the sorting limit (range or pagination). Can be null if nothing is specified.
      Returns:
      sorting limit/range. null if not set.