Interface DatastoreService

  • All Known Implementing Classes:
    DBDatastoreServiceImpl

    public interface DatastoreService
    This interface defines all methods for the manipulation of trove datastores
    Author:
    sumit gandhi
    • Method Detail

      • list

        List<? extends Datastore> list()
        Returns list of available datastores
        Returns:
        the list of datastores
      • get

        Datastore get​(String id)
        Gets a datastore specified by ID
        Returns:
        the datastore or null if not found
      • listDatastoreVersions

        List<? extends DatastoreVersion> listDatastoreVersions​(String datasoreId)
        Returns list of all datastore versions
        Returns:
        list of datastore versions
      • getDatastoreVersion

        DatastoreVersion getDatastoreVersion​(String datastoreId,
                                             String versionId)
        Get the datastore version specified by ID
        Returns:
        the datastore version or null if not found