Package io.deephaven.web.client.api
Class Sort
java.lang.Object
io.deephaven.web.client.api.Sort
Describes a Sort present on the table. No visible constructor, created through the use of Column.sort(), will be tied
to that particular column data. Sort instances are immutable, and use a builder pattern to make modifications. All
methods return a new Sort instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabs()
Builds a Sort instance which takes the absolute value before applying order.asc()
Builds a Sort instance to sort values in ascending order.desc()
Builds a Sort instance to sort values in descending order.boolean
The column which is sorted.The direction of this sort, either ASC, DESC, or REVERSE.int
hashCode()
boolean
isAbs()
True if the absolute value of the column should be used when sorting; defaults to false.static Sort
reverse()
toString()
-
Field Details
-
ASCENDING
- See Also:
-
DESCENDING
- See Also:
-
REVERSE
- See Also:
-
-
Constructor Details
-
Sort
-
-
Method Details
-
reverse
-
getColumn
The column which is sorted.- Returns:
Column
-
getDirection
The direction of this sort, either ASC, DESC, or REVERSE.- Returns:
- String
-
isAbs
@JsProperty(name="isAbs") public boolean isAbs()True if the absolute value of the column should be used when sorting; defaults to false.- Returns:
- boolean
-
asc
Builds a Sort instance to sort values in ascending order.- Returns:
Sort
-
desc
Builds a Sort instance to sort values in descending order.- Returns:
Sort
-
abs
Builds a Sort instance which takes the absolute value before applying order.- Returns:
Sort
-
makeDescriptor
-
toString
-
equals
-
hashCode
public int hashCode()
-