List < HivePartitionDataset > function ( List < HivePartitionDataset > arg0 ) { Collections . sort ( arg0 , new Comparator < HivePartitionDataset > ( ) { @ Override public int compare ( HivePartitionDataset arg1 , HivePartitionDataset arg2 ) { return arg1 . datasetURN ( ) . compareTo ( arg2 . datasetURN ( ) ) ; } } ) ; return arg0 ; }
sort all hivedatasets on the basis of complete name ie dbname.tablename concode_field_sep Map<String,WorkUnit> workUnitMap concode_elem_sep int maxWorkUnits concode_elem_sep String lowWatermark concode_elem_sep int workUnitsCreatedCount concode_elem_sep EventSubmitter eventSubmitter concode_elem_sep String timeStamp concode_elem_sep List<HivePartitionDataset> datasets concode_elem_sep boolean shouldProxy concode_elem_sep MetricContext metricContext concode_elem_sep DatasetsFinder datasetFinder concode_elem_sep int executionCount concode_elem_sep int maxWorkUnitExecutionAttempts concode_elem_sep PurgePolicy policy concode_field_sep boolean workUnitsExceeded concode_elem_sep void submitWorkUnitGeneratedEvent concode_elem_sep void setLowWatermark concode_elem_sep Optional<WorkUnit> createNewWorkUnit concode_elem_sep WorkUnit createNewWorkUnit concode_elem_sep WorkUnit createNewWorkUnit concode_elem_sep void setJobWatermark concode_elem_sep void setExecutionCount concode_elem_sep List<WorkUnit> getWorkunits concode_elem_sep void createWorkunitsFromPreviousState concode_elem_sep String getWatermarkFromPreviousWorkUnits concode_elem_sep String getLowWatermark concode_elem_sep void populateDatasets concode_elem_sep void setTimeStamp concode_elem_sep Extractor getExtractor concode_elem_sep void initialize concode_elem_sep void createWorkUnits concode_elem_sep void shutdown concode_elem_sep void submitCycleCompletionEvent