|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.data.AbstractDataset
info.informatica.data.GenericDataset
public abstract class GenericDataset
An abstract Generic Dataset to be used by subclasses.
| Constructor Summary | |
|---|---|
GenericDataset(Collection<String> column_names)
|
|
GenericDataset(List<String> column_names)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the Dataset. |
Date |
getDate(FieldName id)
Returns Date of name id. |
Date |
getDate(int i)
Returns Date of index i. |
double |
getDouble(FieldName id)
Returns double of name id |
double |
getDouble(int i)
Returns int of index i |
int |
getInt(FieldName id)
Returns int of name id |
int |
getInt(int i)
Returns int of index i |
long |
getLong(FieldName id)
Returns long of name id |
long |
getLong(int i)
Returns long of index i |
Map<FieldName,Object> |
getMap()
Gets a name-> values map containing the current data row. |
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. |
Object |
getObject(FieldName id)
Returns Object of name id |
Object |
getObject(int i)
Returns Object of index i |
String |
getString(FieldName id)
Returns String of name id. |
String |
getString(int i)
Returns String of index i. |
void |
setMetaData(MetaData md)
|
| Methods inherited from class info.informatica.data.AbstractDataset |
|---|
evaluate, findColumn, getCatalogName, getColumnCount, getColumnName, getEnviron, getLabel, next, setEnviron, setLabel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.informatica.data.Dataset |
|---|
isAfterLast, isEmpty, isLast, reset |
| Constructor Detail |
|---|
public GenericDataset(List<String> column_names)
public GenericDataset(Collection<String> column_names)
| Method Detail |
|---|
public Date getDate(int i)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public Date getDate(FieldName id)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public double getDouble(int i)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public double getDouble(FieldName id)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public int getInt(int i)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public int getInt(FieldName id)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public Object getObject(int i)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public Object getObject(FieldName id)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public String getString(int i)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public String getString(FieldName id)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public long getLong(int i)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.
public long getLong(FieldName id)
throws DatasetException
Dataset
DatasetException - if the data repository produced an error.public void setMetaData(MetaData md)
public MetaData getMetaData()
throws DataException
getMetaData in interface DatasetgetMetaData in class AbstractDatasetDataException - 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 Datasetclose in class AbstractDatasetDatasetException - if an error happens when closing the Dataset.
public Dataset getNestedSet(String datasetName)
throws DatasetException
DatasetThis is an optional operation. Datasets not supporting it must throw an UnsupportedOperationException.
getNestedSet in interface DatasetgetNestedSet in class AbstractDatasetdatasetName - the name of the requested Dataset.
DatasetException - if the data repository produced an error.
public Map<FieldName,Object> getMap()
throws DatasetException
DatasetException - if an error happens when creating the Map.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||