本文整理了Java中org.modeshape.jcr.ExecutionContext.getBinaryStore()
方法的一些代码示例,展示了ExecutionContext.getBinaryStore()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExecutionContext.getBinaryStore()
方法的具体详情如下:
包路径:org.modeshape.jcr.ExecutionContext
类名称:ExecutionContext
方法名:getBinaryStore
[英]Get the binary store that should be used to store binary values. This store is used by the BinaryFactory in the #getValueFactories().
[中]获取应用于存储二进制值的二进制存储。此存储区由#GetValueFactorys()中的BinaryFactory使用。
代码示例来源:origin: org.fcrepo/modeshape-jcr
BinaryValue binaryValue = (BinaryValue) value;
try {
String extractedText = context.getBinaryStore().getText(binaryValue);
builder.append(extractedText);
if (valuesIterator.hasNext()) {
代码示例来源:origin: ModeShape/modeshape
BinaryValue binaryValue = (BinaryValue) value;
try {
String extractedText = context.getBinaryStore().getText(binaryValue);
builder.append(extractedText);
if (valuesIterator.hasNext()) {
代码示例来源:origin: ModeShape/modeshape
values = new Values(factories(), getContext().getBinaryStore());
代码示例来源:origin: org.fcrepo/modeshape-jcr
private Transactions.TransactionFunction binaryUsageUpdateFunction( final Set<BinaryKey> usedBinaries,
final Set<BinaryKey> unusedBinaries ) {
final BinaryStore binaryStore = getContext().getBinaryStore();
return () -> {
if (!usedBinaries.isEmpty()) {
代码示例来源:origin: ModeShape/modeshape
private Transactions.TransactionFunction binaryUsageUpdateFunction( final Set<BinaryKey> usedBinaries,
final Set<BinaryKey> unusedBinaries ) {
final BinaryStore binaryStore = getContext().getBinaryStore();
return () -> {
if (!usedBinaries.isEmpty()) {
代码示例来源:origin: ModeShape/modeshape
@BeforeClass
public static void beforeAll() throws Exception {
File gitDir = new File("../../.git");
RepositoryBuilder builder = new RepositoryBuilder();
repository = builder.setGitDir(gitDir).readEnvironment().findGitDir().build();
git = new Git(repository);
context = new ExecutionContext();
values = new Values(context.getValueFactories(), context.getBinaryStore());
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
this.context.getBinaryStore().setMinimumBinarySizeInBytes(binaryStorage.getMinimumBinarySizeInBytes());
代码示例来源:origin: ModeShape/modeshape
this.context.getBinaryStore().setMinimumBinarySizeInBytes(binaryStorage.getMinimumBinarySizeInBytes());
代码示例来源:origin: ModeShape/modeshape
final BinaryStore binaries = context.getExecutionContext().getBinaryStore();
String selectorName = fts.getSelectorName();
String propertyName = fts.getPropertyName();
代码示例来源:origin: org.fcrepo/modeshape-jcr
final BinaryStore binaries = context.getExecutionContext().getBinaryStore();
String selectorName = fts.getSelectorName();
String propertyName = fts.getPropertyName();
内容来源于网络,如有侵权,请联系作者删除!