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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionexecute(GatewayInterface ifc) Executes the query and returns a dataset of the result.
- 
Constructor Details- 
NQuerypublic NQuery(@Nullable String queryPath, @Nullable Map<String, Object> paramValues, @Nonnull VisionClientContext context) 
 
- 
- 
Method Details- 
executeExecutes the query and returns a dataset of the result.- Specified by:
- executein interface- IQuery
- 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 a- GatewayException
 
 
-