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.
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.
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.