@FunctionalInterface public interface QueryHandler
QueryHandler instance
will be created for each Network instance so the query handler may maintain
instance state across multiple queries.| Modifier and Type | Method and Description |
|---|---|
org.hyperledger.fabric.sdk.ProposalResponse |
evaluate(Query query)
Called when the result for a given query is required.
|
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.