I - Vertex idE - Edge valuepublic class ByteArrayVertexIdEdges<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends ByteArrayVertexIdData<I,Edge<I,E>> implements VertexIdEdges<I,E>
extendedDataOutput| Constructor and Description |
|---|
ByteArrayVertexIdEdges() |
| Modifier and Type | Method and Description |
|---|---|
Edge<I,E> |
createData()
Create a new data object.
|
ImmutableClassesGiraphConfiguration<I,?,E> |
getConf()
Cast the
ImmutableClassesGiraphConfiguration so it can be used
to generate edge objects. |
ByteStructVertexIdEdgeIterator<I,E> |
getVertexIdEdgeIterator()
Get an iterator over the pairs.
|
void |
readData(ExtendedDataInput in,
Edge<I,E> edge)
Read a data object's fields from an
ExtendedDataInput. |
void |
writeData(ExtendedDataOutput out,
Edge<I,E> edge)
Write a data object to an
ExtendedDataOutput. |
getByteArray, readFields, writeadd, add, clear, getSerializedSize, getSize, getVertexIdDataIterator, initialize, initialize, isEmpty, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, clear, getSerializedSize, getSize, getVertexIdDataIterator, initialize, initialize, isEmptysetConfpublic ImmutableClassesGiraphConfiguration<I,?,E> getConf()
ImmutableClassesGiraphConfiguration so it can be used
to generate edge objects.getConf in interface ImmutableClassesGiraphConfigurablegetConf in class AbstractVertexIdData<I extends org.apache.hadoop.io.WritableComparable,Edge<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>>public Edge<I,E> createData()
VertexIdDatacreateData in interface VertexIdData<I extends org.apache.hadoop.io.WritableComparable,Edge<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>>public void writeData(ExtendedDataOutput out, Edge<I,E> edge) throws IOException
VertexIdDataExtendedDataOutput.writeData in interface VertexIdData<I extends org.apache.hadoop.io.WritableComparable,Edge<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>>out - ExtendedDataOutputedge - Data object to writeIOExceptionpublic void readData(ExtendedDataInput in, Edge<I,E> edge) throws IOException
VertexIdDataExtendedDataInput.readData in interface VertexIdData<I extends org.apache.hadoop.io.WritableComparable,Edge<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>>in - ExtendedDataInputedge - Data object to fill in-placeIOExceptionpublic ByteStructVertexIdEdgeIterator<I,E> getVertexIdEdgeIterator()
VertexIdEdgesgetVertexIdEdgeIterator in interface VertexIdEdges<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.