本文整理了Java中fr.inria.corese.kgram.core.Query.getBindingNodes
方法的一些代码示例,展示了Query.getBindingNodes
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getBindingNodes
方法的具体详情如下:
包路径:fr.inria.corese.kgram.core.Query
类名称:Query
方法名:getBindingNodes
暂无
代码示例来源:origin: Wimmics/corese
return false;
} else if (q.getBindingNodes().contains(value) && q.getValues().getMappings() != null) {
} else if (q.getBindingNodes().contains(var) && q.getValues().getMappings() != null) {
代码示例来源:origin: fr.inria.corese/kgram
public void collect() {
if (getPathNode() != null) {
/**
* use case: ?x ex:prop @[?this != <John>] + ?y collect ?this first
* because it may be within @[exists {?this ?p ?y}} and even worse
* within @[exists {select ?this where {?this ?p ?y}}]
*/
store(getPathNode(), false, false);
}
for (Exp ee : this) {
collect(ee, false);
}
for (Node node : getBindingNodes()) {
store(node, false, false);
}
for (Node node : getArgList()) {
store(node, false, false);
}
for (Filter ff : getPathFilter()) {
collectExist(ff.getExp());
}
for (Filter f : getFunList()){
collectExist(f.getExp());
}
}
代码示例来源:origin: fr.inria.corese/kgram
/**
*
* index(node) use global query index
*/
void complete2() {
for (Filter f : getPathFilter()) {
index(this, f);
}
index(getOrderBy());
index(getGroupBy());
if (getHaving() != null) {
index(this, getHaving().getFilter());
}
for (Filter f :getFunList()){
index(this, f);
}
for (Node node : getBindingNodes()) {
index(node);
}
for (Node node : getArgList()) {
index(node);
}
if (getGraphNode() != null) {
index(getGraphNode());
}
if (getPathNode() != null) {
index(getPathNode());
}
}
内容来源于网络,如有侵权,请联系作者删除!