本文整理汇总了Java中org.openrdf.query.algebra.Difference类的典型用法代码示例。如果您正苦于以下问题:Java Difference类的具体用法?Java Difference怎么用?Java Difference使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Difference类属于org.openrdf.query.algebra包,在下文中一共展示了Difference类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: meet
import org.openrdf.query.algebra.Difference; //导入依赖的package包/类
@Override
public void meet(final Difference node) {
if (Sets.intersection(node.getRightArg().getBindingNames(), filterVars).size() > 0) {
relocate(filter, node.getRightArg());
} else if (Sets.intersection(node.getLeftArg().getBindingNames(), filterVars).size() > 0) {
final Filter clone = new Filter(filter.getArg(), filter
.getCondition().clone());
relocate(clone, node.getLeftArg());
}
}
示例2: meet
import org.openrdf.query.algebra.Difference; //导入依赖的package包/类
@Override
public void meet(Difference node) throws RuntimeException {
setSeen(node);
super.meet(node);
}
示例3: meet
import org.openrdf.query.algebra.Difference; //导入依赖的package包/类
@Override
public void meet(Difference node) throws RuntimeException {
check(node);
super.meet(node);
}
示例4: meet
import org.openrdf.query.algebra.Difference; //导入依赖的package包/类
@Override
public void meet(final Difference n) {
final TupleExpr l = n.getLeftArg();
final TupleExpr r = n.getRightArg();
emit(l, true).emit(" MINUS ").emit(r, true);
}
示例5: meet
import org.openrdf.query.algebra.Difference; //导入依赖的package包/类
@Override
public void meet(Difference arg0) throws Exception {
arg0.visitChildren(this);
}
示例6: meet
import org.openrdf.query.algebra.Difference; //导入依赖的package包/类
@Override
public void meet(Difference arg0) throws SparqlParserException
{
throw new UnsupportedSparqlExpressionException("MINUS"); //$NON-NLS-1$
}