| Constructor and Description |
|---|
PerGraphTypeEnumConfOption(String keyPrefix,
Class<T> klass,
T defaultValue,
String description)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static <X extends Enum<X>> |
create(String keyPrefix,
Class<X> klass,
X defaultValue,
String description)
Create new EnumGraphTypeConfOption
|
EnumConfOption<T> |
get(GraphType graphType)
Get option for given GraphType
|
EnumConfOption<T> |
getEdgeValue() |
EnumConfOption<T> |
getOutgoingMessage() |
EnumConfOption<T> |
getVertexId() |
EnumConfOption<T> |
getVertexValue() |
void |
set(org.apache.hadoop.conf.Configuration conf,
GraphType graphType,
T language)
Set value for given GraphType
|
public static <X extends Enum<X>> PerGraphTypeEnumConfOption<X> create(String keyPrefix, Class<X> klass, X defaultValue, String description)
X - enum typekeyPrefix - String configuration key prefixklass - enum classdefaultValue - default enum valuedescription - description of the optionpublic EnumConfOption<T> get(GraphType graphType)
graphType - GraphTypepublic void set(org.apache.hadoop.conf.Configuration conf,
GraphType graphType,
T language)
conf - ConfigurationgraphType - GraphTypelanguage - Languagepublic EnumConfOption<T> getEdgeValue()
public EnumConfOption<T> getOutgoingMessage()
public EnumConfOption<T> getVertexId()
public EnumConfOption<T> getVertexValue()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.