While working with datastore I saw that all the queries in the datastore 
are parsed in the format SELECT * FROM kind WHERE property = someValue. I 
was working with Android Studio and while debugging I saw it. Also you can 
run this type of query on the app server.

Later I came to learn that it was called GQL. I searched stackoverflow for 
proper implementation but in every post I found that GQL queries on Java is 
not supported. However, it can be done via 3rd party tools. So I looked at 
official documentation here 
<https://cloud.google.com/datastore/docs/concepts/gql>.

Now here I saw a code snippet in Java. But when i tried to implement it, it 
does not work. I mean the code does not even compile let alone work. There 
are compilation errors.

Even the line 
import static 
com.google.apphosting.client.datastoreservice.client.DatastoreHelper.*; which 
you will find on protocol buffers in Java Section does not work.

Now is the official documentation faulty? Or I am making a mistake?

I am looking for a simple implementation on GQL queries on java and so far 
I have not found any solution. I am using Android Studio.

I know about datastore queries and implemented them with Android Studio. I 
am NOT looking for any alternatives for GQL queries. If anyone has any 
working solution on GQL queries on java, please help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/88305e61-7a4a-442b-ba6e-fe8f526aa5e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to