org.gcube.data.streams.dsl.publish
Class PublishRsEnv<E>

java.lang.Object
  extended by org.gcube.data.streams.dsl.StreamClauseEnv<E>
      extended by org.gcube.data.streams.dsl.publish.PublishRsEnv<E>
Type Parameters:
E - the type of elements of the input stream

public class PublishRsEnv<E>
extends StreamClauseEnv<E>

The StreamClauseEnv in which publish sentences are evaluated.

Author:
Fabio Simeoni

Constructor Summary
PublishRsEnv(Stream<E> stream)
          Creates an instance with a Stream
PublishRsEnv(Stream<E> stream, RecordFactory<E> factory)
          Creates an instance with a Stream and a RecordFactory
 
Method Summary
 
Methods inherited from class org.gcube.data.streams.dsl.StreamClauseEnv
stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishRsEnv

public PublishRsEnv(Stream<E> stream)
Creates an instance with a Stream

Parameters:
stream - the stream

PublishRsEnv

public PublishRsEnv(Stream<E> stream,
                    RecordFactory<E> factory)
Creates an instance with a Stream and a RecordFactory

Parameters:
stream - the stream
factory - the factory


Copyright © 2012. All Rights Reserved.