I - vertexId typeB - mappingTarget typepublic interface MappingStore<I extends org.apache.hadoop.io.WritableComparable,B extends org.apache.hadoop.io.Writable> extends ImmutableClassesGiraphConfigurable<I,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable>
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(I vertexId,
B target)
Add an entry to the mapping store
|
long |
getStats()
Get stats about the MappingStore
|
B |
getTarget(I vertexId,
B target)
Get target for given vertexId
|
void |
initialize()
Must be called before anything else can be done
on this instance
|
void |
postFilling()
Operations to perform after adding entries
to the mapping store
|
getConfsetConfvoid initialize()
void addEntry(I vertexId, B target)
vertexId - vertexIdtarget - targetB getTarget(I vertexId, B target)
vertexId - vertexIdtarget - instance to use for storing target informationvoid postFilling()
long getStats()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.