@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,
Boolean directCache)
Deprecated.
directCache param will be deprecated after cache request graduate from experimental
|
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() |
boolean |
isDirectCache()
Deprecated.
directCache will be deprecated after cache request graduate from experimental
|
String |
toString() |
public static final String NAME
@Deprecated public LoadConfig(String filePath, Integer replication, Set<String> workerSet, Set<String> excludedWorkerSet, Set<String> localityIds, Set<String> excludedLocalityIds, Boolean directCache)
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 setdirectCache
- Use passive-cache or direct cache requestpublic String getFilePath()
public int getReplication()
public String getName()
public Collection<String> affectedPaths()
affectedPaths
in interface JobConfig
public Set<String> getExcludedLocalityIds()
@Deprecated public boolean isDirectCache()
Copyright © 2023. All Rights Reserved.