@Inherited @Repeatable(value=OrderBys.class) @Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) public @interface OrderBy
Table
subclass, or SqlOperation
.
Use only one of these methods: ascending()
, descending()
, or
orderByFields()
.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Name of the order by phrase.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
ascending
Define fields where all are ascending order.
|
java.lang.String[] |
descending
Define fields where all are descending order.
|
OrderByField[] |
orderByFields
Define fields that are mix of ascending and descending order.
|
public abstract java.lang.String name
public abstract java.lang.String[] ascending
orderByFields()
.public abstract java.lang.String[] descending
orderByFields()
.public abstract OrderByField[] orderByFields
ascending()
or descending()
.