public class QueryFactory
extends java.lang.Object
"query sources"
. The lookup
proceeds through the available query sources calling
querySource.lookup()
,
and returns the first non-null result. If no result is found, an exception is
thrown.Modifier and Type | Field and Description |
---|---|
protected QuerySource[] |
sources
sources available for lookups.
|
Constructor and Description |
---|
QueryFactory(QuerySource... querySources)
main constructor which takes a non-null array of query sources as its
only argument.
|
Modifier and Type | Method and Description |
---|---|
<T> Query<T> |
lookup(java.lang.String queryID,
Parameters params) |
protected QuerySource[] sources
public QueryFactory(QuerySource... querySources)
querySources
- Array of query sources. Not null.public <T> Query<T> lookup(java.lang.String queryID, Parameters params)
T
- queryID
- params
-
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.