io.ebean.Query.order()方法的使用及代码示例

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

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

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;
}

相关文章

Query类方法