org.gcube.data.streams.dsl.publish
Class PublishRsUsingClause<E>
java.lang.Object
org.gcube.data.streams.dsl.StreamClause<E,PublishRsEnv<E>>
org.gcube.data.streams.dsl.publish.PublishRsUsingClause<E>
public class PublishRsUsingClause<E>
- extends StreamClause<E,PublishRsEnv<E>>
The clause of publish sentences in which the type of Records is configured on the output resultset.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublishRsUsingClause
public PublishRsUsingClause(Stream<E> stream)
- Creates an instance with an input
Stream.
- Parameters:
stream - the stream
using
public PublishRsWithClause<E> using(Generator<E,String> serialiser)
- Configures a serialiser for the elements of the input
Stream.
- Parameters:
serialiser - the serialiser
- Returns:
- the next clause in the sentence
using
public PublishRsWithClause<E> using(RecordFactory<E> factory)
- Configures a
RecordFactory for the elements of the input Stream.
- Parameters:
factory - the factory
- Returns:
- the next clause in the sentence
Copyright © 2012. All Rights Reserved.