Package alluxio.job.plan.load
Class LoadConfig
- java.lang.Object
-
- alluxio.job.plan.load.LoadConfig
-
- All Implemented Interfaces:
JobConfig,PlanConfig,java.io.Serializable
@ThreadSafe public class LoadConfig extends java.lang.Object implements PlanConfig
The configuration of loading a file.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description LoadConfig(java.lang.String filePath, java.lang.Integer replication)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>affectedPaths()booleanequals(java.lang.Object obj)java.lang.StringgetFilePath()java.lang.StringgetName()intgetReplication()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilePath
public java.lang.String getFilePath()
- Returns:
- the file path
-
getReplication
public int getReplication()
- Returns:
- the number of workers to store each block on
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getName
public java.lang.String getName()
-
affectedPaths
public java.util.Collection<java.lang.String> affectedPaths()
- Specified by:
affectedPathsin interfaceJobConfig- Returns:
- list of affected paths
-
-