org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl
Class UnfoldThroughClause<FROM>
java.lang.Object
org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl.Clause<FROM,java.lang.Void>
org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl.UnfoldThroughClause<FROM>
public class UnfoldThroughClause<FROM>
- extends Clause<FROM,java.lang.Void>
The through
clause of unfold-based sentences.
- Author:
- Fabio Simeoni (University of Strathclyde)
Constructor Summary |
UnfoldThroughClause(Env<FROM,java.lang.Void> e)
Creates an instance of the clause in the evaluation environment of a given sentence. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnfoldThroughClause
public UnfoldThroughClause(Env<FROM,java.lang.Void> e)
- Creates an instance of the clause in the evaluation environment of a given sentence.
- Parameters:
e
- the environment.
pipingThrough
public <TO> UnfoldWithClause<FROM,TO> pipingThrough(Filter<FROM,java.util.List<TO>> filter)
- Configures a
Filter
for the stream in the evaluation environment.
- Type Parameters:
TO
- the output type of the Filter
.- Parameters:
filter
- the Filter
.
- Returns:
- the next clause.