Class SelectAPI.Window.Keys<T>

java.lang.Object
io.avery.vinyl.SelectAPI.Window.Keys<T>
Type Parameters:
T - the intermediate result type
Enclosing class:
SelectAPI.Window

public class SelectAPI.Window.Keys<T> extends Object
A sub-configurator used to define keys of a window that depend on a common intermediate result.
See Also:
  • Method Details

    • parent

      public SelectAPI.Window parent()
      Returns the parent of this sub-configurator.
      Returns:
      the parent of this sub-configurator
    • key

      public SelectAPI.Window.Keys<T> key(Function<? super T,?> mapper)
      Defines a key as the application of the given function to this sub-configurator's intermediate result.
      Parameters:
      mapper - a function to be applied to this sub-configurator's intermediate result.
      Returns:
      this configurator