|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.RawSql.Sql
public static final class RawSql.Sql
Represents the sql part of the query. For parsed RawSql the sql is broken up so that Ebean can insert extra WHERE and HAVING expressions into the SQL.
Method Summary | |
---|---|
String |
getOrderBy()
Return the SQL ORDER BY clause. |
String |
getPreFrom()
Return the SQL prior to FROM clause. |
String |
getPreHaving()
Return the SQL prior to HAVING clause. |
String |
getPreWhere()
Return the SQL prior to WHERE clause. |
String |
getUnparsedSql()
Return the SQL when it is unparsed. |
boolean |
isAndHavingExpr()
Return true if there is already a HAVING clause and any extra having expressions start with AND. |
boolean |
isAndWhereExpr()
Return true if there is already a WHERE clause and any extra where expressions start with AND. |
boolean |
isParsed()
Return true if the SQL is left completely unmodified. |
int |
queryHash()
Return a hash for this query. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int queryHash()
public String toString()
toString
in class Object
public boolean isParsed()
This means Ebean can't add WHERE or HAVING expressions into the query - it will be left completely unmodified.
public String getUnparsedSql()
public String getPreFrom()
public String getPreWhere()
public boolean isAndWhereExpr()
public String getPreHaving()
public boolean isAndHavingExpr()
public String getOrderBy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |