public class TMStreams extends Object
| Constructor and Description |
|---|
TMStreams() |
| Modifier and Type | Method and Description |
|---|---|
static <N extends org.gcube.data.trees.data.Node> |
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.tmf.api.Path> |
pathsIn(URI locator)
Converts a result set of
Paths into a Stream. |
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 streampublic static org.gcube.data.streams.Stream<org.gcube.data.tmf.api.Path> pathsIn(URI locator)
Paths into a Stream.locator - the result set locatorCopyright © 2014. All Rights Reserved.