org.gcube.contentmanagement.gcubedocumentlibrary.streams.dsl
Class UnfoldThroughClause<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.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.
 
Method Summary
<TO> UnfoldWithClause<FROM,TO>
pipingThrough(Filter<FROM,java.util.List<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

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

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.