public class RsStringWithClause extends Object
RsClause in which the adapter of the input resultset is configured.| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.data.streams.dsl.from.RsEnv<R> |
env |
| Constructor and Description |
|---|
RsStringWithClause(org.gcube.data.streams.dsl.from.RsEnv<gr.uoa.di.madgik.grs.record.GenericRecord> env)
Creates an instance with a
RsEnv. |
| Modifier and Type | Method and Description |
|---|---|
Stream<String> |
withDefaults()
Returns a
Stream with a ResultsetStream.default_timeout in a
ResultsetStream.default_timeout_unit on the input resultset. |
Stream<String> |
withTimeout(int timeout,
TimeUnit unit)
Returns a
Stream with a given read timeout on the input resultset |
protected org.gcube.data.streams.dsl.from.RsEnv<R extends gr.uoa.di.madgik.grs.record.Record> env
public RsStringWithClause(org.gcube.data.streams.dsl.from.RsEnv<gr.uoa.di.madgik.grs.record.GenericRecord> env)
RsEnv.env - the environmentpublic Stream<String> withTimeout(int timeout, TimeUnit unit)
Stream with a given read timeout on the input resultsettimeout - the timeoutunit - the time unit of the timeoutpublic Stream<String> withDefaults()
Stream with a ResultsetStream.default_timeout in a
ResultsetStream.default_timeout_unit on the input resultset.Copyright © 2016. All Rights Reserved.