本文整理汇总了TypeScript中@shared/test-data.service.TestDataService类的典型用法代码示例。如果您正苦于以下问题:TypeScript service.TestDataService类的具体用法?TypeScript service.TestDataService怎么用?TypeScript service.TestDataService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了service.TestDataService类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: getTeiidVdbStatuses
/**
* Get the vdbs from the komodo rest interface
* @returns {Observable<Vdb[]>}
*/
public getTeiidVdbStatuses(): Observable<VdbStatus[]> {
return Observable.of(this.testDataService.getVdbStatuses());
}
示例2: queryVdb
/**
* Query the vdb via the komodo rest interface
* @param {string} query the SQL query
* @param {string} vdbName the vdb name
* @param {number} limit the limit for the number of result rows
* @param {number} offset the offset for the result rows
* @returns {Observable<boolean>}
*/
public queryVdb(query: string, vdbName: string, limit: number, offset: number): Observable<any> {
return Observable.of(this.testDataService.getQueryResults());
}
示例3: getVdbs
/**
* Get the vdbs from the komodo rest interface
* @returns {Observable<Vdb[]>}
*/
public getVdbs(): Observable<Vdb[]> {
return Observable.of(this.testDataService.getVdbs());
}
示例4: getVirtualizations
public getVirtualizations(): Observable< Virtualization[] > {
return Observable.of( this.testDataService.getVirtualizations() );
}