本文整理匯總了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() );
}