本文整理了Java中io.ebean.Query.setCountDistinct
方法的一些代码示例,展示了Query.setCountDistinct
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setCountDistinct
方法的具体详情如下:
包路径:io.ebean.Query
类名称:Query
方法名:setCountDistinct
[英]Extended version for setDistinct in conjunction with "findSingleAttributeList";
List> orderStatusCount =// produces
count:3 orderStatus:NEW
count:1 orderStatus:SHIPPED
count:1 orderStatus:COMPLETE
}
[中]setDistinct与“findSingleAttributeList”结合使用的扩展版本
List> orderStatusCount =// produces
count:3 orderStatus:NEW
count:1 orderStatus:SHIPPED
count:1 orderStatus:COMPLETE
}
代码示例来源:origin: ebean-orm/ebean
@Override
public Query<T> setCountDistinct(CountDistinctOrder orderBy) {
return query.setCountDistinct(orderBy);
}
代码示例来源:origin: org.actframework/act-ebean2
@Override
public Query<MODEL_TYPE> setCountDistinct(CountDistinctOrder countDistinctOrder) {
q.setCountDistinct(countDistinctOrder);
return this;
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public Query<MODEL_TYPE> setCountDistinct(CountDistinctOrder countDistinctOrder) {
q.setCountDistinct(countDistinctOrder);
qReadOnly.setCountDistinct(countDistinctOrder);
return this;
}
代码示例来源:origin: io.ebean/ebean
@Override
public Query<T> setCountDistinct(CountDistinctOrder orderBy) {
return query.setCountDistinct(orderBy);
}
内容来源于网络,如有侵权,请联系作者删除!