Class: DataSource

DataSource

<private> new DataSource(properties)

The data source of a query that is a view in SAP HANA. Use sap.bc.ina.api.sina.sinabase.Sina createDataSource() factory instead of this constructor.
Parameters:
Name Type Description
properties Object
Properties
Name Type Argument Default Description
schemaName String <optional>
_SYS_BIC The schema of the view to be used.
packageName String The package name of the view to be used.
objectName String The object name if the view to be used.
Source:
Examples

Properties object for a view which resides in the 'SYSTEM' schema and has the name 'J_EPM_PRODUCT'

{ schemaName  : 'SYSTEM',
  objectName  : 'J_EPM_PRODUCT' }

Properties object for a view which resides in the repository in package 'sap.bc.ina.demos.epm.views'

{ packageName : 'sap.bc.ina.demos.epm.views',
  objectName  : 'V_EPM_PRODUCT' }

Extends

Methods

equals(the) → {boolean}

Compares this datasource with another datasource.
Parameters:
Name Type Description
the sap.bc.ina.api.sina.impl.inav2.filter.DataSource other datasource to be compared against this datasource.
Source:
Returns:
true if they are equal, false otherwise
Type
boolean

getObjectName() → {String}

Returns the object name for this data source.
Since:
  • SAP HANA SPS 06
Source:
Returns:
The object name for this data source.
Type
String

getPackageName() → {String}

Returns the package name for this data source.
Since:
  • SAP HANA SPS 06
Source:
Returns:
The package name for this data source.
Type
String

getSchemaName() → {String}

Returns the schema name for this data source.
Since:
  • SAP HANA SPS 06
Source:
Returns:
The schema name for this data source.
Type
String

setObjectName(objectName)

Sets the object name for this data source.
Parameters:
Name Type Description
objectName String The new object name.
Since:
  • SAP HANA SPS 06
Source:

setPackageName(packageName)

Sets the package name for this data source.
Parameters:
Name Type Description
packageName String The new package name.
Since:
  • SAP HANA SPS 06
Source:

setSchemaName(schemaName)

Sets the schema name for this data source.
Parameters:
Name Type Description
schemaName String The new schemaName.
Since:
  • SAP HANA SPS 06
Source: