Package org.apache.druid.query
Class OrderBy
java.lang.Object
org.apache.druid.query.OrderBy
- All Implemented Interfaces:
Cacheable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderBystatic OrderBydescending(String columnName) booleanbyte[]Get a byte array used as a cache key.getOrder()inthashCode()booleanisExactReverse(OrderBy that) Returns true if the givenOrderByis the exact reverse, meaning they have the same column name in revrersed order.toString()
-
Constructor Details
-
OrderBy
-
-
Method Details
-
ascending
-
descending
-
getColumnName
-
getOrder
-
isExactReverse
Returns true if the givenOrderByis the exact reverse, meaning they have the same column name in revrersed order. -
equals
-
hashCode
public int hashCode() -
toString
-
getCacheKey
public byte[] getCacheKey()Description copied from interface:CacheableGet a byte array used as a cache key.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- bytes to be used as cache key - or null if this object should not be cached.
-