|
||||||||||
| 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)
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. |
| Method Detail |
|---|
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 identifier
id - the identifier
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 error
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> getRecords()
throws org.gcube.data.tmf.api.exceptions.UnknownTreeException,
Exception
Exception
org.gcube.data.tmf.api.exceptions.UnknownTreeException
Summary summary()
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 | |||||||||