Working with Tuples in Java

An example that demonstrates how to create and modify tuples in Java.

Name

Example_08_ExploringTuples

Description

This example presents methods for creating and manipulating tuples (data rows).

Notable Classes and Methods

Tuple

tuple.getTimestamp()

tuple.getValues()

tuple.getValuesWithTimestamp

tuple.getValuesAsStrings()

tuple.getValuesAsStringsWithTimestamp

MessageFactory mf.newTuple

Related Information

For more information about tuples, see Data Streams and Messages.