- 
- Type Parameters:
- T- The field type
 - All Superinterfaces:
- OrderField<T>,- QueryPart,- Serializable
 
 public interface SortField<T> extends OrderField<T> A sort specification.The SQL ORDER BYclause accepts expressions based onField, which may be enhanced byASCorDESCas well asNULLS FIRSTorNULLS LAST.Example: // Assuming import static org.jooq.impl.DSL.*; using(configuration) .select(ACTOR.FIRST_NAME, ACTOR.LAST_NAME) .from(ACTOR) .orderBy(ACTOR.LAST_UPDATE.desc().nullsLast()) .fetch();Instances can be created using Field.asc(),Field.desc()and related methods.- Author:
- Lukas Eder
- See Also:
- Field.asc(),- Field.desc()
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringgetName()The name of this sort field@NotNull SortOrdergetOrder()Get the underlying sort order of this sort field@NotNull SortField<T>nullsFirst()Add aNULLS FIRSTclause to this sort field@NotNull SortField<T>nullsLast()Add aNULLS LASTclause to this sort field
 
-