|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcascading.pipe.Pipe
cascading.pipe.SubAssembly
public abstract class SubAssembly
Subclasses of SubAssembly encapsulate complex assemblies of Pipes so they my be reused in the same manner
a Pipe is used.
setTails(Pipe[]).
| Field Summary |
|---|
| Fields inherited from class cascading.pipe.Pipe |
|---|
previous |
| Constructor Summary | |
|---|---|
SubAssembly()
|
|
| Method Summary | |
|---|---|
String |
getName()
Get the name of this pipe. |
Pipe[] |
getPrevious()
Get all the upstream pipes this pipe is connected to. |
String[] |
getTailNames()
Method getTailNames returns the tailNames of this PipeAssembly object. |
Pipe[] |
getTails()
Method getTails returns all the tails of this PipeAssembly object. |
protected void |
setTails(Pipe... tails)
Must be called by subclasses to set the final end points of the assembly the subclass represents. |
static Pipe[] |
unwind(Pipe... tails)
Is responsible for unwinding nested PipeAssembly instances. |
| Methods inherited from class cascading.pipe.Pipe |
|---|
equals, getHeads, getTrace, hashCode, outgoingScopeFor, pipes, print, printInternal, resolveFields, resolveIncomingOperationFields, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubAssembly()
| Method Detail |
|---|
protected void setTails(Pipe... tails)
tails - of type Pipepublic Pipe[] getTails()
setTails(Pipe[]).
public String[] getTailNames()
public String getName()
Pipe
getName in class Pipepublic Pipe[] getPrevious()
Pipe
getPrevious in class Pipepublic static Pipe[] unwind(Pipe... tails)
tails - of type Pipe[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||