class CollateJob extends BaseJob<List<SegmentKey>, List<String>> {

    @Override
    public List<SegmentKey> call() throws Exception {
        CollateService collateService = SwiftContext.get().getBean(CollateService.class);
        return collateService.appointCollate(tableKey, segmentService.getSegmentKeysByIds(tableKey, segmentIds));
    }

    public  CollateJob(SourceKey tableKey, List<String> segmentIds);

}