put(StreamTuple tuple) method
Format
void put(StreamTuple tuple)
Explanation
Sends a single tuple.
Parameters
tuple
Specifies the tuple to be sent (StreamTuple type object).
Exceptions
The following table shows the exceptions and the conditions for their generation.
Exception | Generation condition |
---|---|
NullPointerException |
|
SDPClientCommunicationException | A communication exception occurred during RMI connection. |
SDPClientException |
|
SDPClientFreeInputQueueSizeLackException | There is not enough free space in the input stream queue (in this case, the tuple is not loaded into the input stream queue). |
SDPClientFreeInputQueueSizeThresholdOverException | The amount of free space in the input stream queue has fallen to or below the threshold specified in the stream.freeInputQueueSizeThreshold parameter (in this case, the tuple is loaded into the input stream queue). |
SDPClientQueryGroupHoldException | The query group is held. |
SDPClientQueryGroupNotExistException | The query group was deleted. |
SDPClientQueryGroupStateException | The query group is not being executed. |
SDPClientQueryGroupStopException | The query group is stopped. |
Return value
None.