public class MapReduceSpecification extends AbstractProgramSpecification implements PropertyProvider
Constructor and Description |
---|
MapReduceSpecification(String className,
String name,
String description,
String inputDataSet,
String outputDataSet,
Set<String> dataSets,
Map<String,String> properties,
Resources driverResources,
Resources mapperResources,
Resources reducerResources,
Map<String,Plugin> plugins) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getDataSets() |
Resources |
getDriverResources() |
String |
getInputDataSet() |
Resources |
getMapperResources() |
String |
getOutputDataSet() |
Map<String,String> |
getProperties()
Returns an immutable Map of all properties.
|
String |
getProperty(String key)
Return the property value of a given key.
|
Resources |
getReducerResources() |
getClassName, getDescription, getName, getPlugins
public MapReduceSpecification(String className, String name, String description, String inputDataSet, String outputDataSet, Set<String> dataSets, Map<String,String> properties, @Nullable Resources driverResources, @Nullable Resources mapperResources, @Nullable Resources reducerResources, Map<String,Plugin> plugins)
public Map<String,String> getProperties()
PropertyProvider
getProperties
in interface PropertyProvider
public String getProperty(String key)
PropertyProvider
getProperty
in interface PropertyProvider
key
- for getting specific property value.null
if not such key exists.@Nullable public String getOutputDataSet()
null
if no dataset
is used as output destination@Nullable public String getInputDataSet()
null
if
no dataset is used as the input source.@Nullable public Resources getDriverResources()
null
if not specified.@Nullable public Resources getMapperResources()
null
if not specified.Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.