|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistributableDataSource
DataSources whose DataElements are able to be distributed in workers.| Method Summary | |
|---|---|
DataElement |
getDataElement(String dataElementID)
Returns a DataElement instance from its id. |
String |
getNextDataElementID()
Returns the next DataElement id which will be send to the worker. |
boolean |
hasNext()
Returns true if there is another DataElement id available. |
void |
initializeDistributableDataSource(String input,
Parameter[] inputParameters)
Initializes the DistributableDataSource. |
| Method Detail |
|---|
DataElement getDataElement(String dataElementID)
throws Exception
DataElement instance from its id.
dataElementID - The id of the DataElement.
DataElement instance.
Exception - If an error occurred in getting the DataElement.
String getNextDataElementID()
throws Exception
DataElement id which will be send to the worker.
Exception - If the DistributableDataSource did not manage to get another data element id.boolean hasNext()
DataElement id available.
DataElement id available.
void initializeDistributableDataSource(String input,
Parameter[] inputParameters)
throws Exception
input - The input of the DistributableDataSourceinputParameters - Any input parameters required by the DistributableDataSource.
Exception - If the DistributableDataSource could not be initialized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||