All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.ytsaurus.client.request.ListJobsResult Maven / Gradle / Ivy

The newest version!
package tech.ytsaurus.client.request;

import java.util.List;
import java.util.stream.Collectors;

import tech.ytsaurus.rpcproxy.TRspListJobs;

public class ListJobsResult {
    private final List jobs;

    public ListJobsResult(TRspListJobs rsp) {
        this.jobs = rsp.getResult().getJobsList().stream().map(JobResult::new).collect(Collectors.toList());
    }

    public List getJobs() {
        return jobs;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy