Package io.hgraphdb.giraph
Class EdgeValueWritable<V extends org.apache.hadoop.io.Writable>
- java.lang.Object
-
- io.hgraphdb.giraph.EdgeValueWritable<V>
-
- All Implemented Interfaces:
Serializable
,org.apache.hadoop.io.Writable
public final class EdgeValueWritable<V extends org.apache.hadoop.io.Writable> extends Object implements org.apache.hadoop.io.Writable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EdgeValueWritable()
EdgeValueWritable(HBaseEdge edge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
HBaseEdge
getEdge()
V
getValue()
int
hashCode()
void
readFields(DataInput input)
void
setValue(V value)
String
toString()
void
write(DataOutput output)
-
-
-
Constructor Detail
-
EdgeValueWritable
public EdgeValueWritable()
-
EdgeValueWritable
public EdgeValueWritable(HBaseEdge edge)
-
-
Method Detail
-
getEdge
public HBaseEdge getEdge()
-
getValue
public V getValue()
-
setValue
public void setValue(V value)
-
readFields
public void readFields(DataInput input) throws IOException
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
public void write(DataOutput output) throws IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
-