Tabnine Logo
OrderBy.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.avaje.ebean.OrderBy
constructor

Best Java code snippets using com.avaje.ebean.OrderBy.<init> (Showing top 13 results out of 315)

origin: org.avaje.ebean/ebean

@Override
public OrderBy<T> order() {
 if (orderBy == null) {
  orderBy = new OrderBy<>(this, null);
 }
 return orderBy;
}
origin: org.avaje/ebean

public OrderBy<T> order() {
  if (orderBy == null){
    orderBy = new OrderBy<T>(this, null);
  }
  return orderBy;
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public OrderBy<T> order() {
  if (orderBy == null){
    orderBy = new OrderBy<T>(this, null);
  }
  return orderBy;
}
origin: org.avaje/ebean

public DefaultOrmQuery<T> order(String orderByClause) {
  if (orderByClause == null || orderByClause.trim().length() == 0){
    this.orderBy = null;
  } else {
    this.orderBy = new OrderBy<T>(this, orderByClause);
  }
  return this;
}
origin: org.avaje.ebean/ebean

@Override
public DefaultOrmQuery<T> order(String orderByClause) {
 if (orderByClause == null || orderByClause.trim().isEmpty()) {
  this.orderBy = null;
 } else {
  this.orderBy = new OrderBy<>(this, orderByClause);
 }
 return this;
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public DefaultOrmQuery<T> order(String orderByClause) {
  if (orderByClause == null || orderByClause.trim().length() == 0){
    this.orderBy = null;
  } else {
    this.orderBy = new OrderBy<T>(this, orderByClause);
  }
  return this;
}
origin: org.avaje/ebean

/**
 * Move a OrderBy.Property from the main query to this query join.
 */
@SuppressWarnings("rawtypes")
public void addSecJoinOrderProperty(OrderBy.Property orderProp) {
  if (orderBy == null){
    orderBy = new OrderBy();
  }
  orderBy.add(orderProp);
}
 
origin: org.avaje.ebean/ebean

/**
 * Return a copy of this OrderBy with the path trimmed.
 */
public OrderBy<T> copyWithTrim(String path) {
 List<Property> newList = new ArrayList<>(list.size());
 for (Property aList : list) {
  newList.add(aList.copyWithTrim(path));
 }
 return new OrderBy<>(newList);
}
origin: org.avaje.ebean/ebean

/**
 * Move a OrderBy.Property from the main query to this query join.
 */
@SuppressWarnings("rawtypes")
void addSecJoinOrderProperty(OrderBy.Property orderProp) {
 if (orderBy == null) {
  orderBy = new OrderBy();
 }
 orderBy.add(orderProp);
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

/**
 * Move a OrderBy.Property from the main query to this query join.
 */
@SuppressWarnings("rawtypes")
public void addSecJoinOrderProperty(OrderBy.Property orderProp) {
  if (orderBy == null){
    orderBy = new OrderBy();
  }
  orderBy.add(orderProp);
}

origin: org.avaje/ebean

/**
 * Return a copy of the OrderBy.
 */
public OrderBy<T> copy() {
  OrderBy<T> copy = new OrderBy<T>();
  for (int i = 0; i < list.size(); i++) {
    copy.add(list.get(i).copy());
  }
  return copy;
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-api

/**
 * Return a copy of the OrderBy.
 */
public OrderBy<T> copy() {
 OrderBy<T> copy = new OrderBy<T>();
 for (int i = 0; i < list.size(); i++) {
  copy.add(list.get(i).copy());
 }
 return copy;
}
origin: org.avaje.ebean/ebean

/**
 * Return a copy of the OrderBy.
 */
public OrderBy<T> copy() {
 OrderBy<T> copy = new OrderBy<>();
 for (Property aList : list) {
  copy.add(aList.copy());
 }
 return copy;
}
com.avaje.ebeanOrderBy<init>

Javadoc

Create an empty OrderBy with no associated query.

Popular methods of OrderBy

  • add
    Add to the order by by parsing a raw expression.
  • copy
    Return a copy of the OrderBy.
  • getProperties
    Return the properties for this OrderBy.
  • hash
    Return a hash value for this OrderBy. This can be to determine logical equality for OrderBy clauses.
  • isAscending
  • isEmptyString
  • parse
  • parseProperty
  • setQuery
    Associate this OrderBy with a query.
  • toStringFormat
    Returns the OrderBy in string format.
  • desc
    Add a property with descending order to this OrderBy.
  • hashCode
    Return a hash value for this OrderBy. This can be to determine logical equality for OrderBy clauses.
  • desc,
  • hashCode,
  • asc,
  • containsProperty,
  • copyWithTrim,
  • isEmpty

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now