Methods
clearCache
- clearCache(): Promise<void>
Returns Promise<void>
createEntity
- createEntity(name, columns, data?): Observable<string>
Parameters
name: string
columns: any
Optional
data: any
Returns Observable<string>
discoverDBTables
- discoverDBTables(): Observable<DBTable[]>
Returns Observable<DBTable[]>
discoverMDCubes
- discoverMDCubes(refresh?): Observable<MDCube[]>
Parameters
Optional
refresh: boolean
Returns Observable<MDCube[]>
dropEntity
- dropEntity(name): Promise<void>
Returns Promise<void>
getEntitySets
- getEntitySets(refresh?): Observable<EntitySet[]>
Parameters
Optional
refresh: boolean
Returns Observable<EntitySet[]>
getIndicator
- getIndicator(id, entity?): Indicator
Parameters
id: string
Optional
entity: string
onDestroy
- onDestroy(): void
Returns void
query
- query(options): Observable<any>
Parameters
options: {
statement: string;
}
Returns Observable<any>
selectEntitySet
- selectEntitySet(entity): Observable<Error | EntitySet>
Returns Observable<Error | EntitySet>
selectEntitySets
- selectEntitySets(refresh?): Observable<EntitySet[]>
Parameters
Optional
refresh: boolean
Returns Observable<EntitySet[]>
selectSchema
- selectSchema(): Observable<Schema>
Returns Observable<Schema>
setEntityType
- setEntityType(entityType): void
Returns void
setSchema
- setSchema(schema): void
Returns void
updateCube
- updateCube(cube): void
Returns void
数据源的抽象接口