IBM InfoSphere Streams Version 4.1.1

Data type conversions from IBM InfoSphere Streams to IBM InfoSphere Data Explorer

SPL standard and specialized toolkits > com.ibm.streams.dataexplorer 2.0.0 > Data type conversions from IBM InfoSphere Streams to IBM InfoSphere Data Explorer

Conversions from IBM InfoSphere Streams to IBM InfoSphere Data Explorer data types occur in the DataExplorerPush operator at run time.

In particular, the following conversions occur between InfoSphere Streams data types and the data types that are supported by the BigIndex API:
  • int8, uint8, int16, uint16, int32, uint32, and int64 InfoSphere Streams data types are equivalent to the long BigIndex API data type.
  • float32 and float64 InfoSphere Streams data types are equivalent to the double BigIndex API data type.
  • timestamp InfoSphere Streams data type (assuming 1970 UNIX epoch) is equivalent to the date BigIndex API data type (with a loss of the nanosecond precision).
  • rstring (assuming that it uses UTF-8) and ustring InfoSphere Streams data types are equivalent to the text BigIndex API data type.

Restriction: The following SPL types are not supported by the DataExplorerPush operator: blob, boolean, complex, decimal, enum, list, map, set, uint64, and xml.

If any of the attributes in the input stream for the DataExplorerPush operator use unsupported data types and the suppress parameter:
  • Is specified and the problematic attribute is in the list, an error does not occur.
  • Is specified, but the problematic attribute is not in the list, then a run time error occurs.
  • Is not specified, then a compile time error occurs.