public final class GroupingProperty<E> extends Object implements LocalProperty<E>
| Constructor and Description |
|---|
GroupingProperty(Collection<E> columns) |
| Modifier and Type | Method and Description |
|---|---|
LocalProperty<E> |
constrain(Set<E> columns)
Return a new instance with the give (reduced) set of columns
|
boolean |
equals(Object o) |
Set<E> |
getColumns() |
int |
hashCode() |
boolean |
isOrderSensitive()
Returns true if reordering breaks this LocalProperty
|
boolean |
isSimplifiedBy(LocalProperty<E> known)
Return true if the actual LocalProperty can be used to simplify this LocalProperty
|
String |
toString() |
<T> Optional<LocalProperty<T>> |
translate(Function<E,Optional<T>> translator) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitwithConstantspublic GroupingProperty(Collection<E> columns)
public boolean isOrderSensitive()
LocalPropertyisOrderSensitive in interface LocalProperty<E>public Set<E> getColumns()
getColumns in interface LocalProperty<E>public LocalProperty<E> constrain(Set<E> columns)
LocalPropertyconstrain in interface LocalProperty<E>public boolean isSimplifiedBy(LocalProperty<E> known)
LocalPropertyisSimplifiedBy in interface LocalProperty<E>public <T> Optional<LocalProperty<T>> translate(Function<E,Optional<T>> translator)
translate in interface LocalProperty<E>Copyright © 2012–2022. All rights reserved.