|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.pipe.Pipe
cascading.pipe.Operator
public abstract class Operator
An Operator is a type of Pipe
. Operators pass specified arguments to a given BaseOperation
.
Field Summary | |
---|---|
protected Fields |
argumentSelector
Field argumentSelector |
protected Operation |
operation
Field operation |
protected Fields |
outputSelector
Field outputSelector |
protected PlannerLevel |
plannerLevel
Field assertionLevel |
Fields inherited from class cascading.pipe.Pipe |
---|
configDef, name, parent, previous, stepConfigDef |
Constructor Summary | |
---|---|
protected |
Operator(Operation operation)
|
protected |
Operator(Pipe previous,
Fields argumentSelector,
Operation operation)
|
protected |
Operator(Pipe previous,
Fields argumentSelector,
Operation operation,
Fields outputSelector)
|
protected |
Operator(Pipe previous,
Fields argumentSelector,
PlannerLevel plannerLevel,
PlannedOperation operation,
Fields outputSelector)
|
protected |
Operator(Pipe previous,
Operation operation)
|
protected |
Operator(Pipe previous,
Operation operation,
Fields outputSelector)
|
protected |
Operator(Pipe previous,
PlannerLevel plannerLevel,
PlannedOperation operation,
Fields outputSelector)
|
protected |
Operator(String name,
Fields argumentSelector,
Operation operation)
|
protected |
Operator(String name,
Fields argumentSelector,
Operation operation,
Fields outputSelector)
|
protected |
Operator(String name,
Fields argumentSelector,
PlannerLevel plannerLevel,
PlannedOperation operation,
Fields outputSelector)
|
protected |
Operator(String name,
Operation operation)
|
protected |
Operator(String name,
Operation operation,
Fields outputSelector)
|
protected |
Operator(String name,
PlannerLevel plannerLevel,
PlannedOperation operation,
Fields outputSelector)
|
Method Summary | |
---|---|
boolean |
equals(Object object)
|
Fields |
getArgumentSelector()
Method getArgumentSelector returns the argumentSelector of this Operator object. |
AssertionLevel |
getAssertionLevel()
Deprecated. |
Fields |
getFieldDeclaration()
Method getFieldDeclaration returns the fieldDeclaration of this Operator object. |
Operation |
getOperation()
Method getOperation returns the operation managed by this Operator object. |
Fields |
getOutputSelector()
Method getOutputSelector returns the outputSelector of this Operator object. |
PlannerLevel |
getPlannerLevel()
Method getPlannerLevel returns the plannerLevel of this Operator object. |
int |
hashCode()
|
boolean |
hasPlannerLevel()
Method hasPlannerLevel returns true if this Operator object holds a PlannedOperation object with an associated
PlannerLevel level. |
boolean |
isEquivalentTo(FlowElement element)
|
abstract Scope |
outgoingScopeFor(Set<Scope> incomingScopes)
Method outgoingScopeFor returns the Scope this FlowElement hands off to the next FlowElement. |
protected void |
printInternal(StringBuffer buffer,
Scope scope)
|
protected Fields |
resolveRemainderFields(Set<Scope> incomingScopes,
Fields argumentFields)
|
String |
toString()
|
protected void |
verifyOperation()
|
Methods inherited from class cascading.pipe.Pipe |
---|
getConfigDef, getHeads, getName, getParent, getPrevious, getStepConfigDef, getTrace, hasConfigDef, hasStepConfigDef, id, named, names, pipes, print, resolveIncomingOperationArgumentFields, resolveIncomingOperationPassThroughFields, setParent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Operation operation
protected Fields argumentSelector
protected Fields outputSelector
protected PlannerLevel plannerLevel
Constructor Detail |
---|
protected Operator(Operation operation)
protected Operator(String name, Operation operation)
protected Operator(String name, Operation operation, Fields outputSelector)
protected Operator(String name, Fields argumentSelector, Operation operation)
protected Operator(String name, Fields argumentSelector, Operation operation, Fields outputSelector)
protected Operator(Pipe previous, Operation operation)
protected Operator(Pipe previous, Fields argumentSelector, Operation operation)
protected Operator(Pipe previous, Fields argumentSelector, Operation operation, Fields outputSelector)
protected Operator(Pipe previous, Operation operation, Fields outputSelector)
protected Operator(String name, PlannerLevel plannerLevel, PlannedOperation operation, Fields outputSelector)
protected Operator(String name, Fields argumentSelector, PlannerLevel plannerLevel, PlannedOperation operation, Fields outputSelector)
protected Operator(Pipe previous, PlannerLevel plannerLevel, PlannedOperation operation, Fields outputSelector)
protected Operator(Pipe previous, Fields argumentSelector, PlannerLevel plannerLevel, PlannedOperation operation, Fields outputSelector)
Method Detail |
---|
protected void verifyOperation()
public Operation getOperation()
public Fields getArgumentSelector()
public Fields getFieldDeclaration()
public Fields getOutputSelector()
@Deprecated public AssertionLevel getAssertionLevel()
Operation
is an Assertion
.
public PlannerLevel getPlannerLevel()
public boolean hasPlannerLevel()
PlannedOperation
object with an associated
PlannerLevel
level.
protected Fields resolveRemainderFields(Set<Scope> incomingScopes, Fields argumentFields)
public abstract Scope outgoingScopeFor(Set<Scope> incomingScopes)
FlowElement
outgoingScopeFor
in interface FlowElement
outgoingScopeFor
in class Pipe
incomingScopes
- of type Setpublic String toString()
toString
in class Pipe
protected void printInternal(StringBuffer buffer, Scope scope)
printInternal
in class Pipe
public boolean isEquivalentTo(FlowElement element)
isEquivalentTo
in interface FlowElement
isEquivalentTo
in class Pipe
public boolean equals(Object object)
equals
in class Pipe
public int hashCode()
hashCode
in class Pipe
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |