Package com.alibaba.graphscope.utils
Class WritableFactory
- java.lang.Object
-
- com.alibaba.graphscope.utils.WritableFactory
-
public class WritableFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description WritableFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getEdataClassName()
static String
getOidClassName()
static org.apache.hadoop.io.Writable
newEData()
static org.apache.hadoop.io.Writable
newInMsg()
static org.apache.hadoop.io.WritableComparable
newOid()
static org.apache.hadoop.io.Writable
newOutMsg()
static org.apache.hadoop.io.Writable
newVData()
static void
setEdataClass(Class<? extends org.apache.hadoop.io.Writable> param)
static void
setInMsgClass(Class<? extends org.apache.hadoop.io.Writable> param)
static void
setOidClass(Class<? extends org.apache.hadoop.io.WritableComparable> param)
static void
setOutMsgClass(Class<? extends org.apache.hadoop.io.Writable> param)
static void
setVdataClass(Class<? extends org.apache.hadoop.io.Writable> param)
-
-
-
Method Detail
-
setInMsgClass
public static void setInMsgClass(Class<? extends org.apache.hadoop.io.Writable> param)
-
setOutMsgClass
public static void setOutMsgClass(Class<? extends org.apache.hadoop.io.Writable> param)
-
setOidClass
public static void setOidClass(Class<? extends org.apache.hadoop.io.WritableComparable> param)
-
setVdataClass
public static void setVdataClass(Class<? extends org.apache.hadoop.io.Writable> param)
-
setEdataClass
public static void setEdataClass(Class<? extends org.apache.hadoop.io.Writable> param)
-
newOid
public static org.apache.hadoop.io.WritableComparable newOid()
-
getOidClassName
public static String getOidClassName()
-
getEdataClassName
public static String getEdataClassName()
-
newInMsg
public static org.apache.hadoop.io.Writable newInMsg()
-
newOutMsg
public static org.apache.hadoop.io.Writable newOutMsg()
-
newVData
public static org.apache.hadoop.io.Writable newVData()
-
newEData
public static org.apache.hadoop.io.Writable newEData()
-
-