The cascading.pipe.assembly.Retain
SubAssembly is used to shape the Tuple stream by retaining all fields
given on the constructor. All fields not listed are discarded.
Example 9.8. Using Retain
// incoming -> first, last, age
assembly = new Retain( assembly, new Fields( "first", "last" ) );
// outgoing -> first, last
Copyright © 2007-2012 Concurrent, Inc. All Rights Reserved.