org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl
Class ThroughClause<FROM>
java.lang.Object
org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl.Clause<FROM,java.lang.Void>
org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl.ThroughClause<FROM>
public class ThroughClause<FROM>
- extends Clause<FROM,java.lang.Void>
The through
clause of pipe-based sentences.
- Author:
- Fabio Simeoni (University of Strathclyde)
Constructor Summary |
ThroughClause(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 |
ThroughClause
public ThroughClause(Env<FROM,java.lang.Void> e)
- Creates an instance of the clause in the evaluation environment of a given sentence.
- Parameters:
e
- the environment.
through
public <TO> WithClause<FROM,TO> through(Filter<FROM,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.