Class NQuery
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.gateway.NQuery
 
- 
- All Implemented Interfaces:
- IQuery
 
 public class NQuery extends java.lang.Object implements IQuery Like aSQLQuery, except for named queries. Used by theNamedQueryAdapterand theNamedQueryTagBindingto execute the actual query via RPC and return a dataset of the results.
- 
- 
Constructor SummaryConstructors Constructor Description NQuery(java.lang.String queryPath, java.util.Map<java.lang.String,java.lang.Object> paramValues, VisionClientContext context)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Datasetexecute(GatewayInterface ifc)Executes the query and returns a dataset of the result.
 
- 
- 
- 
Constructor Detail- 
NQuerypublic NQuery(@Nullable java.lang.String queryPath, @Nullable java.util.Map<java.lang.String,java.lang.Object> paramValues, @Nonnull VisionClientContext context)
 
- 
 - 
Method Detail- 
executepublic Dataset execute(GatewayInterface ifc) throws GatewayException Executes 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
 
 
- 
 
-