R - the type of query resultspublic interface DiscoveryClient<R>
Submits Querys 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 © 2020. All Rights Reserved.