Class AccBindingTransform<B,E,V,U>

java.lang.Object
org.aksw.jenax.arq.aggregation.AccBindingTransform<B,E,V,U>
All Implemented Interfaces:
org.aksw.commons.collector.domain.Accumulator<B,E,V>

public class AccBindingTransform<B,E,V,U> extends Object implements org.aksw.commons.collector.domain.Accumulator<B,E,V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.aksw.commons.collector.domain.Accumulator<? super U,E,V>
     
    protected Function<? super B,U>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AccBindingTransform(Function<? super B,U> transform, org.aksw.commons.collector.domain.Accumulator<? super U,E,V> subAcc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accumulate(B binding, E env)
     
    static <B, E, V, U> org.aksw.commons.collector.domain.Accumulator<B,E,V>
    create(Function<? super B,U> transform, org.aksw.commons.collector.domain.Accumulator<? super U,E,V> subAcc)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.aksw.commons.collector.domain.Accumulator

    accumulate
  • Field Details

    • transform

      protected Function<? super B,U> transform
    • subAcc

      protected org.aksw.commons.collector.domain.Accumulator<? super U,E,V> subAcc
  • Constructor Details

    • AccBindingTransform

      public AccBindingTransform(Function<? super B,U> transform, org.aksw.commons.collector.domain.Accumulator<? super U,E,V> subAcc)
  • Method Details

    • accumulate

      public void accumulate(B binding, E env)
      Specified by:
      accumulate in interface org.aksw.commons.collector.domain.Accumulator<B,E,V>
    • getValue

      public V getValue()
      Specified by:
      getValue in interface org.aksw.commons.collector.domain.Accumulator<B,E,V>
    • create

      public static <B, E, V, U> org.aksw.commons.collector.domain.Accumulator<B,E,V> create(Function<? super B,U> transform, org.aksw.commons.collector.domain.Accumulator<? super U,E,V> subAcc)