Package com.appliedolap.essbase.impl
Class EssDataSourceImpl
java.lang.Object
com.appliedolap.essbase.AbstractEssObject
com.appliedolap.essbase.impl.EssDataSourceImpl
- All Implemented Interfaces:
EssDataSource,EssObject
A data source object on the Essbase server, which seems to be a general abstraction for a tabular data
source, such as a SQL table, MDX result set, CSV file, and others.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.Type -
Field Summary
Fields inherited from class com.appliedolap.essbase.AbstractEssObject
apiFields inherited from interface com.appliedolap.essbase.EssDataSource
DELIMITER_SPACE, DELIMITER_TAB -
Constructor Summary
ConstructorsConstructorDescriptionEssDataSourceImpl(ApiContext api, EssServer server, com.appliedolap.essbase.client.model.Datasource datasource) -
Method Summary
-
Constructor Details
-
EssDataSourceImpl
public EssDataSourceImpl(ApiContext api, EssServer server, com.appliedolap.essbase.client.model.Datasource datasource)
-
-
Method Details
-
getName
Description copied from interface:EssDataSourceGets the name of this data source.- Specified by:
getNamein interfaceEssDataSource- Specified by:
getNamein interfaceEssObject- Returns:
- the data source name
-
getType
Description copied from interface:EssObjectGets the type of this object.- Specified by:
getTypein interfaceEssDataSource- Specified by:
getTypein interfaceEssObject- Returns:
- the object type
-
getColumns
Description copied from interface:EssDataSourceThe columns this data source exposes, in the order the server lists them.Fetches the data source in full the first time it is asked, because the listing does not carry columns -
GET /datasourcesanswers name, type and connection and nothing more, whileGET /datasources/{name}answers the whole thing.- Specified by:
getColumnsin interfaceEssDataSource- Returns:
- the columns, empty where the server reports none
-