public class Rename extends SubAssembly
SubAssembly
that will rename the fromFields to the names in toFields.
Note that if any input field names are not given, they will retain their names.
configDef, name, nodeConfigDef, parent, stepConfigDef
Constructor and Description |
---|
Rename(Pipe previous,
Fields fromFields,
Fields toFields)
Rename the fromFields in the current Tuple to the given toFields.
|
getName, getPrevious, getTailNames, getTails, setPrevious, setTails, unwind
equals, getConfigDef, getHeads, getNodeConfigDef, getParent, getStepConfigDef, getTrace, hasConfigDef, hashCode, hasNodeConfigDef, hasStepConfigDef, id, named, names, outgoingScopeFor, pipes, print, printInternal, resolveIncomingOperationArgumentFields, resolveIncomingOperationPassThroughFields, setParent, toString
@ConstructorProperties(value={"previous","fromFields","toFields"}) public Rename(Pipe previous, Fields fromFields, Fields toFields)
incoming: {"first", "middle", "last"} -> from:{"middle"} to:{"initial"} -> outgoing:{"first", "last", "initial"}
previous
- of type PipefromFields
- of type FieldstoFields
- of type FieldsCopyright © 2007-2017 Cascading Maintainers. All Rights Reserved.