| Package | Description |
|---|---|
| org.gcube.data.streams.dsl | |
| org.gcube.data.streams.dsl.publish |
| Modifier and Type | Method and Description |
|---|---|
static PublishRsWithClause<String> |
Streams.publishStringsIn(Stream<String> stream)
Starts a sentence to publish a
Stream as a resultset. |
| Modifier and Type | Method and Description |
|---|---|
PublishRsWithClause<E> |
PublishRsWithClause.nonstop()
Configures publication to continue consuming the input
Stream after the expiry of the publishing timeout. |
PublishRsWithClause<E> |
PublishRsUsingClause.using(Generator<E,String> serialiser)
Configures a serialiser for the elements of the input
Stream. |
PublishRsWithClause<E> |
PublishRsUsingClause.using(RecordFactory<E> factory)
Configures a
RecordFactory for the elements of the input Stream. |
PublishRsWithClause<E> |
PublishRsWithClause.with(ThreadProvider provider)
Configures a
ThreadProvider for the publishing thread. |
PublishRsWithClause<E> |
PublishRsWithClause.withBufferOf(int size)
Configures the element capacity of the resultset buffer.
|
PublishRsWithClause<E> |
PublishRsWithClause.withTimeoutOf(int timeout,
TimeUnit unit)
Configures the publishing timeout of the resultset.
|
Copyright © 2018. All Rights Reserved.