public class DataFileReplicatedReadSource extends BaseSource
Constructor and Description |
---|
DataFileReplicatedReadSource() |
DataFileReplicatedReadSource(java.lang.String edgename,
java.lang.String directory) |
DataFileReplicatedReadSource(java.lang.String edgename,
java.lang.String directory,
int dSize) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
It uses the LocalCompleteTextInputPartitioner to partition and read the whole file and
write those values into the respective task index values.
|
java.lang.String |
getDataDirectory() |
java.lang.String |
getEdgeName()
Getter property to set the edge name
|
void |
prepare(Config cfg,
TaskContext context)
Prepare the task to be executed
|
void |
setDataDirectory(java.lang.String dataDirectory) |
void |
setEdgeName(java.lang.String edgeName)
Setter property to set the edge name
|
public DataFileReplicatedReadSource(java.lang.String edgename, java.lang.String directory)
public DataFileReplicatedReadSource(java.lang.String edgename, java.lang.String directory, int dSize)
public DataFileReplicatedReadSource()
public java.lang.String getDataDirectory()
public void setDataDirectory(java.lang.String dataDirectory)
public java.lang.String getEdgeName()
public void setEdgeName(java.lang.String edgeName)
public void execute()
public void prepare(Config cfg, TaskContext context)
INode