@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 Sources.FederationException - if the QueryRequest includes FederatedSources and there is either a problem connecting to a FederatedSource or a FederatedSource cannot
evaluate the QueryThis work is licensed under a Creative Commons Attribution 4.0 International License.