All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aksw.jenax.arq.aggregation.AggResultSetPart Maven / Gradle / Ivy

The newest version!
package org.aksw.jenax.arq.aggregation;

import java.util.List;
import java.util.Set;

import org.aksw.jenax.arq.util.var.VarUtils;
import org.apache.jena.sparql.algebra.Table;
import org.apache.jena.sparql.core.Var;

public class AggResultSetPart
    implements Agg
{
    private List varNames;

    public AggResultSetPart(List varNames) {
        this.varNames = varNames;
    }

    @Override
    public Acc
createAccumulator() { Acc
result = new AccTable(varNames); return result; } /** * */ @Override public Set getDeclaredVars() { //return null; Set result = VarUtils.toSet(varNames); return result; } }