@FunctionalInterface public interface QueryHandler
QueryHandler
instance
will be created for each Network
instance so the query handler may maintain
instance state across multiple queries.org.hyperledger.fabric.sdk.ProposalResponse evaluate(Query query) throws ContractException
query
- The query to evaluate.ContractException
- if no peers are reachable or an error response is returned.Copyright © 2023. All rights reserved.