@ThreadSafe public class LoadConfig extends Object implements PlanConfig
Constructor and Description |
---|
LoadConfig(String filePath,
Integer replication,
Set<String> workerSet,
Set<String> excludedWorkerSet,
Set<String> localityIds,
Set<String> excludedLocalityIds) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
affectedPaths() |
boolean |
equals(Object obj) |
Set<String> |
getExcludedLocalityIds() |
Set<String> |
getExcludedWorkerSet() |
String |
getFilePath() |
Set<String> |
getLocalityIds() |
String |
getName() |
int |
getReplication() |
Set<String> |
getWorkerSet() |
int |
hashCode() |
String |
toString() |
public static final String NAME
public LoadConfig(String filePath, Integer replication, Set<String> workerSet, Set<String> excludedWorkerSet, Set<String> localityIds, Set<String> excludedLocalityIds)
filePath
- the file pathreplication
- the number of workers to store each block on, defaults to 1workerSet
- the worker setexcludedWorkerSet
- the excluded worker setlocalityIds
- the locality identify setexcludedLocalityIds
- the excluded locality identify setpublic String getFilePath()
public int getReplication()
public String getName()
public Collection<String> affectedPaths()
affectedPaths
in interface JobConfig
Copyright © 2023. All Rights Reserved.