org.gcube.data.streams.dsl.from
Class RsOfClause<R extends gr.uoa.di.madgik.grs.record.Record>

java.lang.Object
  extended by org.gcube.data.streams.dsl.from.RsOfClause<R>

public class RsOfClause<R extends gr.uoa.di.madgik.grs.record.Record>
extends Object

A RsClause in which the record type of the input resultset is configured.

Author:
Fabio Simeoni

Field Summary
protected  org.gcube.data.streams.dsl.from.RsEnv<R> env
           
 
Constructor Summary
RsOfClause(URI locator)
          Creates an instance from a resultset.
 
Method Summary
<R2 extends R>
RsWithClause<R2>
of(Class<R2> clazz)
          Configures the type of records in the input resultset
 RsStringWithClause ofStrings()
          Configures the type of records in the input result set to RsStringRecordFactory.STRING_RECORD.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

env

protected org.gcube.data.streams.dsl.from.RsEnv<R extends gr.uoa.di.madgik.grs.record.Record> env
Constructor Detail

RsOfClause

public RsOfClause(URI locator)
Creates an instance from a resultset.

Parameters:
locator - the locator of the resultset
Method Detail

of

public <R2 extends R> RsWithClause<R2> of(Class<R2> clazz)
Configures the type of records in the input resultset

Parameters:
clazz - the record type
Returns:
the next clause in the sentence

ofStrings

public RsStringWithClause ofStrings()
Configures the type of records in the input result set to RsStringRecordFactory.STRING_RECORD.

Returns:
the next clause in the sentence


Copyright © 2012. All Rights Reserved.