本文整理了Java中io.ebean.Query.order
方法的一些代码示例,展示了Query.order
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.order
方法的具体详情如下:
包路径:io.ebean.Query
类名称:Query
方法名:order
[英]Return the OrderBy so that you can append an ascending or descending property to the order by clause.
This will never return a null. If no order by clause exists then an 'empty' OrderBy object is returned.
This is EXACTLY the same as #orderBy().
[中]返回OrderBy,以便可以将升序或降序属性附加到OrderBy子句。
这永远不会返回空值。如果不存在OrderBy子句,则返回一个“空”OrderBy对象。
这与#orderBy()完全相同。
代码示例来源:origin: ebean-orm/ebean
@Override
public OrderBy<T> order() {
return rootQuery.order();
}
代码示例来源:origin: ebean-orm/ebean
@Override
public Query<T> order(String orderByClause) {
return rootQuery.order(orderByClause);
}
代码示例来源:origin: ebean-orm/ebean
@Override
public Query<T> order(String orderByClause) {
return query.order(orderByClause);
}
代码示例来源:origin: ebean-orm/ebean
@Override
public Query<T> orderBy(String orderBy) {
return query.order(orderBy);
}
代码示例来源:origin: ebean-orm/ebean
@Override
public Query<T> setOrderBy(String orderBy) {
return query.order(orderBy);
}
代码示例来源:origin: ebean-orm/ebean
@Override
public OrderBy<T> order() {
return query.order();
}
代码示例来源:origin: ebean-orm/ebean
@Override
public OrderBy<T> orderBy() {
return query.order();
}
代码示例来源:origin: org.actframework/act-ebean2
@Override
public EbeanQuery<MODEL_TYPE> order(String orderByClause) {
q.order(orderByClause);
return this;
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public EbeanQuery<MODEL_TYPE> order(String orderByClause) {
q.order(orderByClause);
qReadOnly.order(orderByClause);
return this;
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public OrderBy<MODEL_TYPE> order() {
return q.order();
}
代码示例来源:origin: io.ebean/ebean
@Override
public OrderBy<T> order() {
return query.order();
}
代码示例来源:origin: io.ebean/ebean
@Override
public Query<T> order(String orderByClause) {
return query.order(orderByClause);
}
代码示例来源:origin: io.ebean/ebean
@Override
public Query<T> order(String orderByClause) {
return rootQuery.order(orderByClause);
}
代码示例来源:origin: io.ebean/ebean
@Override
public Query<T> orderBy(String orderBy) {
return query.order(orderBy);
}
代码示例来源:origin: io.ebean/ebean
@Override
public Query<T> setOrderBy(String orderBy) {
return query.order(orderBy);
}
代码示例来源:origin: io.ebean/ebean
@Override
public OrderBy<T> orderBy() {
return query.order();
}
代码示例来源:origin: icode/ameba
/**
* Returns the <code>order by</code> clause so that you can append an ascending or descending property to the <code>order by</code> clause.
* This is exactly the same as {@link #orderBy}.
*
* @return OrderBy
*/
public OrderBy<T> order() {
return query().order();
}
代码示例来源:origin: icode/ameba
/**
* {@inheritDoc}
* Sets the <code>order by</code> clause, replacing the existing <code>order by</code> clause if there is one.
* This is exactly the same as {@link #orderBy(String)}.
*/
public Query<T> order(String orderByClause) {
return query().order(orderByClause);
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public EbeanQuery<MODEL_TYPE> orderBy(String... fieldList) {
E.illegalArgumentIf(fieldList.length == 0);
q.order(S.join(" ", fieldList));
qReadOnly.order(S.join(" ", fieldList));
return this;
}
代码示例来源:origin: org.actframework/act-ebean2
@Override
public EbeanQuery<MODEL_TYPE> orderBy(String... fieldList) {
E.illegalArgumentIf(fieldList.length == 0);
q.order(S.join(" ", fieldList));
return this;
}
内容来源于网络,如有侵权,请联系作者删除!