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,
List<Set> sets)
Retrieves a
Tree with a given identifier from one of a number of
sets in the repository. |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
getAllIn(List<Set> sets)
Retrieves all trees in a number of sets of the repository.
|
List<Set> |
getSetsWith(List<String> setIds)
Retrieve sets of the repository with given identifiers
|
String |
name()
Returns the name of the repository.
|
Summary |
summary(List<Set> sets)
Returns a
Summary of a number of sets of the repository. |
String |
url()
Returns the URL of the repository.
|
String name()
String description()
String url()
List<Set> getSetsWith(List<String> setIds)
setIds - the identifiersorg.gcube.data.trees.data.Tree get(String id, List<Set> sets) throws org.gcube.data.tmf.api.exceptions.UnknownTreeException, Exception
Tree with a given identifier from one of a number of
sets in the repository.id - the identifiersets - the setsorg.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> getAllIn(List<Set> sets)
sets - the setsCopyright © 2015. All Rights Reserved.