use of org.eclipse.rdf4j.query.algebra.GroupConcat in project rdf4j by eclipse.
the class TupleExprBuilder method visit.
@Override
public Object visit(ASTGroupConcat node, Object data) throws VisitorException {
ValueExpr ve = (ValueExpr) node.jjtGetChild(0).jjtAccept(this, data);
GroupConcat gc = new GroupConcat(ve, node.isDistinct());
if (node.jjtGetNumChildren() > 1) {
ValueExpr separator = (ValueExpr) node.jjtGetChild(1).jjtAccept(this, data);
gc.setSeparator(separator);
}
return gc;
}
Aggregations