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.

ExceptionGeneration condition
NullPointerException
  • null is specified for the parameter.
  • A StreamTuple type object containing null was specified in the data object array.
SDPClientCommunicationExceptionA communication exception occurred during RMI connection.
SDPClientException
  • The data type of the tuple element is different from the stream definition.
  • The input stream was already closed.
SDPClientFreeInputQueueSizeLackExceptionThere is not enough free space in the input stream queue (in this case, the tuple is not loaded into the input stream queue).
SDPClientFreeInputQueueSizeThresholdOverExceptionThe 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).
SDPClientQueryGroupHoldExceptionThe query group is held.
SDPClientQueryGroupNotExistExceptionThe query group was deleted.
SDPClientQueryGroupStateExceptionThe query group is not being executed.
SDPClientQueryGroupStopExceptionThe query group is stopped.

Return value

None.