All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.shim.ledger.QueryResultsIteratorWithMetadata Maven / Gradle / Ivy

There is a newer version: 2.5.3
Show newest version
/*
Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/

package org.hyperledger.fabric.shim.ledger;

import org.hyperledger.fabric.protos.peer.ChaincodeShim;

/**
 * QueryResultsIteratorWithMetadata allows a chaincode to iterate over a set of key/value pairs returned by range, execute and history queries.
 * In addition, it store {@link org.hyperledger.fabric.protos.peer.ChaincodeShim.QueryResponseMetadata}, returned by pagination range queries
 *
 * @param 
 */
public interface QueryResultsIteratorWithMetadata extends Iterable, AutoCloseable {
    ChaincodeShim.QueryResponseMetadata getMetadata();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy