public class JythonComputationFactory extends Object implements ComputationFactory
Constructor and Description |
---|
JythonComputationFactory() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration(ImmutableClassesGiraphConfiguration conf)
Check that the Configuration passed in is setup correctly to run a job.
|
String |
computationName(GiraphConfiguration conf)
Get name of this particular computation
|
Computation |
createComputation(ImmutableClassesGiraphConfiguration conf)
Get Computation object
|
void |
initialize(ImmutableClassesGiraphConfiguration conf)
One time initialization before compute calls.
|
public void initialize(ImmutableClassesGiraphConfiguration conf)
ComputationFactory
initialize
in interface ComputationFactory
conf
- Configurationpublic Computation createComputation(ImmutableClassesGiraphConfiguration conf)
ComputationFactory
createComputation
in interface ComputationFactory
conf
- Configurationpublic void checkConfiguration(ImmutableClassesGiraphConfiguration conf)
ComputationFactory
checkConfiguration
in interface ComputationFactory
conf
- Configuration to check.public String computationName(GiraphConfiguration conf)
ComputationFactory
computationName
in interface ComputationFactory
conf
- ConfigurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.