public final class VertexWritable extends Object implements org.apache.hadoop.io.Writable, Serializable
| Constructor and Description |
|---|
VertexWritable() |
VertexWritable(Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Vertex |
get() |
int |
hashCode() |
void |
readFields(DataInput input) |
void |
set(Vertex vertex) |
String |
toString() |
void |
write(DataOutput output) |
public VertexWritable()
public VertexWritable(Vertex vertex)
public void set(Vertex vertex)
public Vertex get()
public void readFields(DataInput input) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput output) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.