This project has retired. For details please refer to its
Attic page.
DoNode (Apache Crunch 0.3.0-incubating API)
org.apache.crunch.impl.mr.plan
Class DoNode
java.lang.Object
org.apache.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 The Apache Software Foundation. All Rights Reserved.