I
- Vertex index valueV
- Vertex valueE
- Edge valuepublic interface GraphPartitionerFactoryInterface<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends ImmutableClassesGiraphConfigurable<I,V,E>
Modifier and Type | Method and Description |
---|---|
MasterGraphPartitioner<I,V,E> |
createMasterGraphPartitioner()
Create the
MasterGraphPartitioner used by the master. |
WorkerGraphPartitioner<I,V,E> |
createWorkerGraphPartitioner()
Create the
WorkerGraphPartitioner used by the worker. |
void |
initialize(LocalData<I,V,E,? extends org.apache.hadoop.io.Writable> localData)
Use some local data present in the worker
|
getConf
setConf
void initialize(LocalData<I,V,E,? extends org.apache.hadoop.io.Writable> localData)
localData
- localData present in the workerMasterGraphPartitioner<I,V,E> createMasterGraphPartitioner()
MasterGraphPartitioner
used by the master.
Instantiated once by the master and reused.WorkerGraphPartitioner<I,V,E> createWorkerGraphPartitioner()
WorkerGraphPartitioner
used by the worker.
Instantiated once by every worker and reused.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.