public class StringQuerySource extends QuerySource
StringQuery.STRING
This query source should be placed at the end of the array of query sources
provided to QueryFactory
because it will always
return a Query
regardless of the id. An exception
will be thrown at execution time if the HQL is invalid.Constructor and Description |
---|
StringQuerySource()
Default constructor, used primarily for testing.
|
StringQuerySource(SqlAction sql) |
Modifier and Type | Method and Description |
---|---|
Query |
lookup(String queryID,
Parameters parameters)
map the queryID argument to some Query instance (including null).
|
public StringQuerySource()
SqlAction
to created StringQuery
instances.public StringQuerySource(SqlAction sql)
public Query lookup(String queryID, Parameters parameters)
QuerySource
Parameters
lookup
in class QuerySource
queryID
- abstract identifier for the sought query.parameters
- named parameters for lookup and actual bindings.
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.