|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.report.data.SimpleDataSource
public class SimpleDataSource
A simple Map-based DataSource implementation.
| Constructor Summary | |
|---|---|
SimpleDataSource()
|
|
| Method Summary | |
|---|---|
void |
close()
Release all the resources associated to this data source |
Dataset |
getData(ReportDataSpec segment)
Gives the appropriate dataset for the requested segment. |
Map<String,? extends Object> |
getEnviron()
Gets the global environment of the data (for example author, generator, etc.) |
void |
putData(String segment_name,
Dataset data)
|
void |
setEnviron(Map<String,? extends Object> environ)
Sets the global environment of the data (for example author, generator, etc.) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleDataSource()
| Method Detail |
|---|
public Dataset getData(ReportDataSpec segment)
throws DatasetException
ReportDataSource
getData in interface ReportDataSourcesegment - the datasource specification.
DatasetException - if an error occurred when preparing the data for the segment.
public void putData(String segment_name,
Dataset data)
public void setEnviron(Map<String,? extends Object> environ)
ReportDataSource
setEnviron in interface ReportDataSourceenviron - A Map containing the spec_id-value environment variables.public Map<String,? extends Object> getEnviron()
ReportDataSource
getEnviron in interface ReportDataSourcepublic void close()
ReportDataSource
close in interface ReportDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||