org.datanucleus.store.query.Query.getResult()方法的使用及代码示例

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

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

Query.getResult介绍

暂无

代码示例

代码示例来源:origin: org.datanucleus/datanucleus-api-jdo

@Override
public List<T> executeList()
{
  assertIsOpen();
  if (query.getResult() != null)
  {
    throw new JDOUserException("Cannot call executeXXX method when query has result set to " + query.getResult() + ". Use executeResultList() instead");
  }
  return (List<T>) executeInternal();
}

代码示例来源:origin: org.datanucleus/datanucleus-api-jdo

@Override
public T executeUnique()
{
  assertIsOpen();
  query.setUnique(true);
  if (query.getResult() != null)
  {
    throw new JDOUserException("Cannot call executeXXX method when query has result set to " + query.getResult() + ". Use executeResultUnique() instead");
  }
  return (T) executeInternal();
}

代码示例来源:origin: org.datanucleus/datanucleus-api-jdo

@Override
public List<Object> executeResultList()
{
  assertIsOpen();
  if (query.getResult() == null)
  {
    throw new JDOUserException("Cannot call executeResultList method when query has result unset. Call executeList instead.");
  }
  return (List<Object>) executeInternal();
}

代码示例来源:origin: org.datanucleus/datanucleus-api-jdo

@Override
public Object executeResultUnique()
{
  assertIsOpen();
  query.setUnique(true);
  if (query.getResult() == null)
  {
    throw new JDOUserException("Cannot call executeResultUnique method when query has result unset. Call executeUnique instead.");
  }
  return executeInternal();
}

代码示例来源:origin: org.datanucleus/datanucleus-rdbms

datastoreCompilation.getResultDefinitionForClass(), ec, query.getCandidateClass(), query.isSubclasses(), query.getResult(), null, null, null);
Set<String> options = new HashSet<>();
if (mapperOptions != null)
  datastoreCompilation.getResultDefinitionForClass(), ec, query.getCandidateClass(), query.isSubclasses(), query.getResult(), null, null, null);
Set<String> options = new HashSet<>();
if (mapperOptions != null)

相关文章