public static enum FileGraphConfig.Field extends java.lang.Enum<FileGraphConfig.Field> implements ConfigField
Enum Constant and Description |
---|
ATTRIBUTES
additional attributes needed to read/write the graph data
|
DATE_FORMAT
the date format to use when loading and storing date properties.
|
DETECT_GZIP
enable/disable automatic gzip compression detection when loading graphs
|
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
|
LOCAL_DATE_FORMAT
array of local_date formats to use when loading and storing local_date properties.
|
POINT2D
longitude and latitude as floating point values separated by a space
|
SEPARATOR
separator string for text files.
|
TIME_FORMAT
the time format to use when loading and storing time properties.
|
TIME_WITH_TIMEZONE_FORMAT
the time with timezone format to use when loading and storing time with timezone properties.
|
TIMESTAMP_FORMAT
the timestamp format to use when loading and storing timestamp properties.
|
TIMESTAMP_WITH_TIMEZONE_FORMAT
the timestamp with timezone format to use when loading and storing timestamp with timezone properties.
|
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.
|
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 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 DETECT_GZIP
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 LOCAL_DATE_FORMAT
public static final FileGraphConfig.Field POINT2D
public static final FileGraphConfig.Field SEPARATOR
public static final FileGraphConfig.Field TIME_FORMAT
public static final FileGraphConfig.Field TIME_WITH_TIMEZONE_FORMAT
public static final FileGraphConfig.Field TIMESTAMP_FORMAT
public static final FileGraphConfig.Field TIMESTAMP_WITH_TIMEZONE_FORMAT
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 boolean isSensitive()
ConfigField
isSensitive
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.