public interface LocalProperty<E>
| Modifier and Type | Method and Description |
|---|---|
default LocalProperty<E> |
constrain(Set<E> columns)
Return a new instance with the give (reduced) set of columns
|
Set<E> |
getColumns() |
boolean |
isOrderSensitive()
Returns true if reordering breaks this LocalProperty
|
boolean |
isSimplifiedBy(LocalProperty<E> actual)
Return true if the actual LocalProperty can be used to simplify this LocalProperty
|
<T> Optional<LocalProperty<T>> |
translate(Function<E,Optional<T>> translator) |
default Optional<LocalProperty<E>> |
withConstants(Set<E> constants)
Simplifies this LocalProperty provided that the specified inputs are constants
|
<T> Optional<LocalProperty<T>> translate(Function<E,Optional<T>> translator)
boolean isOrderSensitive()
boolean isSimplifiedBy(LocalProperty<E> actual)
default Optional<LocalProperty<E>> withConstants(Set<E> constants)
default LocalProperty<E> constrain(Set<E> columns)
Copyright © 2012–2022. All rights reserved.