R - The record type being returned by this querypublic interface SimpleSelectOrderByStep<R extends Record> extends SimpleSelectLimitStep<R>
Select's DSL API when selecting specific
 Record types.
 
 Example:  Refer to the manual for more details
 create.selectFrom(T_AUTHOR)
       .where(TBook.LANGUAGE.equal("DE"))
       .and(TBook.PUBLISHED.greaterThan(parseDate('2008-01-01')))
       .orderBy(TAuthor.LAST_NAME.asc().nullsFirst())
       .limit(2)
       .offset(1)
       .forUpdate()
       .of(TAuthor.FIRST_NAME, TAuthor.LAST_NAME)
       .noWait();
 
| Modifier and Type | Method and Description | 
|---|---|
SimpleSelectLimitStep<R> | 
orderBy(Collection<SortField<?>> fields)
Add an  
ORDER BY clause to the query | 
SimpleSelectLimitStep<R> | 
orderBy(Field<?>... fields)
Add an  
ORDER BY clause to the query | 
SimpleSelectLimitStep<R> | 
orderBy(int... fieldIndexes)
Add an  
ORDER BY clause to the query
 
 Indexes start at 1 in SQL! | 
SimpleSelectLimitStep<R> | 
orderBy(SortField<?>... fields)
Add an  
ORDER BY clause to the query | 
SimpleSelectLimitStep<R> | 
orderSiblingsBy(Collection<SortField<?>> fields)
Add an  
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves. | 
SimpleSelectLimitStep<R> | 
orderSiblingsBy(Field<?>... fields)
Add an  
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves. | 
SimpleSelectLimitStep<R> | 
orderSiblingsBy(int... fieldIndexes)
Add an  
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves. | 
SimpleSelectLimitStep<R> | 
orderSiblingsBy(SortField<?>... fields)
Add an  
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves. | 
limit, limit, limit, limit, limit, limitforShare, forUpdategetQuerybind, bind, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchAny, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArrays, fetchGroups, fetchGroups, fetchGroups, fetchGroups, fetchGroups, fetchInto, fetchInto, fetchInto, fetchLater, fetchLater, fetchLazy, fetchLazy, fetchMany, fetchMap, fetchMap, fetchMap, fetchMap, fetchMap, fetchMaps, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOneArray, fetchOneMap, fetchResultSet, getRecordType, getResult, keepStatement, maxRows, queryTimeoutcancel, close, execute, getBindValues, getParam, getParams, getSQL, getSQL, isExecutableinternalAPI@Support SimpleSelectLimitStep<R> orderBy(Field<?>... fields)
ORDER BY clause to the query@Support SimpleSelectLimitStep<R> orderBy(SortField<?>... fields)
ORDER BY clause to the query@Support SimpleSelectLimitStep<R> orderBy(Collection<SortField<?>> fields)
ORDER BY clause to the query@Support SimpleSelectLimitStep<R> orderBy(int... fieldIndexes)
ORDER BY clause to the query
 
 Indexes start at 1 in SQL!
 
 Note, you can use orderBy(Factory.val(1).desc()) or
 orderBy(Factory.literal(1).desc()) to apply descending
 ordering
@Support(value={CUBRID,ORACLE}) SimpleSelectLimitStep<R> orderSiblingsBy(Field<?>... fields)
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves.
@Support(value={CUBRID,ORACLE}) SimpleSelectLimitStep<R> orderSiblingsBy(SortField<?>... fields)
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves.
@Support(value={CUBRID,ORACLE}) SimpleSelectLimitStep<R> orderSiblingsBy(Collection<SortField<?>> fields)
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves.
@Support(value={CUBRID,ORACLE}) SimpleSelectLimitStep<R> orderSiblingsBy(int... fieldIndexes)
ORDER SIBLINGS BY clause to the query
 
 This clause can be used only along with Oracle's CONNECT BY
 clause, to indicate that the hierarchical ordering should be preserved
 and elements of each hierarchy should be ordered among themselves.
 
 Indexes start at 1 in SQL!
 
 Note, you can use orderSiblingsBy(Factory.val(1).desc()) or
 orderBy(Factory.literal(1).desc()) to apply descending
 ordering
Copyright © 2013. All Rights Reserved.