Package stroom.query.api.v2
Class Sort
- java.lang.Object
-
- stroom.query.api.v2.Sort
-
- All Implemented Interfaces:
java.io.Serializable
public final class Sort extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Sort.Builder
Builder for constructing asort
static class
Sort.SortDirection
-
Constructor Summary
Constructors Constructor Description Sort()
Sort(java.lang.Integer order, Sort.SortDirection direction)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
Sort.SortDirection
getDirection()
java.lang.Integer
getOrder()
int
hashCode()
void
setDirection(Sort.SortDirection direction)
void
setOrder(java.lang.Integer order)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Sort
public Sort()
-
Sort
public Sort(java.lang.Integer order, Sort.SortDirection direction)
-
-
Method Detail
-
getOrder
public java.lang.Integer getOrder()
-
setOrder
public void setOrder(java.lang.Integer order)
-
getDirection
public Sort.SortDirection getDirection()
-
setDirection
public void setDirection(Sort.SortDirection direction)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-