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(ome.util.SqlAction sql) |
public StringQuerySource()
SqlAction
to created StringQuery
instances.public StringQuerySource(ome.util.SqlAction sql)
public Query lookup(String queryID, ome.parameters.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.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.