本文整理了Java中org.datanucleus.store.query.Query.getResult
方法的一些代码示例,展示了Query.getResult
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getResult
方法的具体详情如下:
包路径:org.datanucleus.store.query.Query
类名称: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)
内容来源于网络,如有侵权,请联系作者删除!