public static enum TwoTablesSparkGraphConfig.Field extends java.lang.Enum<TwoTablesSparkGraphConfig.Field> implements ConfigField
Enum Constant and Description |
---|
ATTRIBUTES
additional attributes needed to read/write the graph data
|
DATA_FORMAT
type of the spark data format
|
DATASTORE
underlying datastore
|
DATE_FORMAT
the date format to use when loading and storing date properties.
|
EDGE_PROPS
specification of edge properties associated with graph
|
EDGES_KEY_COLUMN
name of primary key column in edges table
|
EDGES_LABEL_COLUMN
column name for edge label
|
ERROR_HANDLING
error handling configuration
|
FORMAT
graph format (Note: bin is deprecated, use pgb instead)
|
FROM_NID_COLUMN
column name for source node
|
LISTENING_SOCKET_TIMEOUT
PGX side listening socket will be expired after this timeout value (default: 30000 ms, 30 secs)
|
LOADING
loading-specific configuration
|
LOCAL_DATE_FORMAT
array of local_date formats to use when loading and storing local_date properties.
|
NODES_KEY_COLUMN
name of primary key column in nodes table
|
NODES_LABEL_COLUMN
column name for node label
|
NUM_SPARK_EDGE_WORKERS
number of available spark workers for edge table
|
NUM_SPARK_NODE_WORKERS
number of available spark workers for node table
|
POINT2D
longitude and latitude as floating point values separated by a space
|
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.
|
TO_NID_COLUMN
column name for destination node
|
VERTEX_ID_TYPE
type of the vertex ID
|
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.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 TwoTablesSparkGraphConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwoTablesSparkGraphConfig.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 TwoTablesSparkGraphConfig.Field ATTRIBUTES
public static final TwoTablesSparkGraphConfig.Field DATA_FORMAT
public static final TwoTablesSparkGraphConfig.Field DATASTORE
public static final TwoTablesSparkGraphConfig.Field DATE_FORMAT
public static final TwoTablesSparkGraphConfig.Field EDGE_PROPS
public static final TwoTablesSparkGraphConfig.Field EDGES_KEY_COLUMN
public static final TwoTablesSparkGraphConfig.Field EDGES_LABEL_COLUMN
public static final TwoTablesSparkGraphConfig.Field ERROR_HANDLING
public static final TwoTablesSparkGraphConfig.Field FORMAT
public static final TwoTablesSparkGraphConfig.Field FROM_NID_COLUMN
public static final TwoTablesSparkGraphConfig.Field LISTENING_SOCKET_TIMEOUT
public static final TwoTablesSparkGraphConfig.Field LOADING
public static final TwoTablesSparkGraphConfig.Field LOCAL_DATE_FORMAT
public static final TwoTablesSparkGraphConfig.Field NODES_KEY_COLUMN
public static final TwoTablesSparkGraphConfig.Field NODES_LABEL_COLUMN
public static final TwoTablesSparkGraphConfig.Field NUM_SPARK_EDGE_WORKERS
public static final TwoTablesSparkGraphConfig.Field NUM_SPARK_NODE_WORKERS
public static final TwoTablesSparkGraphConfig.Field POINT2D
public static final TwoTablesSparkGraphConfig.Field TIME_FORMAT
public static final TwoTablesSparkGraphConfig.Field TIME_WITH_TIMEZONE_FORMAT
public static final TwoTablesSparkGraphConfig.Field TIMESTAMP_FORMAT
public static final TwoTablesSparkGraphConfig.Field TIMESTAMP_WITH_TIMEZONE_FORMAT
public static final TwoTablesSparkGraphConfig.Field TO_NID_COLUMN
public static final TwoTablesSparkGraphConfig.Field VERTEX_ID_TYPE
public static final TwoTablesSparkGraphConfig.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.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<TwoTablesSparkGraphConfig.Field>
public static TwoTablesSparkGraphConfig.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 TwoTablesSparkGraphConfig.Field[] values()
for (TwoTablesSparkGraphConfig.Field c : TwoTablesSparkGraphConfig.Field.values()) System.out.println(c);
Copyright © 2017 Oracle Corp. All Rights Reserved.