com.intel.hadoop.graphbuilder.preprocess.mapreduce.keyvalue
Class PreprocessJobValueFactory

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.preprocess.mapreduce.keyvalue.PreprocessJobValueFactory

public class PreprocessJobValueFactory
extends java.lang.Object

A Factory class that dynamically creates a concrete VertexEdgeUnionType which is used in CreateGraphMR as the intermediate value type.


Constructor Summary
PreprocessJobValueFactory()
           
 
Method Summary
static java.lang.Class getValueClassByClassName(java.lang.String vidClass, java.lang.String vdataClass, java.lang.String edataClass)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreprocessJobValueFactory

public PreprocessJobValueFactory()
Method Detail

getValueClassByClassName

public static java.lang.Class getValueClassByClassName(java.lang.String vidClass,
                                                       java.lang.String vdataClass,
                                                       java.lang.String edataClass)
                                                throws javassist.CannotCompileException,
                                                       javassist.NotFoundException
Parameters:
vidClass -
vdataClass -
edataClass -
Returns:
a new Class which inherits VertexEdgeUnionType and overrides createVid, createVdata and to return the input classes respectively.
Throws:
javassist.CannotCompileException
javassist.NotFoundException