本文整理汇总了Java中org.openrdf.query.algebra.EmptySet类的典型用法代码示例。如果您正苦于以下问题:Java EmptySet类的具体用法?Java EmptySet怎么用?Java EmptySet使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EmptySet类属于org.openrdf.query.algebra包,在下文中一共展示了EmptySet类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: meet
import org.openrdf.query.algebra.EmptySet; //导入依赖的package包/类
@Override
public void meet(final EmptySet node) {
if (filter.getParentNode() != null) {
// Remove filter from its original location
filter.replaceWith(filter.getArg());
}
}
示例2: meet
import org.openrdf.query.algebra.EmptySet; //导入依赖的package包/类
@Override
public void meet(final EmptySet n) {
final QueryModelNode p = n.getParentNode();
if (p.getParentNode() != null && !(p.getParentNode() instanceof QueryRoot)) {
throw new IllegalArgumentException(
"Cannot translate EmptySet inside the body of a query / update operation");
}
emit("CONSTRUCT {} WHERE {}");
}
示例3: meet
import org.openrdf.query.algebra.EmptySet; //导入依赖的package包/类
@Override
public void meet(EmptySet node) throws RuntimeException {
setSeen(node);
super.meet(node);
}
示例4: meet
import org.openrdf.query.algebra.EmptySet; //导入依赖的package包/类
@Override
public void meet(EmptySet node) throws RuntimeException {
check(node);
super.meet(node);
}
示例5: meet
import org.openrdf.query.algebra.EmptySet; //导入依赖的package包/类
@Override
public void meet(EmptySet arg0) throws Exception {
arg0.visitChildren(this);
}
示例6: meet
import org.openrdf.query.algebra.EmptySet; //导入依赖的package包/类
@Override
public void meet(EmptySet arg0) throws SparqlParserException
{
// NO-OP
}