| Constructor and Description |
|---|
DefaultTWriter(org.gcube.common.clients.delegates.ProxyDelegate<TWriterStub> delegate) |
| Modifier and Type | Method and Description |
|---|---|
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. |
public DefaultTWriter(org.gcube.common.clients.delegates.ProxyDelegate<TWriterStub> delegate)
public org.gcube.data.trees.data.Tree add(org.gcube.data.trees.data.Tree tree)
throws InvalidTreeException
TWriterTree to the bound source.add in interface TWritertree - the treeInvalidTreeException - if the tree does not conform to the data type of the source or if it is invalid for
additionpublic org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> add(org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> trees)
TWriterTrees to the bound source.public org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> add(URI locator)
TWriterTrees to the bound source.public org.gcube.data.trees.data.Tree update(org.gcube.data.trees.data.Tree delta)
throws InvalidTreeException,
UnknownTreeException
TWriterupdate in interface TWriterdelta - the delta tree that captures the updateInvalidTreeException - if the delta tree is invalidUnknownTreeException - if the delta tree does not identify a tree in the sourcepublic org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> update(org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> deltas)
TWriterTrees in the bound source.Copyright © 2016. All Rights Reserved.