Now that you have gotten a glimpse of how you can implement a data processing system using Cascading, let's dive into the internals of it. In this section, we will learn how to define and structure data streams for Cascading processing.
The idea of a tuple is very similar to that of a record in a database.
cascading.tuple.Tuple) provide storage for a vector or a collection of values, addressed by offset that can be associated with specific object types and names. A tuple can have data objects of different types. A series of tuples make a tuple stream. A simple example of a tuple is
[String name, Integer age]. A tuple has a large set of methods to get, set, append, ...