Query.findIterate
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using com.avaje.ebean.Query.findIterate (Showing top 6 results out of 315)

  • Common ways to obtain Query
private void myMethod () {
Query q =
  • SpiQuery query;String str;query.select(str)
  • SpiQuery spiQuery;spiQuery.setReadOnly(true)
  • SpiQuery spiQuery;spiQuery.setUseCache(false)
  • Smart code suggestions by Codota
}
origin: org.avaje.ebean/ebean

@Override
public QueryIterator<T> findIterate() {
 return query.findIterate();
}
origin: org.avaje/ebean

public QueryIterator<T> findIterate() {
 return query.findIterate();
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public QueryIterator<T> findIterate() {
 return query.findIterate();
}
origin: org.actframework/act-ebean-java7

@Override
public QueryIterator<MODEL_TYPE> findIterate() {
  QueryIterator<MODEL_TYPE> i = qReadOnly.findIterate();
  dao.registerQueryIterator(i);
  return i;
}
origin: com.typesafe.play/play-java-ebean

public QueryIterator<T> findIterate() {
  return query().findIterate();
}
origin: org.actframework/act-ebean-java7

public void consume($.Visitor<MODEL_TYPE> visitor) {
  QueryIterator<MODEL_TYPE> i = qReadOnly.findIterate();
  try {
    while (i.hasNext()) {
      MODEL_TYPE entity = i.next();
      visitor.visit(entity);
    }
  } finally {
    i.close();
  }
}
com.avaje.ebeanQueryfindIterate

Javadoc

Execute the query iterating over the results.

Remember that with QueryIterator you must call QueryIterator#close()when you have finished iterating the results (typically in a finally block).

This query will execute against the EbeanServer that was used to create it.

Popular methods of Query

  • where
    Add additional clause(s) to the where clause. This typically contains named parameters which will ne
  • findList
    Execute the query returning the list of objects. This query will execute against the EbeanServer tha
  • orderBy
    Set the order by clause replacing the existing order by clause if there is one. This follows SQL sy
  • fetch
    Additionally specify a FetchConfig to use a separate query or lazy loading to load this path.
  • select
    Explicitly set a comma delimited list of the properties to fetch on the 'main' entity bean (aka part
  • setFirstRow
    Set the first row to return for this query.
  • setMaxRows
    Set the maximum number of rows to return in the query.
  • filterMany
    This applies a filter on the 'many' property list rather than the root level objects. Typically you
  • findFutureIds
    Execute find Id's query in a background thread. This returns a Future object which can be used to ca
  • findFutureList
    Execute find list query in a background thread. This returns a Future object which can be used to ca
  • findIds
    Execute the query returning the list of Id's. This query will execute against the EbeanServer that w
  • findMap
    Return a typed map specifying the key property and type.
  • findIds,
  • findMap,
  • findRowCount,
  • findSet,
  • findUnique,
  • getExpressionFactory,
  • having,
  • order,
  • setId

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)