|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.org.ogsadai.activity.ActivityBase
uk.org.ogsadai.activity.MatchedIterativeActivity
uk.org.ogsadai.activity.transform.ByteArraysToTupleActivity
public class ByteArraysToTupleActivity
An activity that converts a binary tuple stream into OGSA-DAI tuples. The result is output as an OGSA-DAI list of tuples.
Activity inputs:
data. Type: OGSA-DAI list of byte[]. This is a
list of tuples rendered in an OGSA-DAI internal binary format to be converted
into tuples.
Activity outputs:
result Type: OGSA-DAI list of Tuple
with the first item in the list an instance of
MetadataWrapper containing a
TupleMetadata object.
Configuration parameters: none.
Activity input/output ordering: none.
Activity contracts: none.
Target data resource: none.
Behaviour:
| Field Summary |
|---|
| Fields inherited from class uk.org.ogsadai.activity.ActivityBase |
|---|
mContracts |
| Constructor Summary | |
|---|---|
ByteArraysToTupleActivity()
|
|
| Method Summary | |
|---|---|
protected ActivityInput[] |
getIterationInputs()
Gets the iteration inputs. |
protected void |
postprocess()
Performs any post-processing required after the iterative part of the activity processing has completed. |
protected void |
preprocess()
Performs any pre-processing required before the iterative part of the activity processing commences. |
protected void |
processIteration(java.lang.Object[] iterationData)
Performs an iteration of the activity processing. |
| Methods inherited from class uk.org.ogsadai.activity.MatchedIterativeActivity |
|---|
cleanUp, iterativeStageComplete, process |
| Methods inherited from class uk.org.ogsadai.activity.ActivityBase |
|---|
addInput, addOutput, close, closeDueToError, getActivityContracts, getActivityDescriptor, getInput, getInput, getInputs, getOutput, getOutput, getOutputs, hasInput, hasOutput, removeInput, setActivityDescriptor, toString, validateInput, validateInputs, validateOutput, validateOutputs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ByteArraysToTupleActivity()
| Method Detail |
|---|
protected ActivityInput[] getIterationInputs()
getIterationInputs in class MatchedIterativeActivityActivityInput objects
protected void preprocess()
throws ActivityUserException,
ActivityProcessingException,
ActivityTerminatedException
preprocess in class MatchedIterativeActivityActivityUserException - if the settings specified by the user prevent processing from
completing
ActivityProcessingException - if an internal error prevents processing from completing
ActivityTerminatedException - if activity processing is terminated at an intermediate
stage
protected void processIteration(java.lang.Object[] iterationData)
throws ActivityProcessingException,
ActivityTerminatedException,
ActivityUserException
processIteration in class MatchedIterativeActivityiterationData - the data from this iteration
ActivityProcessingException - if an internal error prevents processing from completing
ActivityTerminatedException - if activity processing is terminated at an intermediate stage
ActivityUserException - if the settings specified by the user prevent processing from
completing
protected void postprocess()
throws ActivityUserException,
ActivityProcessingException,
ActivityTerminatedException
postprocess in class MatchedIterativeActivityActivityUserException - if the settings specified by the user prevent processing from
completing
ActivityProcessingException - if an internal error prevents processing from completing
ActivityTerminatedException - if activity processing is terminated at an intermediate stage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||