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

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

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

@Override
public EbeanQuery<MODEL_TYPE> order(String orderByClause) {
  q.order(orderByClause);
  qReadOnly.order(orderByClause);
  return this;
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public Query<T> order(String orderByClause) {
 return rootQuery.order(orderByClause);
}

代码示例来源:origin: org.actframework/act-ebean-java7

@Override
public OrderBy<MODEL_TYPE> order() {
  return q.order();
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public Query<T> order(String orderByClause) {
 return query.order(orderByClause);
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public Query<T> orderBy(String orderBy) {
 return query.order(orderBy);
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public OrderBy<T> orderBy() {
 return query.order();
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public Query<T> setOrderBy(String orderBy) {
 return query.order(orderBy);
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public OrderBy<T> order() {
 return query.order();
}

代码示例来源:origin: org.avaje/ebean

public OrderBy<T> order() {
 return query.order();
}

代码示例来源:origin: org.avaje/ebean

public Query<T> orderBy(String orderBy) {
 return query.order(orderBy);
}

代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public OrderBy<T> order() {
 return query.order();
}

代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public Query<T> setOrderBy(String orderBy) {
 return query.order(orderBy);
}

代码示例来源:origin: org.avaje.ebean/ebean

@Override
public OrderBy<T> order() {
 return rootQuery.order();
}

代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public OrderBy<T> order() {
  return rootQuery.order();
}

代码示例来源:origin: org.avaje/ebean

public Query<T> order(String orderByClause) {
 return query.order(orderByClause);
}

代码示例来源:origin: org.avaje/ebean

public Query<T> setOrderBy(String orderBy) {
 return query.order(orderBy);
}

代码示例来源:origin: org.avaje/ebean

public OrderBy<T> order() {
  return rootQuery.order();
}

代码示例来源:origin: com.typesafe.play/play-java-ebean

/**
 * Returns the <code>order by</code> clause so that you can append an ascending or descending property to the <code>order by</code> clause.
 * <p>
 * This is exactly the same as {@link #orderBy}.
 */
public OrderBy<T> order() {
  return query().order();
}

代码示例来源:origin: com.typesafe.play/play-java-ebean

/**
 * Sets the <code>order by</code> clause, replacing the existing <code>order by</code> clause if there is one.
 * <p>
 * This is exactly the same as {@link #orderBy(String)}.
 */
public Query<T> order(String orderByClause) {
  return query().order(orderByClause);
}

代码示例来源:origin: org.actframework/act-ebean-java7

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

相关文章