org.gcube.data.streams.dsl.guard
Class GuardWithClause<E>
java.lang.Object
org.gcube.data.streams.dsl.StreamClause<E,StreamClauseEnv<E>>
org.gcube.data.streams.dsl.guard.GuardWithClause<E>
- Type Parameters:
E - the type of stream elements
public class GuardWithClause<E>
- extends StreamClause<E,StreamClauseEnv<E>>
The clause of fold sentences of the Stream DSL in which a FaultHandler 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 |
GuardWithClause
public GuardWithClause(Stream<E> stream)
- Creates an instance with an input
Stream.
- Parameters:
stream - the stream
with
public GuardedStream<E> with(FaultHandler handler)
- Returns a
Stream with configured with a given FaultHandler.
- Parameters:
handler - the handler
- Returns:
- the stream
Copyright © 2012. All Rights Reserved.