Package io.deephaven.api
Interface SortSpec
- All Known Implementing Classes:
ComparatorSortColumn
,SortColumn
public interface SortSpec
A specification for sorting.
Note, that the engine is responsible for interpreting the SortSpec. The SortSpec is differentiated from
SortColumn
, because SortColumn is used in clients and many operations. The engine's sort operation may also
take other implementations of SortSpec that provide additional details. Naive code that expects SortColumn may not
correctly preserve the details.
-
Method Details
-
column
ColumnName column()The column name.- Returns:
- the column name
-
order
SortSpec.Order order()The order.- Returns:
- the order
-
isAscending
default boolean isAscending()
-