public class DataFileSplittedReadSource<T> extends BaseSource
Constructor and Description |
---|
DataFileSplittedReadSource(java.lang.String edgename) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
This method get the partitioned datapoints using the task index and write those values using
the respective edge name.
|
java.lang.String |
getDataDirectory() |
java.lang.String |
getEdgeName()
Getter property to set the edge name
|
void |
prepare(Config cfg,
TaskContext context)
Retrieve the data input directory using the DataObjectConstants and the config file.
|
void |
setDataDirectory(java.lang.String dataDirectory) |
void |
setEdgeName(java.lang.String edgeName)
Setter property to set the edge name
|
public DataFileSplittedReadSource(java.lang.String edgename)
public java.lang.String getDataDirectory()
public void setDataDirectory(java.lang.String dataDirectory)
public java.lang.String getEdgeName()
public void setEdgeName(java.lang.String edgeName)
edgeName
- public void execute()