org.aksw.jenax.arq.aggregation.MappedElement Maven / Gradle / Ivy
The newest version!
package org.aksw.jenax.arq.aggregation;
import org.apache.jena.sparql.syntax.Element;
/**
* Combines a SPARQL element with a row wise mapping to Java objects
*
* Note: You can use ElementSubQuery in cases where you need to map query output
*
* @author raven
*
* @param
*/
public class MappedElement {
private Element element;
private BindingMapper bindingMapper;
public MappedElement(Element element, BindingMapper bindingMapper) {
this.element = element;
this.bindingMapper = bindingMapper;
}
public Element getElement() {
return element;
}
public BindingMapper getBindingMapper() {
return bindingMapper;
}
}