cascading.pattern.ensemble.function
Class InsertGUID

java.lang.Object
  extended by cascading.pipe.Pipe
      extended by cascading.pipe.SubAssembly
          extended by cascading.pattern.ensemble.function.InsertGUID
All Implemented Interfaces:
FlowElement, cascading.util.Traceable, Serializable

public class InsertGUID
extends SubAssembly

Class InsertGUID creates a globally unique ID by calling UUID.randomUUID().

This Function also returns false for Operation.isSafe(), preventing duplicate ids from being generated for the same record.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cascading.pipe.Pipe
configDef, name, parent, stepConfigDef
 
Constructor Summary
InsertGUID(Pipe previous, Fields declaredFields)
           
 
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

InsertGUID

public InsertGUID(Pipe previous,
                  Fields declaredFields)


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