Interface StorageIndex

All Known Subinterfaces:
EntryIndex<T>, HashableIndex, ListIndex<T>, MapIndex<K,​V>, ProofEntryIndex<T>
All Known Implementing Classes:
EntryIndexProxy, KeySetIndexProxy, ListIndexProxy, MapIndexProxy, ProofEntryIndexProxy, ProofListIndexProxy, ProofMapIndexProxy, ValueSetIndexProxy

public interface StorageIndex
Storage index is a persistent, named collection built on top of Exonum key-value storage.

Also known as a collection, a table, and also as (rarely) a database view.

  • Method Summary

    Modifier and Type Method Description
    IndexAddress getAddress()
    Returns the index address: its identifier in the database.
    default java.lang.String getName()
    Returns the name of this index.
  • Method Details

    • getName

      default java.lang.String getName()
      Returns the name of this index.

      Please note that the implementations may return either relative or absolute name. The name is not required to be equal to the one passed to the index constructor.

    • getAddress

      IndexAddress getAddress()
      Returns the index address: its identifier in the database.

      Please note that the implementations may return either relative or absolute address. The address is not required to be equal to the one passed to the index constructor.