public static enum GraphLoadingConfig.Field extends Enum<GraphLoadingConfig.Field> implements ConfigField
Enum Constant and Description |
---|
CREATE_EDGE_ID_INDEX
if
true , an index is prepared during loading which enables retrieval of edge paths |
CREATE_EDGE_ID_MAPPING
if
true , a mapping is prepared during loading which enables edge key arguments and filters containing edge keys |
CREATE_VERTEX_ID_INDEX
if
true , an index is prepared during loading which enables retrieval of vertex paths |
CREATE_VERTEX_ID_MAPPING
if
true , a mapping is prepared during loading which enables vertex arguments and vertex filters |
FILTER_EXPR
if not
null , load subgraph specified by this expression |
REFRESH_INTERVAL_MS
if non-negative, the graph gets refreshed periodically after specified milliseconds have passed.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultVal()
Gets the default value of this field.
|
List<String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isEnum()
Checks if this field is of enum type.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isPrimitive()
Checks if this field is of primitive type.
|
boolean |
isRequired()
Checks if this field is required.
|
String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
String |
toString() |
static GraphLoadingConfig.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphLoadingConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GraphLoadingConfig.Field CREATE_EDGE_ID_INDEX
true
, an index is prepared during loading which enables retrieval of edge pathspublic static final GraphLoadingConfig.Field CREATE_EDGE_ID_MAPPING
true
, a mapping is prepared during loading which enables edge key arguments and filters containing edge keyspublic static final GraphLoadingConfig.Field CREATE_VERTEX_ID_INDEX
true
, an index is prepared during loading which enables retrieval of vertex pathspublic static final GraphLoadingConfig.Field CREATE_VERTEX_ID_MAPPING
true
, a mapping is prepared during loading which enables vertex arguments and vertex filterspublic static final GraphLoadingConfig.Field FILTER_EXPR
null
, load subgraph specified by this expressionpublic static final GraphLoadingConfig.Field REFRESH_INTERVAL_MS
public Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public List<String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public Class<?> getType()
ConfigField
getType
in interface ConfigField
public boolean isArray()
ConfigField
isArray
in interface ConfigField
public boolean isEnum()
ConfigField
isEnum
in interface ConfigField
public boolean isPath()
ConfigField
isPath
in interface ConfigField
public boolean isPrimitive()
ConfigField
isPrimitive
in interface ConfigField
public boolean isRequired()
ConfigField
isRequired
in interface ConfigField
public String toKey()
ConfigField
toKey
in interface ConfigField
public String toString()
toString
in class Enum<GraphLoadingConfig.Field>
public static GraphLoadingConfig.Field valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static GraphLoadingConfig.Field[] values()
for (GraphLoadingConfig.Field c : GraphLoadingConfig.Field.values()) System.out.println(c);
Copyright © 2015. All rights reserved.