本文整理了Java中com.avaje.ebean.Query.findRowCount
方法的一些代码示例,展示了Query.findRowCount
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.findRowCount
方法的具体详情如下:
包路径:com.avaje.ebean.Query
类名称:Query
方法名:findRowCount
[英]Return the count of entities this query should return.
This is the number of 'top level' or 'root level' entities.
[中]Return此查询应返回的实体数。
这是“顶级”或“根级”实体的数量。
代码示例来源:origin: org.avaje/ebean
public int findRowCount() {
return query.findRowCount();
}
代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server
public int findRowCount() {
return query.findRowCount();
}
代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server
public int findRowCount() {
return rootQuery.findRowCount();
}
代码示例来源:origin: org.avaje/ebean
public int findRowCount() {
return rootQuery.findRowCount();
}
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Returns the number of entities this query should return.
*/
public int findRowCount() {
return query().findRowCount();
}
代码示例来源:origin: com.khubla.pragmatach/pragmatach-ebean
@Override
public long count() throws PragmatachException {
return this.find().findRowCount();
}
代码示例来源:origin: MinecraftWars/Gringotts
/**
* Some awkward ritual that Bukkit requires to initialize all the DB classes.
* Does nothing if they have already been set up.
*/
private void setupEBean() {
try {
EbeanServer db = getDatabase();
for (Class<?> c : getDatabaseClasses()) {
db.find(c).findRowCount();
}
} catch (Exception ignored) {
getLogger().info("Initializing database tables.");
installDDL();
}
}
内容来源于网络,如有侵权,请联系作者删除!