public interface Repository extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns the description of the repository.
|
org.gcube.data.trees.data.Tree |
get(String id)
Retrieves a
Tree with a given identifier |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
getRecords()
Retrieves all trees
|
String |
name()
Returns the name of the repository.
|
Summary |
summary()
Returns a
Summary of a number of sets of the repository. |
String name()
String description()
org.gcube.data.trees.data.Tree get(String id) throws org.gcube.data.tmf.api.exceptions.UnknownTreeException, Exception
Tree with a given identifierid - the identifierorg.gcube.data.tmf.api.exceptions.UnknownTreeException - if there is no tree in the sets with the given identifierException - if the operation fails for any other errororg.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> getRecords()
throws org.gcube.data.tmf.api.exceptions.UnknownTreeException,
Exception
Exceptionorg.gcube.data.tmf.api.exceptions.UnknownTreeExceptionCopyright © 2015. All Rights Reserved.