|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.spoledge.audao.parser.gql.PreparedGql
public class PreparedGql
Prepared GQL query.
Nested Class Summary | |
---|---|
static class |
PreparedGql.QueryType
The query type enumeration. |
Method Summary | |
---|---|
GqlExtTree |
execute(java.lang.Object... params)
Executes GQL statement. |
java.lang.Iterable<Entity> |
executeQuery(java.lang.Object... params)
Executes GQL query. |
int |
executeUpdate(java.lang.Object... params)
Executes GQL update statement. |
protected java.lang.String |
formatError(java.lang.String gql,
java.lang.Throwable t)
Formats error message. |
java.lang.String[] |
getColumnNames()
Returns the known column names or null. |
PreparedGql.QueryType |
getQueryType()
Returns the type of the query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PreparedGql.QueryType getQueryType()
public java.lang.String[] getColumnNames()
public java.lang.Iterable<Entity> executeQuery(java.lang.Object... params)
params
- the parameters to the GQL (referenced by :1, :2, ...)
public int executeUpdate(java.lang.Object... params)
params
- the parameters to the GQL (referenced by :1, :2, ...)
public GqlExtTree execute(java.lang.Object... params)
params
- the parameters to the GQL (referenced by :1, :2, ...)protected java.lang.String formatError(java.lang.String gql, java.lang.Throwable t)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |