@ThreadSafe public class LoadConfig extends java.lang.Object implements PlanConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
LoadConfig(java.lang.String filePath,
java.lang.Integer replication,
java.util.Set<java.lang.String> workerSet,
java.util.Set<java.lang.String> excludedWorkerSet,
java.util.Set<java.lang.String> localityIds,
java.util.Set<java.lang.String> excludedLocalityIds,
java.lang.Boolean directCache)
Deprecated.
directCache param will be deprecated after cache request graduate from experimental
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
affectedPaths() |
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.String> |
getExcludedLocalityIds() |
java.util.Set<java.lang.String> |
getExcludedWorkerSet() |
java.lang.String |
getFilePath() |
java.util.Set<java.lang.String> |
getLocalityIds() |
java.lang.String |
getName() |
int |
getReplication() |
java.util.Set<java.lang.String> |
getWorkerSet() |
int |
hashCode() |
boolean |
isDirectCache()
Deprecated.
directCache will be deprecated after cache request graduate from experimental
|
java.lang.String |
toString() |
public static final java.lang.String NAME
@Deprecated
public LoadConfig(java.lang.String filePath,
java.lang.Integer replication,
java.util.Set<java.lang.String> workerSet,
java.util.Set<java.lang.String> excludedWorkerSet,
java.util.Set<java.lang.String> localityIds,
java.util.Set<java.lang.String> excludedLocalityIds,
java.lang.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 java.lang.String getFilePath()
public int getReplication()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public java.util.Collection<java.lang.String> affectedPaths()
affectedPaths in interface JobConfigpublic java.util.Set<java.lang.String> getWorkerSet()
public java.util.Set<java.lang.String> getExcludedWorkerSet()
public java.util.Set<java.lang.String> getLocalityIds()
public java.util.Set<java.lang.String> getExcludedLocalityIds()
@Deprecated public boolean isDirectCache()
Copyright © 2022. All Rights Reserved.