@FunctionalInterface public interface QueryFunction
QueryRequest
and return
a SourceResponse
. Used by classes such as ResultIterable
to support interfaces
other than CatalogFramework
.Modifier and Type | Method and Description |
---|---|
SourceResponse |
query(QueryRequest queryRequest)
Runs a query.
|
SourceResponse query(QueryRequest queryRequest) throws UnsupportedQueryException, SourceUnavailableException, FederationException
queryRequest
- request to useSourceUnavailableException
- if a required Source
is
unavailableUnsupportedQueryException
- if the Query
can not be
evaluated by this CatalogFramework
or any of its Source
s.FederationException
- if the QueryRequest
includes FederatedSource
s and there is either a problem connecting to a FederatedSource
or a FederatedSource
cannot
evaluate the Query
This work is licensed under a Creative Commons Attribution 4.0 International License.