I - vertexId typeV - vertex value typeE - edge value typeB - mappingTarget typepublic class LocalData<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,B extends org.apache.hadoop.io.Writable> extends DefaultImmutableClassesGiraphConfigurable<I,V,E>
| Constructor and Description |
|---|
LocalData(ImmutableClassesGiraphConfiguration<I,V,E> conf)
Constructor
Set configuration, create & initialize mapping store
|
| Modifier and Type | Method and Description |
|---|---|
MappingStore<I,B> |
getMappingStore() |
MappingStoreOps<I,B> |
getMappingStoreOps() |
void |
printStats()
Prints Stats of individual data it stores
|
void |
removeMappingStoreIfPossible()
Remove mapping store from localData
if mapping data is already embedded into vertexIds
|
getConf, setConfpublic LocalData(ImmutableClassesGiraphConfiguration<I,V,E> conf)
conf - giraph configurationpublic MappingStore<I,B> getMappingStore()
public MappingStoreOps<I,B> getMappingStoreOps()
public void removeMappingStoreIfPossible()
public void printStats()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.