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

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

public class DataSourceNode
extends PlanNode

Represents a data source node of the plan that will be the input to the workflow layer

Author:
john.gerbesiotis - DI NKUA

Field Summary
protected  String source
          the source that will be used as a data source
 
Fields inherited from class gr.uoa.di.madgik.hive.plan.PlanNode
functionalArgs
 
Constructor Summary
DataSourceNode(String source, HashMap<String,String> functionalArgs)
          Default constructor
 
Method Summary
 boolean equals(Object obj)
           
 String getSource()
          getter of the source of the data source
 int hashCode()
           
 void setInstanceIds(String source)
          setter for the source of the data source
 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
 

Field Detail

source

protected String source
the source that will be used as a data source

Constructor Detail

DataSourceNode

public DataSourceNode(String source,
                      HashMap<String,String> functionalArgs)
Default constructor

Parameters:
source - of the data source instances that can answer this node of the plan
functionalArgs - - all the arguments needed from the corresponding data source(for determining the functional behavior) in order to execute this node of the plan.
Method Detail

getSource

public String getSource()
getter of the source of the data source

Returns:
the source

setInstanceIds

public void setInstanceIds(String source)
setter for the source of the data source

Parameters:
source - the source

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.