org.apache.openjpa.kernel.QueryImpl.compileForInMemory()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(4.7k)|赞(0)|评价(0)|浏览(120)

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

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);

相关文章

微信公众号

最新文章

更多