gr.uoa.di.madgik.hive.plan
Class OperatorNode

java.lang.Object
  extended by gr.uoa.di.madgik.hive.plan.PlanNode
      extended by gr.uoa.di.madgik.hive.plan.OperatorNode

public class OperatorNode
extends PlanNode

Represents an operator node of the plan that will be the input to the workflow layer

Author:
john.gerbesiotis - DI NKUA

Field Summary
 
Fields inherited from class gr.uoa.di.madgik.hive.plan.PlanNode
functionalArgs
 
Constructor Summary
OperatorNode(Functionality functionality, HashMap<String,String> functionalArgs, ArrayList<PlanNode> children)
          Default Constructor
OperatorNode(OperatorNode node)
           
 
Method Summary
 void addChild(PlanNode child)
          adds a child in the children field
 boolean equals(Object obj)
           
 ArrayList<PlanNode> getChildren()
          getter for the children field, which defines the nodes that provide the data input to the operator.
 Functionality getFunctionality()
          getter for the functionality of this operation
 int hashCode()
           
 void setChildren(ArrayList<PlanNode> children)
          setter for the children field, which defines the nodes that provide the data input to the operator
 void setFunctionality(Functionality functionality)
          getter for the functionality of this operation
 String toString()
           
 
Methods inherited from class gr.uoa.di.madgik.hive.plan.PlanNode
getFunctionalArgs, getParent, setFunctionalArgs, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperatorNode

public OperatorNode(Functionality functionality,
                    HashMap<String,String> functionalArgs,
                    ArrayList<PlanNode> children)
Default Constructor

Parameters:
functionality - - the functionality of the operation
functionalArgs - - all the arguments needed from the corresponding operator(for determining the functional behavior) in order to execute this node of the plan.
children - - the nodes that provide the data input to the operator

OperatorNode

public OperatorNode(OperatorNode node)
Method Detail

setChildren

public void setChildren(ArrayList<PlanNode> children)
setter for the children field, which defines the nodes that provide the data input to the operator

Parameters:
children - the children

getChildren

public ArrayList<PlanNode> getChildren()
getter for the children field, which defines the nodes that provide the data input to the operator.

Returns:
the children

addChild

public void addChild(PlanNode child)
adds a child in the children field

Parameters:
child - the child to be added

getFunctionality

public Functionality getFunctionality()
getter for the functionality of this operation

Returns:
the functionality

setFunctionality

public void setFunctionality(Functionality functionality)
getter for the functionality of this operation

Parameters:
functionality - the functionality

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.