com.cloudera.crunch.impl.mr.plan
Class DoNode
java.lang.Object
com.cloudera.crunch.impl.mr.plan.DoNode
public class DoNode
- extends Object
createGroupingNode
public static <K,V> DoNode createGroupingNode(String name,
PGroupedTableType<K,V> ptype)
createOutputNode
public static <S> DoNode createOutputNode(String name,
PType<S> ptype)
createFnNode
public static DoNode createFnNode(String name,
DoFn<?,?> function,
PType<?> ptype)
createInputNode
public static <S> DoNode createInputNode(Source<S> source)
isInputNode
public boolean isInputNode()
isOutputNode
public boolean isOutputNode()
getName
public String getName()
getChildren
public List<DoNode> getChildren()
getSource
public Source getSource()
getPType
public PType getPType()
addChild
public DoNode addChild(DoNode node)
setOutputName
public void setOutputName(String outputName)
toRTNode
public RTNode toRTNode(boolean inputNode,
org.apache.hadoop.conf.Configuration conf,
NodeContext nodeContext)
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2012. All Rights Reserved.