Class GroupingProperty<E>
java.lang.Object
io.trino.spi.connector.GroupingProperty<E>
- All Implemented Interfaces:
LocalProperty<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a new instance with the give (reduced) set of columnsbooleaninthashCode()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>> Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.connector.LocalProperty
withConstants
-
Constructor Details
-
GroupingProperty
-
-
Method Details
-
isOrderSensitive
public boolean isOrderSensitive()Description copied from interface:LocalPropertyReturns true if reordering breaks this LocalProperty- Specified by:
isOrderSensitivein interfaceLocalProperty<E>
-
getColumns
- Specified by:
getColumnsin interfaceLocalProperty<E>
-
constrain
Description copied from interface:LocalPropertyReturn a new instance with the give (reduced) set of columns- Specified by:
constrainin 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>
-
translate
- Specified by:
translatein interfaceLocalProperty<E>- Returns:
- Optional.empty() if any of the columns could not be translated
-
toString
-
equals
-
hashCode
-