|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.data.AbstractDataset
public abstract class AbstractDataset
Utility abstract base class for several (sometimes metadata-unaware) Dataset implementations.
| Method Summary | |
|---|---|
void |
close()
Closes the Dataset. |
Object |
evaluate(String id)
Sometimes you want to directly access a field or method and evaluate it, instead of getting the object and then accessing the field or calling the method. |
int |
findColumn(FieldName name)
Finds the index of the given column name of the dataset. |
String |
getCatalogName(int i)
Gets the designated data item's catalog name |
int |
getColumnCount()
|
FieldName |
getColumnName(int i)
Gets the designated data item's column name |
Map<String,? extends Object> |
getEnviron()
Gets a global "environment" Map, if available. |
String |
getLabel()
Gets the label of this Set, or null if not available. |
MetaData |
getMetaData()
Gets the meta data for this data set. |
Dataset |
getNestedSet(String datasetName)
It is allowed to have another Datasets nested to the current Dataset row. |
boolean |
next()
Positions the Dataset at the next row of data. |
void |
setEnviron(Map<String,? extends Object> environ)
Sets a global "environment" Map. |
void |
setLabel(String label)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.informatica.data.Dataset |
|---|
getDate, getDate, getDouble, getDouble, getInt, getInt, getLong, getLong, getMap, getObject, getObject, getString, getString, isAfterLast, isEmpty, isLast, reset |
| Method Detail |
|---|
public int getColumnCount()
throws DatasetException
getColumnCount in interface DatasetDatasetException - if the data repository produced an error.public void setLabel(String label)
public String getLabel()
Dataset
getLabel in interface Dataset
public String getCatalogName(int i)
throws DatasetException
getCatalogName in interface DatasetDatasetException - if the data repository produced an error.
public FieldName getColumnName(int i)
throws DatasetException
getColumnName in interface DatasetDatasetException
public boolean next()
throws DatasetException
Dataset
next in interface DatasetDatasetException - if the data repository produced an error.
public Object evaluate(String id)
throws DatasetException
Datasetevaluate method provides a way to do that, and
when called it will either return a variable named id or a
method evaluation of the style package.object.method.
evaluate in interface Datasetid - Fully qualified function name (package.object.function) or
fqfn
DatasetException - if the data repository produced an error.
public void close()
throws DatasetException
DatasetNo further work is possible with the Dataset after closing it.
close in interface DatasetDatasetException - if an error happens when closing the Dataset.
public int findColumn(FieldName name)
throws DatasetException
Dataset
findColumn in interface DatasetDatasetException - if an error happens when accessing the data.
public MetaData getMetaData()
throws DataException
Dataset
getMetaData in interface DatasetDataException - if the data repository produced an error.public void setEnviron(Map<String,? extends Object> environ)
Dataset
setEnviron in interface Datasetenviron - a Map with the environment.public Map<String,? extends Object> getEnviron()
Dataset
getEnviron in interface Dataset
public Dataset getNestedSet(String datasetName)
throws DatasetException
DatasetThis is an optional operation. Datasets not supporting it must throw an UnsupportedOperationException.
getNestedSet in interface DatasetdatasetName - the name of the requested Dataset.
DatasetException - if the data repository produced an error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||