本文整理了Java中org.eclipse.rdf4j.query.algebra.Union.setRightArg()
方法的一些代码示例,展示了Union.setRightArg()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Union.setRightArg()
方法的具体详情如下:
包路径:org.eclipse.rdf4j.query.algebra.Union
类名称:Union
方法名:setRightArg
暂无
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-sail-spin
union.setRightArg(magicPropertyNode);
代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-sail-spin
union.setRightArg(magicPropertyNode);
代码示例来源:origin: apache/incubator-rya
Union union = new InferUnion();
union.setLeftArg(sp);
union.setRightArg(new StatementPattern(objVar, predVar, subjVar, cntxtVar));
node.replaceWith(union);
代码示例来源:origin: apache/incubator-rya
Union union = new InferUnion();
union.setLeftArg(sp);
union.setRightArg(new StatementPattern(objVar, new Var(predVar.getName(), invPropIri), subjVar, cntxtVar));
node.replaceWith(union);
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryparser-sparql
pathAltNode.jjtGetChild(i + 1).jjtAccept(this, data);
arg = graphPattern.buildTupleExpr();
currentUnion.setRightArg(arg);
currentUnion.setRightArg(newUnion);
currentUnion = newUnion;
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client
pathAltNode.jjtGetChild(i + 1).jjtAccept(this, data);
arg = graphPattern.buildTupleExpr();
currentUnion.setRightArg(arg);
currentUnion.setRightArg(newUnion);
currentUnion = newUnion;
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client
if (length == upperBound - 1) {
path = createPath(scope, subjVar, te, endVar, contextVar, length + 1);
currentUnion.setRightArg(path);
currentUnion.setRightArg(nextUnion);
currentUnion = nextUnion;
代码示例来源:origin: eclipse/rdf4j
if (length == upperBound - 1) {
path = createPath(scope, subjVar, te, endVar, contextVar, length + 1);
currentUnion.setRightArg(path);
currentUnion.setRightArg(nextUnion);
currentUnion = nextUnion;
代码示例来源:origin: eclipse/rdf4j
pathAltNode.jjtGetChild(i + 1).jjtAccept(this, data);
arg = graphPattern.buildTupleExpr();
currentUnion.setRightArg(arg);
currentUnion.setRightArg(newUnion);
currentUnion = newUnion;
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryparser-sparql
if (length == upperBound - 1) {
path = createPath(scope, subjVar, te, endVar, contextVar, length + 1);
currentUnion.setRightArg(path);
currentUnion.setRightArg(nextUnion);
currentUnion = nextUnion;
代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-queryalgebra-evaluation
@Override
public void meet(Union union) {
super.meet(union);
TupleExpr leftArg = union.getLeftArg();
TupleExpr rightArg = union.getRightArg();
if (leftArg instanceof Join && rightArg instanceof Join) {
Join leftJoinArg = (Join)leftArg;
Join rightJoin = (Join)rightArg;
if (leftJoinArg.getLeftArg().equals(rightJoin.getLeftArg())) {
// factor out the left-most join argument
Join newJoin = new Join();
union.replaceWith(newJoin);
newJoin.setLeftArg(leftJoinArg.getLeftArg());
newJoin.setRightArg(union);
union.setLeftArg(leftJoinArg.getRightArg());
union.setRightArg(rightJoin.getRightArg());
union.visit(this);
}
}
}
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation
@Override
public void meet(Union union) {
super.meet(union);
TupleExpr leftArg = union.getLeftArg();
TupleExpr rightArg = union.getRightArg();
if (leftArg instanceof Join && rightArg instanceof Join) {
Join leftJoinArg = (Join)leftArg;
Join rightJoin = (Join)rightArg;
if (leftJoinArg.getLeftArg().equals(rightJoin.getLeftArg())) {
// factor out the left-most join argument
Join newJoin = new Join();
union.replaceWith(newJoin);
newJoin.setLeftArg(leftJoinArg.getLeftArg());
newJoin.setRightArg(union);
union.setLeftArg(leftJoinArg.getRightArg());
union.setRightArg(rightJoin.getRightArg());
union.visit(this);
}
}
}
}
内容来源于网络,如有侵权,请联系作者删除!