public class NewInstance extends AbstractVisitable implements SelectItem, Visitable
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE| Constructor and Description |
|---|
NewInstance(Class cls,
SelectItem... args) |
| Modifier and Type | Method and Description |
|---|---|
OrderByItem |
asc()
Return an OrderByItem referencing the SelectItem and specifying ascending
ordering.
|
String |
asProjection(AliasContext ctx)
Gets the string representation in SELECT projection.
|
OrderByItem |
desc()
Return an OrderByItem referencing the SelectItem and specifying
descending ordering.
|
asExpression, asJoinable, getAliasHintclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasExpression, asJoinable, getAliasHintNewInstance(Class cls, SelectItem... args)
public OrderByItem asc()
SelectItemasc in interface SelectItempublic OrderByItem desc()
SelectItemdesc in interface SelectItempublic String asProjection(AliasContext ctx)
VisitableasProjection in interface VisitableasProjection in class AbstractVisitableCopyright © 2006–2015 Apache Software Foundation. All rights reserved.