com.atlassian.jira.entity
Class Select.OrderByContext<E>

java.lang.Object
  extended by com.atlassian.jira.entity.Select.ExecutableContext<E>
      extended by com.atlassian.jira.entity.Select.OrderByContext<E>
Type Parameters:
E - the type of value that the query yields, which is either implied by the factory method used or inferred from the NamedEntityBuilder that was supplied to it
All Implemented Interfaces:
SelectQuery<E>
Enclosing class:
Select

public static class Select.OrderByContext<E>
extends Select.ExecutableContext<E>

A partially constructed query with completed column, entity, where condition, and ordering information already specified. Use .limit to specify pagination for the results or .runWith to complete the query by specifying an execution method.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.entity.SelectQuery
SelectQuery.ExecutionContext<E>
 
Field Summary
 
Fields inherited from class com.atlassian.jira.entity.Select.ExecutableContext
queryBuilder
 
Method Summary
 Select.LimitContext<E> limit(int maxResults)
           
 Select.LimitContext<E> limit(int offset, int maxResults)
           
 
Methods inherited from class com.atlassian.jira.entity.Select.ExecutableContext
runWith, runWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

limit

public Select.LimitContext<E> limit(int maxResults)

limit

public Select.LimitContext<E> limit(int offset,
                                    int maxResults)


Copyright © 2002-2014 Atlassian. All Rights Reserved.