Query Endpoints
Geode uses a query syntax based on OQL (Object Query Language) to query region data. Since Geode regions are key-value stores, values can range from simple byte arrays to complex nested objects.
-
List all parameterized queries by ID or name.
POST /geode/v1/queries?id=<queryId>&q=<OQL-statement>
Create (prepare) the specified parameterized query and assign the corresponding ID for lookup.
POST /geode/v1/queries/{queryId}
Execute the specified named query passing in scalar values for query parameters in the POST body.
PUT /geode/v1/queries/{queryId}
Update a named, parameterized query.
DELETE /geode/v1/queries/{queryId}
Delete the specified named query.
GET /geode/v1/queries/adhoc?q=<OQL-statement>
Run an unnamed (unidentified), ad-hoc query passed as a URL parameter.