Interface SelectItem
-
- All Superinterfaces:
OrderByItem
- All Known Subinterfaces:
Aggregate
,DomainObject
,Expression
,PathExpression
- All Known Implementing Classes:
AbsExpression
,AbstractDomainObject
,ArrayExpression
,AverageExpression
,BinaryOperatorExpression
,ConcatExpression
,CountExpression
,CurrentTimeExpression
,DistinctExpression
,DividedByExpression
,ElseExpression
,EntryExpression
,FetchPath
,IndexExpression
,JoinPath
,KeyExpression
,LengthExpression
,LiteralExpression
,LocateExpression
,LowerExpression
,MaxExpression
,MinExpression
,MinusExpression
,NewInstance
,OperatorPath
,ParameterExpression
,PlusExpression
,QueryDefinitionImpl
,RangeExpression
,RootPath
,SizeExpression
,SquareRootExpression
,SubStringExpression
,SumExpression
,TimesExpression
,TrimExpression
,TypeExpression
,UnaryMinusExpression
,UpperExpression
,ValueExpression
,VarArgsExpression
public interface SelectItem extends OrderByItem
SelectItem instances are used in specifying the query's select list. The methods of this interface are used to define arguments that can be passed to the orderBy method for use in ordering selected items of the query result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderByItem
asc()
Return an OrderByItem referencing the SelectItem and specifying ascending ordering.OrderByItem
desc()
Return an OrderByItem referencing the SelectItem and specifying descending ordering.
-
-
-
Method Detail
-
asc
OrderByItem asc()
Return an OrderByItem referencing the SelectItem and specifying ascending ordering. The SelectItem must correspond to an orderable value.- Returns:
- order-by item
-
desc
OrderByItem desc()
Return an OrderByItem referencing the SelectItem and specifying descending ordering. The SelectItem must correspond to an orderable value.- Returns:
- order-by item
-
-