org.gcube.data.tm.utils
Class TMStreams
java.lang.Object
org.gcube.data.tm.utils.TMStreams
public class TMStreams
- extends Object
Result set conversion facilities.
- Author:
- Fabio Simeoni
|
Method Summary |
static
<N extends org.gcube.data.trees.data.Node>
org.gcube.data.streams.Stream<N> |
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMStreams
public TMStreams()
log
public static <N extends org.gcube.data.trees.data.Node> org.gcube.data.streams.Stream<N> log(org.gcube.data.streams.Stream<N> stream)
- Pipes an
Stream of Nodes through a logger.
- Parameters:
stream - the stream
- Returns:
- the logged stream
pathsIn
public static org.gcube.data.streams.Stream<org.gcube.data.tmf.api.Path> pathsIn(URI locator)
- Converts a result set of
Paths into a Stream.
- Parameters:
locator - the result set locator
- Returns:
- the stream
Copyright © 2013. All Rights Reserved.