W - writable typepublic abstract class JythonFactoryBase<W extends org.apache.hadoop.io.Writable> extends Object implements ValueFactory<W>, GiraphConfigurationSettable
| Constructor and Description | 
|---|
| JythonFactoryBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| GraphType | getGraphType()Get the graph type this factory is meant for | 
| abstract JythonOptions.JythonGraphTypeOptions | getOptions()Get the options associated with this graph type | 
| StrConfOption | jythonClassNameOption()The  Configurationoption for setting the
 Jython class name in this factory implementation. | 
| org.apache.hadoop.io.Writable | newJythonClassInstance()Instantiate a new value Jython object. | 
| void | setConf(ImmutableClassesGiraphConfiguration conf)Set the configuration to be used by this object. | 
| void | useThisFactory(org.apache.hadoop.conf.Configuration conf,
              String jythonClassName)Use this factory in the  Configuration | 
| Class<? extends org.apache.hadoop.io.Writable> | writableValueClass()The interface class for the value type. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancepublic abstract JythonOptions.JythonGraphTypeOptions getOptions()
public GraphType getGraphType()
public StrConfOption jythonClassNameOption()
Configuration option for setting the
 Jython class name in this factory implementation.StrConfOptionpublic Class<? extends org.apache.hadoop.io.Writable> writableValueClass()
WritableComparable, for
 others this is Writablepublic void setConf(ImmutableClassesGiraphConfiguration conf)
GiraphConfigurationSettablesetConf in interface GiraphConfigurationSettableconf - Set configurationpublic org.apache.hadoop.io.Writable newJythonClassInstance()
public void useThisFactory(org.apache.hadoop.conf.Configuration conf,
                           String jythonClassName)
Configurationconf - ConfigurationjythonClassName - Name of Jython class implementing value typeCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.