{"action":"created","issue":{"url":"https://api.github.com/repos/houyouliang/mapreduce/issues/1","repository_url":"https://api.github.com/repos/houyouliang/mapreduce","labels_url":"https://api.github.com/repos/houyouliang/mapreduce/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/houyouliang/mapreduce/issues/1/comments","events_url":"https://api.github.com/repos/houyouliang/mapreduce/issues/1/events","html_url":"https://github.com/houyouliang/mapreduce/issues/1","id":299242213,"number":1,"title":"Input","user":{"login":"houyouliang","id":3303790,"avatar_url":"https://avatars0.githubusercontent.com/u/3303790?v=4","gravatar_id":"","url":"https://api.github.com/users/houyouliang","html_url":"https://github.com/houyouliang","followers_url":"https://api.github.com/users/houyouliang/followers","following_url":"https://api.github.com/users/houyouliang/following{/other_user}","gists_url":"https://api.github.com/users/houyouliang/gists{/gist_id}","starred_url":"https://api.github.com/users/houyouliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houyouliang/subscriptions","organizations_url":"https://api.github.com/users/houyouliang/orgs","repos_url":"https://api.github.com/users/houyouliang/repos","events_url":"https://api.github.com/users/houyouliang/events{/privacy}","received_events_url":"https://api.github.com/users/houyouliang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-22T07:00:42Z","updated_at":"2018-02-22T07:01:26Z","closed_at":null,"author_association":"OWNER","body":"public interface Input<T> {\r\n    /**\r\n     * 判断是否可直接进行计算\r\n     *\r\n     * @return\r\n     */\r\n    boolean shouldBeComputedDirectly();\r\n\r\n    /**\r\n     * Performs the computation for this entity directly (i.e., the map phase of the job) and\r\n     * returns the output object carrying the result for this entity.\r\n     *\r\n     * @return the output object returned by the computation\r\n     */\r\n    Output<T> computeDirectly();\r\n\r\n    /**\r\n     * 任务分拆\r\n     *\r\n     * @return\r\n     */\r\n    List<MapReduceTask<T>> split();\r\n}"},"comment":{"url":"https://api.github.com/repos/houyouliang/mapreduce/issues/comments/367586247","html_url":"https://github.com/houyouliang/mapreduce/issues/1#issuecomment-367586247","issue_url":"https://api.github.com/repos/houyouliang/mapreduce/issues/1","id":367586247,"user":{"login":"houyouliang","id":3303790,"avatar_url":"https://avatars0.githubusercontent.com/u/3303790?v=4","gravatar_id":"","url":"https://api.github.com/users/houyouliang","html_url":"https://github.com/houyouliang","followers_url":"https://api.github.com/users/houyouliang/followers","following_url":"https://api.github.com/users/houyouliang/following{/other_user}","gists_url":"https://api.github.com/users/houyouliang/gists{/gist_id}","starred_url":"https://api.github.com/users/houyouliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houyouliang/subscriptions","organizations_url":"https://api.github.com/users/houyouliang/orgs","repos_url":"https://api.github.com/users/houyouliang/repos","events_url":"https://api.github.com/users/houyouliang/events{/privacy}","received_events_url":"https://api.github.com/users/houyouliang/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T07:01:26Z","updated_at":"2018-02-22T07:01:26Z","author_association":"OWNER","body":"public interface Output<T> {\r\n\r\n    /**\r\n     * 结果汇总\r\n     *\r\n     * @param other\r\n     * @return\r\n     */\r\n    Output<T> reduce(Output<T> other);\r\n\r\n    /**\r\n     * Provides the actual result associated with this output entity.\r\n     *\r\n     * @return the actual result of the computation\r\n     */\r\n    T getResult();\r\n}\r\n"}}
{"actor":{"display_login":"houyouliang"}}