Interface MultiAgg.Impl

Enclosing interface:
MultiAgg

public static interface MultiAgg.Impl
Builder interface for configuring multi-aggregators.
  • Method Summary

    Modifier and Type
    Method
    Description
    init(com.rpl.rama.ops.RamaFunction0<S> impl)
    Sets the initial value function for the aggregation.
    on(String name, com.rpl.rama.ops.RamaFunction1<S,Object> impl)
    Adds a dispatch handler for zero arguments.
    <S, T0> MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction2<S,T0,Object> impl)
    Adds a dispatch handler for one argument.
    <S, T0, T1>
    MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction3<S,T0,T1,Object> impl)
    Adds a dispatch handler for two arguments.
    <S, T0, T1, T2>
    MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction4<S,T0,T1,T2,Object> impl)
    Adds a dispatch handler for three arguments.
    <S, T0, T1, T2, T3>
    MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction5<S,T0,T1,T2,T3,Object> impl)
    Adds a dispatch handler for four arguments.
    <S, T0, T1, T2, T3, T4>
    MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction6<S,T0,T1,T2,T3,T4,Object> impl)
    Adds a dispatch handler for five arguments.
    <S, T0, T1, T2, T3, T4, T5>
    MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction7<S,T0,T1,T2,T3,T4,T5,Object> impl)
    Adds a dispatch handler for six arguments.
    <S, T0, T1, T2, T3, T4, T5, T6>
    MultiAgg.Impl
    on(String name, com.rpl.rama.ops.RamaFunction8<S,T0,T1,T2,T3,T4,T5,T6,Object> impl)
    Adds a dispatch handler for seven arguments.
  • Method Details

    • init

      <S> MultiAgg.Impl init(com.rpl.rama.ops.RamaFunction0<S> impl)
      Sets the initial value function for the aggregation.
      Parameters:
      impl - function that returns the initial aggregation value
      Returns:
      this builder for method chaining
    • on

      <S> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction1<S,Object> impl)
      Adds a dispatch handler for zero arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus zero arguments
      Returns:
      this builder for method chaining
    • on

      <S, T0> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction2<S,T0,Object> impl)
      Adds a dispatch handler for one argument.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus one argument
      Returns:
      this builder for method chaining
    • on

      <S, T0, T1> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction3<S,T0,T1,Object> impl)
      Adds a dispatch handler for two arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus two arguments
      Returns:
      this builder for method chaining
    • on

      <S, T0, T1, T2> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction4<S,T0,T1,T2,Object> impl)
      Adds a dispatch handler for three arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus three arguments
      Returns:
      this builder for method chaining
    • on

      <S, T0, T1, T2, T3> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction5<S,T0,T1,T2,T3,Object> impl)
      Adds a dispatch handler for four arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus four arguments
      Returns:
      this builder for method chaining
    • on

      <S, T0, T1, T2, T3, T4> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction6<S,T0,T1,T2,T3,T4,Object> impl)
      Adds a dispatch handler for five arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus five arguments
      Returns:
      this builder for method chaining
    • on

      <S, T0, T1, T2, T3, T4, T5> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction7<S,T0,T1,T2,T3,T4,T5,Object> impl)
      Adds a dispatch handler for six arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus six arguments
      Returns:
      this builder for method chaining
    • on

      <S, T0, T1, T2, T3, T4, T5, T6> MultiAgg.Impl on(String name, com.rpl.rama.ops.RamaFunction8<S,T0,T1,T2,T3,T4,T5,T6,Object> impl)
      Adds a dispatch handler for seven arguments.
      Parameters:
      name - the dispatch target name
      impl - the handler function that takes the current aggregation value plus seven arguments
      Returns:
      this builder for method chaining