Package empro :: Module empro :: Module datasource :: Class DataSource
[frames] | no frames]

Class DataSource

core.Updatable --+    
                 |    
   core.Selectable --+
                     |
                    DataSource
Known Subclasses:

This is an interface defining access to a collection of datasets.

Class Hierarchy for DataSource
Class Hierarchy for DataSource

Instance Methods
DataSet
dataSet(iId)
Get a reference to the dataset with given id.
liststring
dataSetIds()
Returns a string list containing all dataset names in the data source.
listDataSet
dataSets()
All datasets that belong to this source.
liststring
variableIds()
Returns the names of all variables in data source
listDataSet
variables()
Returns a list of references to all variables of the data source.

Inherited from core.Selectable: clone, isSelected

Inherited from core.Updatable: __enter__, __exit__, hash, isValid, reasonWhyInvalid

Properties

Inherited from core.Selectable: metaData, name, notes

Method Details

dataSet(iId)

 

Get a reference to the dataset with given id.

Parameters:
  • iId (string) - Id of the dataset to retrieve.
Returns: DataSet

dataSetIds()

 

Returns a string list containing all dataset names in the data source. This includes dimensions and variables.

Returns: liststring

dataSets()

 

All datasets that belong to this source. This includes dimensions and variables.

Returns: listDataSet