M
- Message typepublic static class SupplierFromConf.DefaultMessageFactorySupplierFromConf<M extends org.apache.hadoop.io.Writable> extends Object implements SupplierFromConf<MessageValueFactory<M>>
SupplierFromConf.DefaultMessageFactorySupplierFromConf<M extends org.apache.hadoop.io.Writable>, SupplierFromConf.SupplierFromConfByCopy<T>
Constructor and Description |
---|
DefaultMessageFactorySupplierFromConf(Class<M> messageClass) |
Modifier and Type | Method and Description |
---|---|
MessageValueFactory<M> |
apply(ImmutableClassesGiraphConfiguration conf)
Returns the result of applying this function to given
input . |
public MessageValueFactory<M> apply(ImmutableClassesGiraphConfiguration conf)
Function
input
.
The returned object may or may not be a new instance,
depending on the implementation.apply
in interface Function<ImmutableClassesGiraphConfiguration,MessageValueFactory<M extends org.apache.hadoop.io.Writable>>
conf
- InputCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.