|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.persistence.query.NewInstance
public class NewInstance
Denotes NEW fully.qualified.class.name(arg1, arg2,...)
Field Summary | |
---|---|
static String |
CLOSE_BRACE
|
static String |
COMMA
|
static String |
EMPTY
|
static String |
OPEN_BRACE
|
static String |
SPACE
|
Method Summary | |
---|---|
OrderByItem |
asc()
Return an OrderByItem referencing the SelectItem and specifying ascending ordering. |
String |
asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Get a JPQL fragment as used in WHERE clause. |
String |
asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in FROM clause. |
String |
asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in SELECT projection. |
OrderByItem |
desc()
Return an OrderByItem referencing the SelectItem and specifying descending ordering. |
String |
getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the hint to be used while creating alias. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.openjpa.persistence.query.Visitable |
---|
asExpression, asJoinable, getAliasHint |
Field Detail |
---|
public static final String SPACE
public static final String OPEN_BRACE
public static final String CLOSE_BRACE
public static final String COMMA
public static final String EMPTY
Method Detail |
---|
public OrderByItem asc()
SelectItem
asc
in interface SelectItem
public OrderByItem desc()
SelectItem
desc
in interface SelectItem
public String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asProjection
in interface Visitable
public String asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asExpression
in interface Visitable
public String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
getAliasHint
in interface Visitable
public String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asJoinable
in interface Visitable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |