Interface Schema


  • public interface Schema
    A schema of the collections (a.k.a. indices) of a service.
    • Method Summary

      Modifier and Type Method Description
      List<HashCode> getStateHashes()
      Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database.
    • Method Detail

      • getStateHashes

        List<HashCode> getStateHashes()
        Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database. If there are no Merkelized tables, returns an empty list.

        This list of root hashes represents the current service state. Lists of these hashes from each service are aggregated in a single blockchain state hash that reflects the state of all services in the blockchain.