Interface LocalProperty<E>

All Known Implementing Classes:
ConstantProperty, GroupingProperty, SortingProperty

public sealed interface LocalProperty<E> permits GroupingProperty<E>, SortingProperty<E>, ConstantProperty<E>
  • Method Details

    • translate

      <T> Optional<LocalProperty<T>> translate(Function<E,Optional<T>> translator)
    • isOrderSensitive

      boolean isOrderSensitive()
      Returns true if reordering breaks this LocalProperty
    • isSimplifiedBy

      boolean isSimplifiedBy(LocalProperty<E> actual)
      Return true if the actual LocalProperty can be used to simplify this LocalProperty
    • withConstants

      default Optional<LocalProperty<E>> withConstants(Set<E> constants)
      Simplfies this LocalProperty provided that the specified inputs are constants
    • constrain

      default LocalProperty<E> constrain(Set<E> columns)
      Return a new instance with the give (reduced) set of columns
    • getColumns

      Set<E> getColumns()