I
- Vertex idM
- Message datapublic static class ByteArrayMessagesPerVertexStore.Factory<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable> extends Object implements MessageStoreFactory<I,M,MessageStore<I,M>>
ByteArrayMessagesPerVertexStore
Constructor and Description |
---|
Factory()
Constructor for reflection
|
Factory(PartitionSplitInfo<I> partitionInfo,
ImmutableClassesGiraphConfiguration<I,?,?> config) |
Modifier and Type | Method and Description |
---|---|
void |
initialize(PartitionSplitInfo<I> partitionInfo,
ImmutableClassesGiraphConfiguration<I,?,?> conf)
Implementation class should use this method of initialization
of any required internal state.
|
MessageStore<I,M> |
newStore(MessageClasses<I,M> messageClasses)
Creates new message store.
|
public Factory()
public Factory(PartitionSplitInfo<I> partitionInfo, ImmutableClassesGiraphConfiguration<I,?,?> config)
partitionInfo
- Partition split infoconfig
- Hadoop configurationpublic MessageStore<I,M> newStore(MessageClasses<I,M> messageClasses)
MessageStoreFactory
newStore
in interface MessageStoreFactory<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable,MessageStore<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable>>
messageClasses
- Message classes information to be held in the storepublic void initialize(PartitionSplitInfo<I> partitionInfo, ImmutableClassesGiraphConfiguration<I,?,?> conf)
MessageStoreFactory
initialize
in interface MessageStoreFactory<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable,MessageStore<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable>>
partitionInfo
- Partition split infoconf
- ConfigurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.