org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl
Class ThroughClause<FROM>

java.lang.Object
  extended by org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl.Clause<FROM,java.lang.Void>
      extended by 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.
 
Method Summary
<TO> WithClause<FROM,TO>
through(Filter<FROM,TO> filter)
          Configures a Filter for the stream in the evaluation environment.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.