public class NQuery extends java.lang.Object implements IQuery
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 and Description |
---|
NQuery(java.lang.String queryPath,
java.util.Map<java.lang.String,java.lang.Object> paramValues,
VisionClientContext context) |
Modifier and Type | Method and Description |
---|---|
Dataset |
execute(GatewayInterface ifc)
Executes the query and returns a dataset of the result.
|
public NQuery(@Nullable java.lang.String queryPath, @Nullable java.util.Map<java.lang.String,java.lang.Object> paramValues, @Nonnull VisionClientContext context)
public Dataset execute(GatewayInterface ifc) throws GatewayException
execute
in interface IQuery
ifc
- Unused, may be nullDataset
of the result (may be empty)GatewayException
- If there was an error executing the query, the exception thrown will be converted
to a GatewayException