|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.transform.BlockAggregator
This activity aggregates sequences of blocks together to form larger blocks. It can be chained between two activities, such as an SQLQuery and an OutputStream, in order to condense a large number of small blocks generated by a certain SQL query into a smaller number of larger blocks for more optimial delivery from the output stream.
| Constructor Summary | |
BlockAggregator(ActivityOutput input)
Constructs an activity to perform an aggregation of the blocks generated by the output of another activity. |
|
BlockAggregator(ActivityOutput input,
int blockSize)
Constructs a request to perform an aggregation of the blocks generated by the output of another activity. |
|
| Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
ActivityOutput |
getOutput()
Gets the activity's only output. |
void |
setBlockSize(int blockSize)
Sets the number of blocks to aggregate together into each larger block. |
void |
setInput(ActivityOutput input)
Sets the name of the output that will provide the input to this activity. |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getDataServiceStub, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setDataServiceStub, setInput |
| Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlockAggregator(ActivityOutput input)
input - output from another activity
public BlockAggregator(ActivityOutput input,
int blockSize)
input - output from another activityblockSize - the number of blocks to aggregate together into each
larger block.| Method Detail |
public ActivityOutput getOutput()
public final void setInput(ActivityOutput input)
input - output from another activity
java.lang.IllegalArgumentException - if the argument is nullpublic final void setBlockSize(int blockSize)
blockSize - the number of blocksprotected java.lang.String generateXML()
RequestComponent
generateXML in class Activity
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||