|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TWriter
An interface over remote T-Writer endpoints.
T-Writer endpoints give access to data sources under a tree-based model.
TWriter,
TBinder| Method Summary | |
|---|---|
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
add(org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> trees)
Adds one or more Trees to the bound source. |
org.gcube.data.trees.data.Tree |
add(org.gcube.data.trees.data.Tree tree)
Adds a Tree to the bound source. |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
add(URI locator)
Adds one or more Trees to the bound source. |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
update(org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> deltas)
Updates one or more Trees in the bound source. |
org.gcube.data.trees.data.Tree |
update(org.gcube.data.trees.data.Tree delta)
Updates a tree in the bound source. |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
update(URI locator)
Updates one or more Trees in the bound source. |
| Method Detail |
|---|
org.gcube.data.trees.data.Tree add(org.gcube.data.trees.data.Tree tree)
throws InvalidTreeException
Tree to the bound source.
tree - the tree
InvalidTreeException - if the tree does not conform to the data type of the source or if it is invalid for
addition
org.gcube.common.clients.exceptions.DiscoveryException - if the proxy is created in discovery mode but no service endpoints could be discovered
org.gcube.common.clients.exceptions.UnsupportedOperationException - if the bound source does not support the operation
org.gcube.common.clients.exceptions.UnsupportedRequestException - if the bound source does not support this particular request
org.gcube.common.clients.exceptions.ServiceException - if the call fails for any other errororg.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> add(org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> trees)
Trees to the bound source.
trees - a Stream of Trees
Stream of added Trees
org.gcube.common.clients.exceptions.DiscoveryException - if, in discovery mode, there is no service for the bound source
org.gcube.common.clients.exceptions.UnsupportedOperationException - if the bound source does not support the operation
org.gcube.common.clients.exceptions.UnsupportedRequestException - if the bound source does not support this particular request
org.gcube.common.clients.exceptions.ServiceException - if the call fails for any other errororg.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> add(URI locator)
Trees to the bound source.
locator - a locator to a resultset of Trees
Stream of added Trees
org.gcube.common.clients.exceptions.DiscoveryException - if, in discovery mode, there is no service for the bound source
org.gcube.common.clients.exceptions.UnsupportedOperationException - if the bound source does not support the operation
org.gcube.common.clients.exceptions.UnsupportedRequestException - if the bound source does not support this particular request
org.gcube.common.clients.exceptions.ServiceException - if the call fails for any other error
org.gcube.data.trees.data.Tree update(org.gcube.data.trees.data.Tree delta)
throws InvalidTreeException,
UnknownTreeException
delta - the delta tree that captures the update
UnknownTreeException - if the delta tree does not identify a tree in the source
InvalidTreeException - if the delta tree is invalid
org.gcube.common.clients.exceptions.DiscoveryException - if the proxy is created in discovery mode but no service endpoints could be discovered
org.gcube.common.clients.exceptions.UnsupportedOperationException - if the bound source does not support the operation
org.gcube.common.clients.exceptions.UnsupportedRequestException - if the bound source does not support this particular request
org.gcube.common.clients.exceptions.ServiceException - if the call fails for any other errororg.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> update(org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> deltas)
Trees in the bound source.
deltas - a Stream of delta Trees
Stream of updated trees Trees
org.gcube.common.clients.exceptions.DiscoveryException - if, in discovery mode, there is no service for the bound source
org.gcube.common.clients.exceptions.UnsupportedOperationException - if the bound source does not support the operation
org.gcube.common.clients.exceptions.UnsupportedRequestException - if the bound source does not support this particular request
org.gcube.common.clients.exceptions.ServiceException - if the call fails for any other errororg.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> update(URI locator)
Trees in the bound source.
locator - a locator to a resultset of delta Trees
Stream of updated Trees
org.gcube.common.clients.exceptions.DiscoveryException - if, in discovery mode, there is no service for the bound source
org.gcube.common.clients.exceptions.UnsupportedOperationException - if the bound source does not support the operation
org.gcube.common.clients.exceptions.UnsupportedRequestException - if the bound source does not support this particular request
org.gcube.common.clients.exceptions.ServiceException - if the call fails for any other error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||