Class SortingProperty<E>
java.lang.Object
io.trino.spi.connector.SortingProperty<E>
- All Implemented Interfaces:
LocalProperty<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetOrder()inthashCode()booleanReturns true if reordering breaks this LocalPropertybooleanisSimplifiedBy(LocalProperty<E> known) Return true if the actual LocalProperty can be used to simplify this LocalPropertytoString()<T> Optional<LocalProperty<T>> Returns Optional.empty() if the column could not be translatedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.connector.LocalProperty
constrain, withConstants
-
Constructor Details
-
SortingProperty
-
-
Method Details
-
isOrderSensitive
public boolean isOrderSensitive()Description copied from interface:LocalPropertyReturns true if reordering breaks this LocalProperty- Specified by:
isOrderSensitivein interfaceLocalProperty<E>
-
getColumn
-
getColumns
- Specified by:
getColumnsin interfaceLocalProperty<E>
-
getOrder
-
translate
Returns Optional.empty() if the column could not be translated- Specified by:
translatein interfaceLocalProperty<E>
-
isSimplifiedBy
Description copied from interface:LocalPropertyReturn true if the actual LocalProperty can be used to simplify this LocalProperty- Specified by:
isSimplifiedByin interfaceLocalProperty<E>
-
toString
-
equals
-
hashCode
-