| Constructor and Description |
|---|
VertexWritable() |
VertexWritable(org.apache.hadoop.io.Text minimalVertexId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addVertex(org.apache.hadoop.io.Text id) |
boolean |
checkAndSetMinimalVertex(org.apache.hadoop.io.Text id) |
protected VertexWritable |
clone() |
static VertexWritable |
fromJSON(String json) |
TreeSet<org.apache.hadoop.io.Text> |
getEdges() |
org.apache.hadoop.io.Text |
getVertexId() |
boolean |
isActivated() |
boolean |
isMessage() |
VertexWritable |
makeMessage() |
void |
readFields(DataInput in) |
void |
setActivated(boolean activated) |
void |
setEdges(TreeSet<org.apache.hadoop.io.Text> edges) |
void |
setVertexId(org.apache.hadoop.io.Text vertexId) |
String |
toJSON() |
String |
toString() |
void |
write(DataOutput out) |
public VertexWritable()
public VertexWritable(org.apache.hadoop.io.Text minimalVertexId)
public boolean checkAndSetMinimalVertex(org.apache.hadoop.io.Text id)
public boolean isMessage()
public VertexWritable makeMessage()
public void addVertex(org.apache.hadoop.io.Text id)
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic static VertexWritable fromJSON(String json)
public String toJSON()
protected VertexWritable clone()
public boolean isActivated()
public void setActivated(boolean activated)
public org.apache.hadoop.io.Text getVertexId()
public void setVertexId(org.apache.hadoop.io.Text vertexId)
public TreeSet<org.apache.hadoop.io.Text> getEdges()
public void setEdges(TreeSet<org.apache.hadoop.io.Text> edges)
Copyright © 2020. All rights reserved.