Class AggLiteral<T>

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

public class AggLiteral<T> extends Object implements Agg<T>
  • Constructor Details

  • Method Details

    • createAccumulator

      public Acc<T> createAccumulator()
      Specified by:
      createAccumulator in interface Agg<T>
      Specified by:
      createAccumulator in interface org.aksw.commons.collector.domain.Aggregator<org.apache.jena.sparql.engine.binding.Binding,org.apache.jena.sparql.function.FunctionEnv,T>
    • 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<T>
      Returns:
    • create

      public static <T> AggLiteral<T> create(BindingMapper<T> mapper)