Class AggObject<K>

java.lang.Object
org.aksw.jenax.arq.aggregation.AggObject<K>
All Implemented Interfaces:
org.aksw.commons.collector.domain.Aggregator<org.apache.jena.sparql.engine.binding.Binding,org.apache.jena.sparql.function.FunctionEnv,Map<K,?>>, Agg<Map<K,?>>

public class AggObject<K> extends Object implements Agg<Map<K,?>>
  • Constructor Details

    • AggObject

      public AggObject()
    • AggObject

      public AggObject(Map<K,Agg<?>> keyToSubAgg)
  • Method Details

    • createAccumulator

      public Acc<Map<K,?>> createAccumulator()
      Specified by:
      createAccumulator in interface Agg<K>
      Specified by:
      createAccumulator in interface org.aksw.commons.collector.domain.Aggregator<org.apache.jena.sparql.engine.binding.Binding,org.apache.jena.sparql.function.FunctionEnv,Map<K,?>>
    • getDeclaredVars

      public Set<org.apache.jena.sparql.core.Var> getDeclaredVars()
      Description copied from interface: Agg
      An accumulator may declare the variable it references. The variables can be derived from e.g. underlying Sparql expressions or sub aggregators.
      Specified by:
      getDeclaredVars in interface Agg<K>
      Returns:
    • create

      public static <K> AggObject<K> create(Map<K,Agg<?>> keyToSubAgg)