I
- vertexId type parameterE
- edge type parameterpublic class ByteStructVertexIdEdgeIterator<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends ByteStructVertexIdDataIterator<I,Edge<I,E>> implements VertexIdEdgeIterator<I,E>
dataSize, vertexIdData
extendedDataInput, vertexId
Constructor and Description |
---|
ByteStructVertexIdEdgeIterator(AbstractVertexIdData<I,Edge<I,E>> vertexIdData)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Edge<I,E> |
getCurrentEdge()
Get the current edge.
|
Edge<I,E> |
releaseCurrentEdge()
Release the current edge.
|
getCurrentData, getCurrentDataSize, next, releaseCurrentData
getCurrentVertexId, hasNext, releaseCurrentVertexId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentData, getCurrentDataSize, releaseCurrentData
getCurrentVertexId, hasNext, next, releaseCurrentVertexId
public ByteStructVertexIdEdgeIterator(AbstractVertexIdData<I,Edge<I,E>> vertexIdData)
vertexIdData
- vertexIdDatapublic Edge<I,E> getCurrentEdge()
VertexIdEdgeIterator
getCurrentEdge
in interface VertexIdEdgeIterator<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>
public Edge<I,E> releaseCurrentEdge()
VertexIdEdgeIterator
releaseCurrentEdge
in interface VertexIdEdgeIterator<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.