Interface QueryResultsIteratorWithMetadata<T>

  • Type Parameters:
    T - the type of elements returned by the iterator
    All Superinterfaces:
    java.lang.AutoCloseable, java.lang.Iterable<T>

    public interface QueryResultsIteratorWithMetadata<T>
    extends java.lang.Iterable<T>, java.lang.AutoCloseable
    QueryResultsIteratorWithMetadata allows a chaincode to iterate over a set of key/value pairs returned by range, execute and history queries. In addition, it store QueryResponseMetadata, returned by pagination range queries
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.hyperledger.fabric.protos.peer.QueryResponseMetadata getMetadata()  
      • Methods inherited from interface java.lang.AutoCloseable

        close
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Method Detail

      • getMetadata

        org.hyperledger.fabric.protos.peer.QueryResponseMetadata getMetadata()
        Returns:
        Query Metadata