本文整理了Java中org.eclipse.rdf4j.query.Update.setIncludeInferred()
方法的一些代码示例,展示了Update.setIncludeInferred()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Update.setIncludeInferred()
方法的具体详情如下:
包路径:org.eclipse.rdf4j.query.Update
类名称:Update
方法名:setIncludeInferred
暂无
代码示例来源:origin: eclipse/rdf4j
@Override
public void setIncludeInferred(boolean includeInferred) {
delegate.setIncludeInferred(includeInferred);
}
代码示例来源:origin: eclipse/rdf4j
@Override
public void setIncludeInferred(boolean includeInferred) {
delegate.setIncludeInferred(includeInferred);
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-repository-event
public void setIncludeInferred(boolean includeInferred) {
delegate.setIncludeInferred(includeInferred);
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client
public void setIncludeInferred(boolean includeInferred) {
delegate.setIncludeInferred(includeInferred);
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client
public void setIncludeInferred(boolean includeInferred) {
delegate.setIncludeInferred(includeInferred);
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-repository-event
public void setIncludeInferred(boolean includeInferred) {
delegate.setIncludeInferred(includeInferred);
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-sail-spin
@Override
public Update prepare(ParsedUpdate graphUpdate) {
Update update = new SailConnectionUpdate(graphUpdate, con, vf, parserConfig);
update.setIncludeInferred(includeInferred);
return update;
}
代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-sail-spin
@Override
public Update prepare(ParsedUpdate graphUpdate) {
Update update = new SailConnectionUpdate(graphUpdate, con, vf, parserConfig);
update.setIncludeInferred(includeInferred);
return update;
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-repository-sail
@Override
public Update prepare(ParsedUpdate graphUpdate) {
Update update = new SailUpdate(graphUpdate, con);
update.setIncludeInferred(includeInferred);
return update;
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-http-server-spring
/**
* @param queryLn
* @param sparqlUpdateString
* @param baseURI
* @param includeInferred
* @param dataset
* @param bindings
* @throws ExecutionException
* @throws InterruptedException
*/
void executeUpdate(QueryLanguage queryLn, String sparqlUpdateString, String baseURI,
boolean includeInferred, Dataset dataset, Map<String, Value> bindings)
throws InterruptedException, ExecutionException
{
Future<Boolean> result = submit(() -> {
Update update = txnConnection.prepareUpdate(queryLn, sparqlUpdateString);
update.setIncludeInferred(includeInferred);
if (dataset != null) {
update.setDataset(dataset);
}
for (String bindingName : bindings.keySet()) {
update.setBinding(bindingName, bindings.get(bindingName));
}
update.execute();
return true;
});
getFromFuture(result);
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-http-server-spring
Update update = repositoryCon.prepareUpdate(queryLn, sparqlUpdateString, baseURI);
update.setIncludeInferred(includeInferred);
update.setMaxExecutionTime(maxQueryTime);
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-http-protocol
public void execute(RepositoryConnection con)
throws RepositoryException
{
try {
Update preparedUpdate = con.prepareUpdate(QueryLanguage.SPARQL, getUpdateString(), getBaseURI());
preparedUpdate.setIncludeInferred(isIncludeInferred());
preparedUpdate.setDataset(getDataset());
if (getBindings() != null) {
for (Binding binding : getBindings()) {
preparedUpdate.setBinding(binding.getName(), binding.getValue());
}
}
preparedUpdate.execute();
}
catch (MalformedQueryException e) {
throw new RepositoryException(e);
}
catch (UpdateExecutionException e) {
throw new RepositoryException(e);
}
}
代码示例来源:origin: eclipse/rdf4j
@Override
public void execute(RepositoryConnection con)
throws RepositoryException
{
try {
Update preparedUpdate = con.prepareUpdate(QueryLanguage.SPARQL, getUpdateString(), getBaseURI());
preparedUpdate.setIncludeInferred(isIncludeInferred());
preparedUpdate.setDataset(getDataset());
if (getBindings() != null) {
for (Binding binding : getBindings()) {
preparedUpdate.setBinding(binding.getName(), binding.getValue());
}
}
preparedUpdate.execute();
}
catch (MalformedQueryException e) {
throw new RepositoryException(e);
}
catch (UpdateExecutionException e) {
throw new RepositoryException(e);
}
}
代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client
public void execute(RepositoryConnection con)
throws RepositoryException
{
try {
Update preparedUpdate = con.prepareUpdate(QueryLanguage.SPARQL, getUpdateString(), getBaseURI());
preparedUpdate.setIncludeInferred(isIncludeInferred());
preparedUpdate.setDataset(getDataset());
if (getBindings() != null) {
for (Binding binding : getBindings()) {
preparedUpdate.setBinding(binding.getName(), binding.getValue());
}
}
preparedUpdate.execute();
}
catch (MalformedQueryException e) {
throw new RepositoryException(e);
}
catch (UpdateExecutionException e) {
throw new RepositoryException(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!