Interface SortOrderVisitor<T>


  • public interface SortOrderVisitor<T>
    • Method Detail

      • bucket

        T bucket​(java.lang.String sourceName,
                 int sourceId,
                 int width,
                 SortDirection direction,
                 NullOrder nullOrder)
      • truncate

        T truncate​(java.lang.String sourceName,
                   int sourceId,
                   int width,
                   SortDirection direction,
                   NullOrder nullOrder)
      • unknown

        default T unknown​(java.lang.String sourceName,
                          int sourceId,
                          java.lang.String transform,
                          SortDirection direction,
                          NullOrder nullOrder)
      • visit

        static <R> java.util.List<R> visit​(SortOrder sortOrder,
                                           SortOrderVisitor<R> visitor)
        Visit the fields of a SortOrder.
        Type Parameters:
        R - return type of the visitor
        Parameters:
        sortOrder - a sort order to visit
        visitor - a sort order visitor
        Returns:
        a list of the result produced by visiting each sort field