public class DataObjectSource<T> extends BaseSource
Constructor and Description |
---|
DataObjectSource() |
DataObjectSource(java.lang.String edgename,
java.lang.String dataDirectory) |
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)
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 DataObjectSource()
public DataObjectSource(java.lang.String edgename, java.lang.String dataDirectory)
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