本文整理了Java中com.hp.hpl.jena.query.Query.isUnknownType
方法的一些代码示例,展示了Query.isUnknownType
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.isUnknownType
方法的具体详情如下:
包路径:com.hp.hpl.jena.query.Query
类名称:Query
方法名:isUnknownType
暂无
代码示例来源:origin: org.apache.clerezza/rdf.jena.tdb.storage
@Override
public QueryExecution run() {
try {
com.hp.hpl.jena.query.Query jenaQuery = QueryFactory
.create(query);
if (jenaQuery.isUnknownType()) {
return null;
}
return QueryExecutionFactory.create(jenaQuery, getDataset());
} catch (QueryException ex) {
return null;
}
}
});
代码示例来源:origin: org.apache.clerezza/rdf.jena.sparql
@Override
public QueryExecution run() {
try {
com.hp.hpl.jena.query.Query jenaQuery = QueryFactory
.create(query);
if (jenaQuery.isUnknownType()) {
return null;
}
DatasetDescription dd = DatasetDescription.create(jenaQuery);
Dataset dynaDataset = DynamicDatasets.dynamicDataset(dd, dataset, false);
return QueryExecutionFactory.create(jenaQuery, dynaDataset);
} catch (QueryException ex) {
return null;
}
}
});
代码示例来源:origin: com.hp.hpl.jena/arq
if ( q.isUnknownType() )
throw new ARQInternalErrorException("Parser didn't catch absence of SELECT clause") ;
内容来源于网络,如有侵权,请联系作者删除!