R - the type of query resultspublic interface DiscoveryClient<R>
Submits Querys for remote execution and returns a list of typed results.
| Modifier and Type | Method and Description |
|---|---|
List<R> |
submit(Query query)
Submits a
Query for remote execution and returns a list of typed results. |
List<R> submit(Query query) throws DiscoveryException, InvalidResultException
Query for remote execution and returns a list of typed results.query - the queryDiscoveryException - if the query cannot be submittedInvalidResultException - if the results cannot be parsed. Implementations may adopt different degrees of
tolerance to parsing errors before raising this exception.Copyright © 2023. All Rights Reserved.