本文整理汇总了Java中org.openrdf.query.algebra.ArbitraryLengthPath类的典型用法代码示例。如果您正苦于以下问题:Java ArbitraryLengthPath类的具体用法?Java ArbitraryLengthPath怎么用?Java ArbitraryLengthPath使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ArbitraryLengthPath类属于org.openrdf.query.algebra包,在下文中一共展示了ArbitraryLengthPath类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: meet
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
public void meet(ArbitraryLengthPath node) throws Exception
{
if (node.getMinLength() == 0) {
this.add("*");
} else {
this.add("+");
}
super.meetNode(node);
}
开发者ID:Wikidata,项目名称:QueryAnalysis,代码行数:10,代码来源:TupleExprSparqlStatisticsCollector.java
示例2: meet
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
@Override
public void meet(final Join n) {
final List<StatementPattern> bgp = getBGP(n);
if (bgp != null) {
emit(bgp);
} else {
final TupleExpr l = n.getLeftArg();
final TupleExpr r = n.getRightArg();
final boolean norpar = r instanceof Join || r instanceof StatementPattern
|| r instanceof SingletonSet || r instanceof Service || r instanceof Union
|| r instanceof BindingSetAssignment || r instanceof ArbitraryLengthPath;
emit(l).newline().emit(r, !norpar);
}
}
开发者ID:dkmfbk,项目名称:knowledgestore,代码行数:15,代码来源:SPARQLRenderer.java
示例3: meet
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
@Override
public void meet(ArbitraryLengthPath node) throws RuntimeException {
setSeen(node);
super.meet(node);
}
开发者ID:lszeremeta,项目名称:neo4j-sparql-extension-yars,代码行数:6,代码来源:SeenVisitor.java
示例4: meet
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
@Override
public void meet(ArbitraryLengthPath node) throws RuntimeException {
check(node);
super.meet(node);
}
开发者ID:lszeremeta,项目名称:neo4j-sparql-extension-yars,代码行数:6,代码来源:ConsistencyVisitor.java
示例5: evaluate
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
@Override
public CloseableIteration<BindingSet, QueryEvaluationException> evaluate(
final ArbitraryLengthPath expr, final BindingSet bindings)
throws QueryEvaluationException {
return delegate(expr, bindings);
}
开发者ID:dkmfbk,项目名称:knowledgestore,代码行数:7,代码来源:SparqlHelper.java
示例6: meet
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
@Override
public void meet(ArbitraryLengthPath arg0) throws Exception {
arg0.visitChildren(this);
}
开发者ID:markusstocker,项目名称:emrooz,代码行数:5,代码来源:SparqlQueryModelVisitor.java
示例7: meet
import org.openrdf.query.algebra.ArbitraryLengthPath; //导入依赖的package包/类
@Override
public void meet(ArbitraryLengthPath arg0) throws SparqlParserException
{
// NO-OP
}
开发者ID:obidea,项目名称:semantika,代码行数:6,代码来源:SparqlQueryHandler.java
注:本文中的org.openrdf.query.algebra.ArbitraryLengthPath类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论