I
- M
- public interface MessageClasses<I extends org.apache.hadoop.io.WritableComparable,M extends org.apache.hadoop.io.Writable>
extends org.apache.hadoop.io.Writable
Modifier and Type | Method and Description |
---|---|
MessageClasses<I,M> |
createCopyForNewSuperstep()
Creates a fresh copy of this object,
to be used and changed for new superstep.
|
MessageCombiner<? super I,M> |
createMessageCombiner(ImmutableClassesGiraphConfiguration<I,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable> conf)
Create new instance of MessageCombiner
|
MessageValueFactory<M> |
createMessageValueFactory(ImmutableClassesGiraphConfiguration conf)
Create new instance of MessageValueFactory
|
Class<M> |
getMessageClass()
Get message class
|
MessageEncodeAndStoreType |
getMessageEncodeAndStoreType()
Get MessageEncodeAndStoreType
|
boolean |
ignoreExistingVertices()
Whether to completely ignore existing vertices,
and just process messages
|
boolean |
useMessageCombiner()
Has message combiner been specified
|
void |
verifyConsistent(ImmutableClassesGiraphConfiguration conf)
Verify if types are internally consistent
|
MessageValueFactory<M> createMessageValueFactory(ImmutableClassesGiraphConfiguration conf)
conf
- ConfigurationMessageCombiner<? super I,M> createMessageCombiner(ImmutableClassesGiraphConfiguration<I,? extends org.apache.hadoop.io.Writable,? extends org.apache.hadoop.io.Writable> conf)
conf
- Configurationboolean useMessageCombiner()
MessageEncodeAndStoreType getMessageEncodeAndStoreType()
MessageClasses<I,M> createCopyForNewSuperstep()
void verifyConsistent(ImmutableClassesGiraphConfiguration conf)
conf
- Configurationboolean ignoreExistingVertices()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.