public static enum FileGraphConfig.Field extends java.lang.Enum<FileGraphConfig.Field> implements ConfigField
Enum Constant and Description |
---|
ATTRIBUTES
file-system specific additional attributes needed to read/write the graph data
|
DATE_FORMAT
the date format to use when loading and storing date properties.
|
EDGE_PROPS
specification of edge properties associated with graph
|
EDGE_URIS
list of unified resource identifiers
|
ERROR_HANDLING
error handling configuration
|
FORMAT
graph format (Note: bin is deprecated, use pgb instead)
|
HEADER
first line of file is meant for headers, e.g.
|
LOADING
loading-specific configuration
|
SEPARATOR
separator string for text files.
|
VERTEX_ID_TYPE
type of the vertex ID
|
VERTEX_PROPS
specification of vertex properties associated with graph
|
VERTEX_URIS
list of unified resource identifiers
|
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 |
isPath()
Checks if this field is a path.
|
boolean |
isRequired()
Checks if this field is required.
|
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 FileGraphConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileGraphConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
isEnum, isPrimitive
public static final FileGraphConfig.Field ATTRIBUTES
public static final FileGraphConfig.Field DATE_FORMAT
public static final FileGraphConfig.Field EDGE_PROPS
public static final FileGraphConfig.Field EDGE_URIS
public static final FileGraphConfig.Field ERROR_HANDLING
public static final FileGraphConfig.Field FORMAT
public static final FileGraphConfig.Field HEADER
public static final FileGraphConfig.Field LOADING
public static final FileGraphConfig.Field SEPARATOR
public static final FileGraphConfig.Field VERTEX_ID_TYPE
public static final FileGraphConfig.Field VERTEX_PROPS
public static final FileGraphConfig.Field VERTEX_URIS
public java.lang.Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public java.util.List<java.lang.String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public java.util.List<java.lang.String> getSingletonListKeyAliases()
ConfigField
getSingletonListKeyAliases
in interface ConfigField
public java.lang.Class<?> getType()
ConfigField
getType
in interface ConfigField
public boolean isArray()
ConfigField
isArray
in interface ConfigField
public boolean isPath()
ConfigField
isPath
in interface ConfigField
public boolean isRequired()
ConfigField
isRequired
in interface ConfigField
public java.lang.String toKey()
ConfigField
toKey
in interface ConfigField
public java.lang.String toString()
toString
in class java.lang.Enum<FileGraphConfig.Field>
public static FileGraphConfig.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 FileGraphConfig.Field[] values()
for (FileGraphConfig.Field c : FileGraphConfig.Field.values()) System.out.println(c);
Copyright © 2017 Oracle Corp. All Rights Reserved.