org.gcube.data.streams.dsl.from
Class RsStringWithClause
java.lang.Object
org.gcube.data.streams.dsl.from.RsStringWithClause
public class RsStringWithClause
- extends Object
A RsClause in which the adapter of the input resultset is configured.
- Author:
- Fabio Simeoni
|
Field Summary |
protected org.gcube.data.streams.dsl.from.RsEnv<R> |
env
|
|
Constructor Summary |
RsStringWithClause(org.gcube.data.streams.dsl.from.RsEnv<gr.uoa.di.madgik.grs.record.GenericRecord> env)
Creates an instance with a RsEnv. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
protected org.gcube.data.streams.dsl.from.RsEnv<R extends gr.uoa.di.madgik.grs.record.Record> env
RsStringWithClause
public RsStringWithClause(org.gcube.data.streams.dsl.from.RsEnv<gr.uoa.di.madgik.grs.record.GenericRecord> env)
- Creates an instance with a
RsEnv.
- Parameters:
env - the environment
withTimeout
public Stream<String> withTimeout(int timeout,
TimeUnit unit)
- Returns a
Stream with a given read timeout on the input resultset
- Parameters:
timeout - the timeoutunit - the time unit of the timeout
- Returns:
- the stream
withDefaults
public Stream<String> withDefaults()
- Returns a
Stream with a ResultsetStream.default_timeout in a
ResultsetStream.default_timeout_unit on the input resultset.
- Returns:
- the stream
Copyright © 2012. All Rights Reserved.