public Builder workingPath(final String workingPath) { _getOp().setWorkingPath(workingPath); return _self(); } }
@Override public Builder inputMapperPairs(final Map<String, String> inputMapperPairs) { _getOp().setInputMapperPairs(inputMapperPairs); return _self(); }
public Builder numSplits(final Integer numSplits) { _getOp().setNumSplits(numSplits); return _self(); } }
default B reducers(final Integer numReduceTasks) { if (null != numReduceTasks && (null != _getOp().getMinReduceTasks() || null != _getOp().getMaxReduceTasks())) { throw new IllegalArgumentException("Invalid combination of fields. " + "Either provide the number of reducers to use or provide a min and max value."); } _getOp().setNumReduceTasks(numReduceTasks); return _self(); }
default B minMappers(final Integer minMapTasks) { if (null != minMapTasks && null != _getOp().getNumMapTasks()) { throw new IllegalArgumentException("Invalid combination of fields. " + "Either provide the number of mappers to use or provide a min and max value."); } _getOp().setMinMapTasks(minMapTasks); return _self(); }
default B minReducers(final Integer minReduceTasks) { if (null != minReduceTasks && null != _getOp().getNumReduceTasks()) { throw new IllegalArgumentException("Invalid combination of fields. " + "Either provide the number of reducers to use or provide a min and max value."); } _getOp().setMinReduceTasks(minReduceTasks); return _self(); }
@Override public Builder inputMapperPairs(final Map<String, String> inputMapperPairs) { _getOp().setInputMapperPairs(inputMapperPairs); return _self(); }
default B partitioner(final Class<? extends Partitioner> partitioner) { _getOp().setPartitioner(partitioner); return _self(); } }
default B inputMapperPairs(final Map<String, String> inputMapperPairs) { _getOp().setInputMapperPairs(inputMapperPairs); return _self(); }
default B addInputMapperPair(final String inputPath, final String mapperGeneratorClassName) { _getOp().addInputMapperPair(inputPath, mapperGeneratorClassName); return _self(); }
default B outputPath(final String outputPath) { _getOp().setOutputPath(outputPath); return _self(); }
public Builder validate(final boolean validate) { _getOp().setValidate(validate); return _self(); }
public Builder proportionToSample(final float proportionToSample) { _getOp().setProportionToSample(proportionToSample); return _self(); }
public Builder compressionCodec(final Class<? extends CompressionCodec> compressionCodec) { _getOp().setCompressionCodec(compressionCodec); return _self(); }
default B addInputMapperPairs(final Map<String, String> inputMapperPairs) { _getOp().addInputMapperPairs(inputMapperPairs); return _self(); }
default B splitsFilePath(final String splitsFile) { _getOp().setSplitsFilePath(splitsFile); return _self(); }
default B useProvidedSplits(final boolean useProvidedSplits) { _getOp().setUseProvidedSplits(useProvidedSplits); return _self(); }
public Builder failurePath(final String failurePath) { _getOp().setFailurePath(failurePath); return _self(); }
public Builder validate(final boolean validate) { _getOp().setValidate(validate); return _self(); }
default B jobInitialiser(final JobInitialiser jobInitialiser) { _getOp().setJobInitialiser(jobInitialiser); return _self(); }