uCosminexus Stream Data Platform - Application Framework Application Development Guide

[Contents][Index][Back][Next]

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
  • null is specified for the parameter.
  • A StreamTuple type object containing null was specified in the data object array.
SDPClientCommunicationException A 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.
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.