Class NQuery
java.lang.Object
com.inductiveautomation.factorypmi.application.gateway.NQuery
- All Implemented Interfaces:
IQuery
Like a
SQLQuery, except for named queries. Used by the
NamedQueryAdapter and the
NamedQueryTagBinding to execute the actual
query via RPC and return a dataset of the results.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(GatewayInterface ifc) Executes the query and returns a dataset of the result.
-
Constructor Details
-
NQuery
public NQuery(@Nullable String queryPath, @Nullable Map<String, Object> paramValues, @Nonnull VisionClientContext context)
-
-
Method Details
-
execute
Executes the query and returns a dataset of the result.- Specified by:
executein interfaceIQuery- Parameters:
ifc- Unused, may be null- Returns:
- A
Datasetof the result (may be empty) - Throws:
GatewayException- If there was an error executing the query, the exception thrown will be converted to aGatewayException
-