|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Repository
A local interface to a remote OAI repository.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
String name()
String description()
String url()
List<Set> getSetsWith(List<String> setIds)
setIds - the identifiers
org.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 sets
org.gcube.data.tmf.api.exceptions.UnknownTreeException - if there is no tree in the sets with the given identifier
Exception - if the operation fails for any other errororg.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> getAllIn(List<Set> sets)
sets - the sets
Summary summary(List<Set> sets)
throws Exception
Summary of a number of sets of the repository.
sets - the sets
Exception - if the summary cannot be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||