I
- vertexId typeE
- edgeValue typepublic interface TranslateEdge<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends ImmutableClassesGiraphConfigurable
Modifier and Type | Method and Description |
---|---|
E |
cloneValue(E edgeValue)
Clone edge value
|
void |
initialize(BspServiceWorker<I,? extends org.apache.hadoop.io.Writable,E> service)
Must be called before other methods can be used
|
I |
translateId(I targetId)
Translate Id & return a new instance
|
getConf
setConf
void initialize(BspServiceWorker<I,? extends org.apache.hadoop.io.Writable,E> service)
service
- bsp service workerI translateId(I targetId)
targetId
- edge target IdCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.