I
- vertexId type parameterT
- vertexData type parameter@NotThreadSafe public class ByteStructVertexIdDataIterator<I extends org.apache.hadoop.io.WritableComparable,T> extends ByteStructVertexIdIterator<I> implements VertexIdDataIterator<I,T>
Modifier and Type | Field and Description |
---|---|
protected int |
dataSize
Serialized size of the message object in bytestore
|
protected AbstractVertexIdData<I,T> |
vertexIdData
VertexIdData to iterate over
|
extendedDataInput, vertexId
Constructor and Description |
---|
ByteStructVertexIdDataIterator(AbstractVertexIdData<I,T> vertexIdData)
Constructor
|
Modifier and Type | Method and Description |
---|---|
T |
getCurrentData()
Get the current data.
|
int |
getCurrentDataSize()
Get serialized size of current data
|
void |
next()
Moves to the next element in the iteration.
|
T |
releaseCurrentData()
Release the current data object.
|
getCurrentVertexId, hasNext, releaseCurrentVertexId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentVertexId, hasNext, releaseCurrentVertexId
protected AbstractVertexIdData<I extends org.apache.hadoop.io.WritableComparable,T> vertexIdData
protected int dataSize
public ByteStructVertexIdDataIterator(AbstractVertexIdData<I,T> vertexIdData)
vertexIdData
- vertexIdDatapublic void next()
VertexIdIterator
next
in interface VertexIdIterator<I extends org.apache.hadoop.io.WritableComparable>
public int getCurrentDataSize()
VertexIdDataIterator
getCurrentDataSize
in interface VertexIdDataIterator<I extends org.apache.hadoop.io.WritableComparable,T>
public T getCurrentData()
VertexIdDataIterator
getCurrentData
in interface VertexIdDataIterator<I extends org.apache.hadoop.io.WritableComparable,T>
public T releaseCurrentData()
VertexIdDataIterator
releaseCurrentData
in interface VertexIdDataIterator<I extends org.apache.hadoop.io.WritableComparable,T>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.