cascading.pipe.assembly
Class Discard

java.lang.Object
  extended by cascading.pipe.Pipe
      extended by cascading.pipe.SubAssembly
          extended by cascading.pipe.assembly.Discard
All Implemented Interfaces:
FlowElement, Traceable, Serializable

public class Discard
extends SubAssembly

Class Discard is a SubAssembly that will retain all incoming fields except those given on the constructor.

Use this pipe to narrow a stream of tuples, removing unused data.

See Also:
Retain, Serialized Form

Field Summary
 
Fields inherited from class cascading.pipe.Pipe
configDef, name, parent, stepConfigDef
 
Constructor Summary
Discard(Pipe previous, Fields discardFields)
           
 
Method Summary
 
Methods inherited from class cascading.pipe.SubAssembly
getName, getPrevious, getTailNames, getTails, setPrevious, setTails, unwind
 
Methods inherited from class cascading.pipe.Pipe
equals, getConfigDef, getHeads, getParent, getStepConfigDef, getTrace, hasConfigDef, hashCode, hasStepConfigDef, id, isEquivalentTo, named, names, outgoingScopeFor, pipes, print, printInternal, resolveIncomingOperationArgumentFields, resolveIncomingOperationPassThroughFields, setParent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Discard

@ConstructorProperties(value={"previous","discardFields"})
public Discard(Pipe previous,
                                          Fields discardFields)


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.