cascading.flow.stream
Class SpliceGate
java.lang.Object
cascading.flow.stream.Duct<Incoming,Outgoing>
cascading.flow.stream.Gate<TupleEntry,Grouping<TupleEntry,TupleEntryIterator>>
cascading.flow.stream.SpliceGate
- All Implemented Interfaces:
- Collapsing, ElementDuct
- Direct Known Subclasses:
- HadoopGroupGate, MemorySpliceGate
public abstract class SpliceGate
- extends Gate<TupleEntry,Grouping<TupleEntry,TupleEntryIterator>>
- implements ElementDuct, Collapsing
Fields inherited from class cascading.flow.stream.Duct |
next |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
orderedPrevious
protected Duct[] orderedPrevious
flowProcess
protected final FlowProcess flowProcess
role
protected SpliceGate.Role role
splice
protected final Splice splice
incomingScopes
protected final java.util.List<Scope> incomingScopes
outgoingScopes
protected final java.util.List<Scope> outgoingScopes
keyFields
protected Fields[] keyFields
sortFields
protected Fields[] sortFields
valuesFields
protected Fields[] valuesFields
grouping
protected Grouping<TupleEntry,TupleEntryIterator> grouping
tupleEntryIterator
protected TupleEntryChainIterator tupleEntryIterator
keyEntry
protected TupleEntry keyEntry
SpliceGate
public SpliceGate(FlowProcess flowProcess,
Splice splice)
SpliceGate
public SpliceGate(FlowProcess flowProcess,
Splice splice,
SpliceGate.Role role)
setBranchNames
public void setBranchNames(java.util.Set<java.lang.String> branchNames)
- Specified by:
setBranchNames
in interface ElementDuct
getBranchNames
public java.util.Set<java.lang.String> getBranchNames()
- Specified by:
getBranchNames
in interface ElementDuct
setTrapHandler
public void setTrapHandler(TrapHandler trapHandler)
- Specified by:
setTrapHandler
in interface ElementDuct
hasTrapHandler
public boolean hasTrapHandler()
- Specified by:
hasTrapHandler
in interface ElementDuct
handleReThrowableException
protected void handleReThrowableException(java.lang.String message,
java.lang.Throwable throwable)
handleException
protected void handleException(java.lang.Throwable exception,
TupleEntry tupleEntry)
initialize
public void initialize()
- Description copied from class:
Duct
- Called immediately after bind
- Overrides:
initialize
in class Duct<TupleEntry,Grouping<TupleEntry,TupleEntryIterator>>
getFlowElement
public FlowElement getFlowElement()
- Specified by:
getFlowElement
in interface ElementDuct
getOutgoingScopes
public java.util.List<Scope> getOutgoingScopes()
- Specified by:
getOutgoingScopes
in interface ElementDuct
getIncomingScopes
public java.util.List<Scope> getIncomingScopes()
- Specified by:
getIncomingScopes
in interface ElementDuct
addIncomingScope
public void addIncomingScope(Scope incomingScope)
- Specified by:
addIncomingScope
in interface ElementDuct
addOutgoingScope
public void addOutgoingScope(Scope outgoingScope)
- Specified by:
addOutgoingScope
in interface ElementDuct
cleanup
public void cleanup()
- Overrides:
cleanup
in class Duct<TupleEntry,Grouping<TupleEntry,TupleEntryIterator>>
orderDucts
protected void orderDucts(StreamGraph streamGraph)
makePosMap
protected void makePosMap(java.util.Map<Duct,java.lang.Integer> posMap)
equals
public final boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashCode
public final int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class Duct<TupleEntry,Grouping<TupleEntry,TupleEntryIterator>>
Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.