@ThreadSafe public class LoadCliConfig extends Object implements CliConfig
Constructor and Description |
---|
LoadCliConfig(String filePath,
Integer batchSize,
Integer replication,
Set<String> workerSet,
Set<String> excludedWorkerSet,
Set<String> localityIds,
Set<String> excludedLocalityIds,
boolean directCache) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
affectedPaths() |
boolean |
equals(Object obj) |
int |
getBatchSize()
Get batch size.
|
boolean |
getDirectCache()
Use direct cache or not.
|
Set<String> |
getExcludedLocalityIds() |
Set<String> |
getExcludedWorkerSet() |
String |
getFilePath() |
JobSource |
getJobSource() |
Set<String> |
getLocalityIds() |
String |
getName() |
OperationType |
getOperationType() |
int |
getReplication() |
Set<String> |
getWorkerSet() |
int |
hashCode() |
String |
toString() |
public static final String NAME
public LoadCliConfig(String filePath, Integer batchSize, Integer replication, Set<String> workerSet, Set<String> excludedWorkerSet, Set<String> localityIds, Set<String> excludedLocalityIds, boolean directCache)
filePath
- the file pathbatchSize
- the batch sizereplication
- 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
- direct cachepublic String getName()
public JobSource getJobSource()
getJobSource
in interface CmdConfig
public OperationType getOperationType()
getOperationType
in interface CmdConfig
public Collection<String> affectedPaths()
affectedPaths
in interface CmdConfig
public String getFilePath()
public int getReplication()
public Set<String> getExcludedLocalityIds()
public int getBatchSize()
public boolean getDirectCache()
Copyright © 2023. All Rights Reserved.