public static enum SingleFileGraphConfig.Field extends java.lang.Enum<SingleFileGraphConfig.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_LABEL
whether the graph has the edge label or not
|
EDGE_PROPS
specification of edge properties associated with graph
|
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
[file formats only] separator string for text files
|
URI
unified resource identifier, either pointing to a a local file (relative to the location of this config or absolute), a web resource (prefix
http://' or https:// ), a HDFS path (prefix hdfs: ) or a classpath (prefix classpath:/ or jar: ) |
VERTEX_ID_TYPE
type of the vertex ID
|
VERTEX_LABELS
whether the graph has the vertex label or not
|
VERTEX_PROPS
specification of vertex properties associated with graph
|
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.lang.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.
|
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 SingleFileGraphConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SingleFileGraphConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SingleFileGraphConfig.Field ATTRIBUTES
public static final SingleFileGraphConfig.Field DATE_FORMAT
public static final SingleFileGraphConfig.Field EDGE_LABEL
public static final SingleFileGraphConfig.Field EDGE_PROPS
public static final SingleFileGraphConfig.Field ERROR_HANDLING
public static final SingleFileGraphConfig.Field FORMAT
public static final SingleFileGraphConfig.Field HEADER
public static final SingleFileGraphConfig.Field LOADING
public static final SingleFileGraphConfig.Field SEPARATOR
public static final SingleFileGraphConfig.Field URI
http://'
or https://
), a HDFS path (prefix hdfs:
) or a classpath (prefix classpath:/
or jar:
)public static final SingleFileGraphConfig.Field VERTEX_ID_TYPE
public static final SingleFileGraphConfig.Field VERTEX_LABELS
public static final SingleFileGraphConfig.Field VERTEX_PROPS
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.lang.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 java.lang.String toKey()
ConfigField
toKey
in interface ConfigField
public java.lang.String toString()
toString
in class java.lang.Enum<SingleFileGraphConfig.Field>
public static SingleFileGraphConfig.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 SingleFileGraphConfig.Field[] values()
for (SingleFileGraphConfig.Field c : SingleFileGraphConfig.Field.values()) System.out.println(c);
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.