当我使用Observable.fromArray
(基于此picture时应该有效)
double[] arr = new double[4];
arr[0] = 1;
arr[1] = 2;
arr[2] = 3;
arr[3] = 4;
// The type of element is double[] here for some reason
return Observable.fromArray(arr).map(element -> ...);
基本上Observable.fromArray(arr)
与Observable.just(arr)
的作用相同,为什么会这样(我想把1,2,3,4作为我的元素)?
答案 0 :(得分:1)
https://github.com/ReactiveX/RxJava/issues/3518:
use msdb
SELECT
[sJOB].[job_id] AS [JobID]
, [sJOB].[name] AS [JobName]
,step.step_name
,step.command
FROM
[msdb].[dbo].[sysjobs] AS [sJOB]
LEFT JOIN [msdb].dbo.sysjobsteps step ON sJOB.job_id = step.job_id
WHERE step.command LIKE '%MYTABLENAME%'
ORDER BY [JobName]