I - Vertex IDpublic class EdgeNoValue<I extends org.apache.hadoop.io.WritableComparable> extends Object implements ReusableEdge<I,org.apache.hadoop.io.NullWritable>
| Modifier and Type | Method and Description |
|---|---|
I |
getTargetVertexId()
Get the target vertex index of this edge
|
org.apache.hadoop.io.NullWritable |
getValue()
Get the edge value of the edge
|
void |
setTargetVertexId(I targetVertexId)
Set the destination vertex index of this edge.
|
void |
setValue(org.apache.hadoop.io.NullWritable value)
Set the value for this edge.
|
String |
toString() |
public void setTargetVertexId(I targetVertexId)
ReusableEdgesetTargetVertexId in interface ReusableEdge<I extends org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.NullWritable>targetVertexId - new destination vertexpublic void setValue(org.apache.hadoop.io.NullWritable value)
MutableEdgesetValue in interface MutableEdge<I extends org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.NullWritable>value - new edge valuepublic I getTargetVertexId()
EdgegetTargetVertexId in interface Edge<I extends org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.NullWritable>public org.apache.hadoop.io.NullWritable getValue()
EdgeCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.