|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.tml.utils.TMStreams
public class TMStreams
Result set conversion facilities.
| Constructor Summary | |
|---|---|
TMStreams()
|
|
| Method Summary | ||
|---|---|---|
static org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
addedTreesIn(URI locator)
Converts a result set of AddOutcomes into a Stream
of added trees that throws faults in correspondence of remote addition failures. |
|
static
|
log(org.gcube.data.streams.Stream<N> stream)
Pipes an Stream of Nodes through a logger. |
|
static org.gcube.data.streams.Stream<org.gcube.data.tm.stubs.Path> |
pathsIn(URI locator)
Converts a result set of Paths into a Stream. |
|
static org.gcube.data.streams.dsl.publish.PublishRsWithClause<AddTreeOutcome> |
publishAddOutcomes(org.gcube.data.streams.Stream<AddTreeOutcome> stream)
Publishes a Stream of AddTreeOutcomes. |
|
static org.gcube.data.streams.dsl.publish.PublishRsWithClause<org.gcube.data.tm.stubs.Path> |
publishPathsIn(org.gcube.data.streams.Stream<org.gcube.data.tm.stubs.Path> stream)
Publishes a Stream of Paths. |
|
static org.gcube.data.streams.dsl.publish.PublishRsWithClause<UpdateTreeFailure> |
publishUpdateFailures(org.gcube.data.streams.Stream<UpdateTreeFailure> stream)
Publishes a Stream of UpdateTreeFailures. |
|
static org.gcube.data.streams.Stream<org.gcube.data.tm.stubs.UpdateFailure> |
updateFailuresIn(URI locator)
Converts a result set of UpdateFailures into a Stream
of Throwables. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TMStreams()
| Method Detail |
|---|
public static <N extends org.gcube.data.trees.data.Node> org.gcube.data.streams.Stream<N> log(org.gcube.data.streams.Stream<N> stream)
Stream of Nodes through a logger.
stream - the stream
public static org.gcube.data.streams.Stream<org.gcube.data.tm.stubs.Path> pathsIn(URI locator)
Paths into a Stream.
locator - the result set locator
public static org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> addedTreesIn(URI locator)
AddOutcomes into a Stream
of added trees that throws faults in correspondence of remote addition failures.
locator - the result set locator
public static org.gcube.data.streams.Stream<org.gcube.data.tm.stubs.UpdateFailure> updateFailuresIn(URI locator)
UpdateFailures into a Stream
of Throwables.
locator - the result set locator
public static org.gcube.data.streams.dsl.publish.PublishRsWithClause<org.gcube.data.tm.stubs.Path> publishPathsIn(org.gcube.data.streams.Stream<org.gcube.data.tm.stubs.Path> stream)
Stream of Paths.
stream - the stream
public static org.gcube.data.streams.dsl.publish.PublishRsWithClause<UpdateTreeFailure> publishUpdateFailures(org.gcube.data.streams.Stream<UpdateTreeFailure> stream)
Stream of UpdateTreeFailures.
stream - the stream
public static org.gcube.data.streams.dsl.publish.PublishRsWithClause<AddTreeOutcome> publishAddOutcomes(org.gcube.data.streams.Stream<AddTreeOutcome> stream)
Stream of AddTreeOutcomes.
stream - the stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||