Query Data
This handler (com.rierino.handler.QueryEventHandler) provides ability to generate and execute system specific queries on a query manager on demand, from simple select statements to complex requests.
Last updated
This handler (com.rierino.handler.QueryEventHandler) provides ability to generate and execute system specific queries on a query manager on demand, from simple select statements to complex requests.
Last updated
This handler is .
query.state
Name of the state manager storing query definitions
customQueries
query
Executes and returns results for a single query from a specific query manager. Event metadata fields applicable for this action are as follows:
domain
Name of the query manager to read data from
product
-
inputElement
Json path for the input in event payload for query variables
parameters
-
outputElement
Json path for the output in response event payload
$.list
-
With event metadata parameters as:
outputPattern
JMESPath pattern to apply on data output, before returning response
{id:id, name:data.name, description:data.description}
-
queryId
Id of the query to execute
product_search_0001
-
queryName
Name of the query to execute
Product Search
-
queryJson
Full Json representation of query to execute
-
-
sortPath
Json path in query results to be used for sorting
product.id
-
sorterPath
Json path in request event payload to be used for sorting
productids
-
Generates a query statement for a specific query manager, which is typically used by 3rd party systems in converting query objects into system specific requests. Event metadata fields applicable for this action are as follows:
domain
Name of the query manager to produce statement for
product
-
inputElement
Json path for the input in event payload for query variables
parameters
-
outputElement
Json path for the output in response event payload
$.query
-
With event metadata parameters as:
queryId
Id of the query to execute
product_search_0001
-
queryJson
Full Json representation of query to execute
-
-
queryName
Name of the query to execute
Product Search
-