public class QueryFactory extends 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.
|
protected QuerySource[] sources
public QueryFactory(QuerySource... querySources)
querySources
- Array of query sources. Not null.public <T> Query<T> lookup(String queryID, Parameters params)
T
- queryID
- params
-
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.