org.gcube.data.streams.dsl.unfold
Class UnfoldThroughClause<E>
java.lang.Object
org.gcube.data.streams.dsl.StreamClause<E,StreamClauseEnv<E>>
org.gcube.data.streams.dsl.unfold.UnfoldThroughClause<E>
- Type Parameters:
E - the type of stream elements
public class UnfoldThroughClause<E>
- extends StreamClause<E,StreamClauseEnv<E>>
The clause of unfold sentences in which a Generator is configured on the output stream.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnfoldThroughClause
public UnfoldThroughClause(Stream<E> stream)
- Creates an instance from an input
Stream
- Parameters:
stream - the stream
through
public <E2> UnfoldedStream<E,E2> through(Generator<E,Stream<E2>> generator)
- Return a
Stream configured with a given Generator.
- Parameters:
generator - the generator
- Returns:
- the stream
Copyright © 2012. All Rights Reserved.