|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.spoledge.audao.parser.gql.GqlExtDynamic
public class GqlExtDynamic
Parses GQL queries to low-level GAE API calls. This class is not thread safe. Synchronization must be done externally.
Field Summary | |
---|---|
protected DatastoreService |
ds
|
protected Log |
log
The logger. |
Constructor Summary | |
---|---|
GqlExtDynamic()
|
|
GqlExtDynamic(DatastoreService ds)
|
Method Summary | |
---|---|
protected java.lang.String |
formatError(java.lang.String gql,
java.lang.Throwable t)
Formats error message. |
PreparedGql |
prepare(java.lang.String gql)
Prepares (parses) GQL query. |
void |
setDatastoreService(DatastoreService ds)
Sets the DatastoreService which is needed for multiple queries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Log log
protected DatastoreService ds
Constructor Detail |
---|
public GqlExtDynamic()
public GqlExtDynamic(DatastoreService ds)
Method Detail |
---|
public void setDatastoreService(DatastoreService ds)
public PreparedGql prepare(java.lang.String gql)
gql
- the GQL query - the parameters to the GQL are 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 |