public class PublishRsUsingClause<E> extends StreamClause<E,PublishRsEnv<E>>
publish sentences in which the type of Records is configured on the output resultset.env| Constructor and Description |
|---|
PublishRsUsingClause(Stream<E> stream)
Creates an instance with an input
Stream. |
| Modifier and Type | Method and Description |
|---|---|
PublishRsWithClause<E> |
using(Generator<E,String> serialiser)
Configures a serialiser for the elements of the input
Stream. |
PublishRsWithClause<E> |
using(RecordFactory<E> factory)
Configures a
RecordFactory for the elements of the input Stream. |
public PublishRsWithClause<E> using(Generator<E,String> serialiser)
Stream.serialiser - the serialiserpublic PublishRsWithClause<E> using(RecordFactory<E> factory)
RecordFactory for the elements of the input Stream.factory - the factoryCopyright © 2019. All Rights Reserved.