public static enum GraphBuilderConfig.Field extends java.lang.Enum<GraphBuilderConfig.Field> implements ConfigField
| Enum Constant and Description |
|---|
EDGE_ID_GENERATION_STRATEGY
if
AUTO_GENERATED edges IDs are auto generated. |
RETAIN_EDGE_ID
if
true keep the edge id after graph construction. |
RETAIN_VERTEX_ID
if
true keep the vertex id after graph construction. |
VERTEX_ID_GENERATION_STRATEGY
if
AUTO_GENERATED vertices IDs are auto generated. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getDefaultVal()
Gets the default value of this field.
|
java.util.List<java.lang.String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
java.util.List<java.lang.String> |
getSingletonListKeyAliases()
Gets the key aliases of this field which contain single values for lists and are also recognized during parsing.
|
java.lang.Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isHidden()
Checks if this field should be hidden.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isRequired()
Checks if this field is required.
|
boolean |
isSensitive()
Checks if this field holds a sensitive data.
|
java.lang.String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
java.lang.String |
toString() |
static GraphBuilderConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphBuilderConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOfisEnum, isPrimitivepublic static final GraphBuilderConfig.Field EDGE_ID_GENERATION_STRATEGY
AUTO_GENERATED edges IDs are auto generated. If USER_IDS edge IDs must be explicitly defined by the userpublic static final GraphBuilderConfig.Field RETAIN_EDGE_ID
true keep the edge id after graph construction. If false drop the edge id.public static final GraphBuilderConfig.Field RETAIN_VERTEX_ID
true keep the vertex id after graph construction. If false drop the vertex id.public static final GraphBuilderConfig.Field VERTEX_ID_GENERATION_STRATEGY
AUTO_GENERATED vertices IDs are auto generated. If USER_IDS vertex IDs must be explicitly defined by the userpublic java.lang.Object getDefaultVal()
ConfigFieldgetDefaultVal in interface ConfigFieldpublic java.util.List<java.lang.String> getKeyAliases()
ConfigFieldgetKeyAliases in interface ConfigFieldpublic java.util.List<java.lang.String> getSingletonListKeyAliases()
ConfigFieldgetSingletonListKeyAliases in interface ConfigFieldpublic java.lang.Class<?> getType()
ConfigFieldgetType in interface ConfigFieldpublic boolean isArray()
ConfigFieldisArray in interface ConfigFieldpublic boolean isHidden()
ConfigFieldisHidden in interface ConfigFieldpublic boolean isPath()
ConfigFieldisPath in interface ConfigFieldpublic boolean isRequired()
ConfigFieldisRequired in interface ConfigFieldpublic boolean isSensitive()
ConfigFieldisSensitive in interface ConfigFieldpublic java.lang.String toKey()
ConfigFieldtoKey in interface ConfigFieldpublic java.lang.String toString()
toString in class java.lang.Enum<GraphBuilderConfig.Field>public static GraphBuilderConfig.Field valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static GraphBuilderConfig.Field[] values()
for (GraphBuilderConfig.Field c : GraphBuilderConfig.Field.values())
System.out.println(c);
Copyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.