org.eclipse.rdf4j.repository.Repository.isWritable()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.eclipse.rdf4j.repository.Repository.isWritable方法的一些代码示例,展示了Repository.isWritable的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.isWritable方法的具体详情如下:
包路径:org.eclipse.rdf4j.repository.Repository
类名称:Repository
方法名:isWritable

Repository.isWritable介绍

[英]Checks whether this repository is writable, i.e. if the data contained in this repository can be changed. The writability of the repository is determined by the writability of the Sail that this repository operates on.
[中]检查此存储库是否可写,即此存储库中包含的数据是否可以更改。存储库的可写性由该存储库操作的Sail的可写性决定。

代码示例

代码示例来源:origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-persistence

@Override
public boolean isWritable()
 throws RepositoryException
 {
  return persistence.getRepository().isWritable();
 }

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-repository-sail

@Override
public boolean isWritable()
  throws RepositoryException
{
  return getProxiedRepository().isWritable();
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client

public boolean isWritable()
  throws RepositoryException
{
  return getDelegate().isWritable();
}

代码示例来源:origin: eclipse/rdf4j

@Override
public boolean isWritable()
  throws RepositoryException
{
  return getDelegate().isWritable();
}

代码示例来源:origin: joshsh/sesametools

public boolean isWritable() throws SailException {
  try {
    return repository.isWritable();
  } catch (RepositoryException e) {
    throw new SailException(e);
  }
}

代码示例来源:origin: fr.lirmm.graphik/graal-store-rdf4j

@Override
public boolean isWriteable() {
  return this.connection.getRepository().isWritable();
}

相关文章