本文整理了Java中org.apache.openjpa.kernel.QueryImpl.compileForInMemory
方法的一些代码示例,展示了QueryImpl.compileForInMemory
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryImpl.compileForInMemory
方法的具体详情如下:
包路径:org.apache.openjpa.kernel.QueryImpl
类名称:QueryImpl
方法名:compileForInMemory
[英]Create an expression tree for in-memory execution.
[中]为内存中的执行创建表达式树。
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
/**
* Compile for execution, choosing between datastore and in-mem
* compilation based on what we support and our settings.
*/
private StoreQuery.Executor compileForExecutor() {
Compilation comp = compileForCompilation();
if (_collection == null) {
if (comp.datastore != null)
return comp.datastore;
if (comp.memory != null)
return comp.memory;
if (_storeQuery.supportsDataStoreExecution())
return compileForDataStore(comp);
return compileForInMemory(comp);
}
if (comp.memory != null)
return comp.memory;
if (comp.datastore != null)
return comp.datastore;
if (_storeQuery.supportsInMemoryExecution())
return compileForInMemory(comp);
return compileForDataStore(comp);
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Compile for execution, choosing between datastore and in-mem
* compilation based on what we support and our settings.
*/
private StoreQuery.Executor compileForExecutor() {
Compilation comp = compileForCompilation();
if (_collection == null) {
if (comp.datastore != null)
return comp.datastore;
if (comp.memory != null)
return comp.memory;
if (_storeQuery.supportsDataStoreExecution())
return compileForDataStore(comp);
return compileForInMemory(comp);
}
if (comp.memory != null)
return comp.memory;
if (comp.datastore != null)
return comp.datastore;
if (_storeQuery.supportsInMemoryExecution())
return compileForInMemory(comp);
return compileForDataStore(comp);
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
/**
* Compile for execution, choosing between datastore and in-mem
* compilation based on what we support and our settings.
*/
private StoreQuery.Executor compileForExecutor() {
Compilation comp = compileForCompilation();
if (_collection == null) {
if (comp.datastore != null)
return comp.datastore;
if (comp.memory != null)
return comp.memory;
if (_storeQuery.supportsDataStoreExecution())
return compileForDataStore(comp);
return compileForInMemory(comp);
}
if (comp.memory != null)
return comp.memory;
if (comp.datastore != null)
return comp.datastore;
if (_storeQuery.supportsInMemoryExecution())
return compileForInMemory(comp);
return compileForDataStore(comp);
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
/**
* Compile for execution, choosing between datastore and in-mem
* compilation based on what we support and our settings.
*/
private StoreQuery.Executor compileForExecutor() {
Compilation comp = compileForCompilation();
if (_collection == null) {
if (comp.datastore != null)
return comp.datastore;
if (comp.memory != null)
return comp.memory;
if (_storeQuery.supportsDataStoreExecution())
return compileForDataStore(comp);
return compileForInMemory(comp);
}
if (comp.memory != null)
return comp.memory;
if (comp.datastore != null)
return comp.datastore;
if (_storeQuery.supportsInMemoryExecution())
return compileForInMemory(comp);
return compileForDataStore(comp);
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
/**
* Compile for execution, choosing between datastore and in-mem
* compilation based on what we support and our settings.
*/
private StoreQuery.Executor compileForExecutor() {
Compilation comp = compileForCompilation();
if (_collection == null) {
if (comp.datastore != null)
return comp.datastore;
if (comp.memory != null)
return comp.memory;
if (_storeQuery.supportsDataStoreExecution())
return compileForDataStore(comp);
return compileForInMemory(comp);
}
if (comp.memory != null)
return comp.memory;
if (comp.datastore != null)
return comp.datastore;
if (_storeQuery.supportsInMemoryExecution())
return compileForInMemory(comp);
return compileForDataStore(comp);
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openejb.patch/openjpa
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openejb.patch/openjpa
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
? compileForInMemory(comp) : compileForDataStore(comp);
代码示例来源:origin: org.apache.openjpa/openjpa-all
? compileForInMemory(comp) : compileForDataStore(comp);
内容来源于网络,如有侵权,请联系作者删除!