public static enum TwoTablesGraphConfig.Field extends java.lang.Enum<TwoTablesGraphConfig.Field> implements ConfigField
Enum Constant and Description |
---|
DATA_SOURCE_ID
the data source id to use to connect to database
|
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
|
EDGES_KEY_COLUMN
name of primary key column in edges table
|
EDGES_TABLE_NAME
name of edges table
|
ERROR_HANDLING
error handling configuration
|
FORMAT
graph format (Note: bin is deprecated, use pgb instead)
|
FROM_NID_COLUMN
column name for source node
|
INSERT_BATCH_SIZE
batch size of the rows to be inserted
|
JDBC_URL
jdbc URL pointing to database
|
LOADING
loading-specific configuration
|
MAX_PREFETCHED_ROWS
maximun number or rows prefetched during each round trip (resultset-the database)
|
NODES_KEY_COLUMN
name of primary key column in nodes table
|
NODES_TABLE_NAME
name of nodes table
|
NUM_CONNECTIONS
number of connections to read/write data from/to two tables
|
PASSWORD
password to use when connecting to database
|
SCHEMA
schema where the tables are going to be written
|
TABLESPACE
tablespace where the tables are going to be written
|
TO_NID_COLUMN
column name for destination node
|
USERNAME
username to use when connecting to database
|
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 TwoTablesGraphConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwoTablesGraphConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final TwoTablesGraphConfig.Field DATA_SOURCE_ID
public static final TwoTablesGraphConfig.Field DATE_FORMAT
public static final TwoTablesGraphConfig.Field EDGE_LABEL
public static final TwoTablesGraphConfig.Field EDGE_PROPS
public static final TwoTablesGraphConfig.Field EDGES_KEY_COLUMN
public static final TwoTablesGraphConfig.Field EDGES_TABLE_NAME
public static final TwoTablesGraphConfig.Field ERROR_HANDLING
public static final TwoTablesGraphConfig.Field FORMAT
public static final TwoTablesGraphConfig.Field FROM_NID_COLUMN
public static final TwoTablesGraphConfig.Field INSERT_BATCH_SIZE
public static final TwoTablesGraphConfig.Field JDBC_URL
public static final TwoTablesGraphConfig.Field LOADING
public static final TwoTablesGraphConfig.Field MAX_PREFETCHED_ROWS
public static final TwoTablesGraphConfig.Field NODES_KEY_COLUMN
public static final TwoTablesGraphConfig.Field NODES_TABLE_NAME
public static final TwoTablesGraphConfig.Field NUM_CONNECTIONS
public static final TwoTablesGraphConfig.Field PASSWORD
public static final TwoTablesGraphConfig.Field SCHEMA
public static final TwoTablesGraphConfig.Field TABLESPACE
public static final TwoTablesGraphConfig.Field TO_NID_COLUMN
public static final TwoTablesGraphConfig.Field USERNAME
public static final TwoTablesGraphConfig.Field VERTEX_ID_TYPE
public static final TwoTablesGraphConfig.Field VERTEX_LABELS
public static final TwoTablesGraphConfig.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<TwoTablesGraphConfig.Field>
public static TwoTablesGraphConfig.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 TwoTablesGraphConfig.Field[] values()
for (TwoTablesGraphConfig.Field c : TwoTablesGraphConfig.Field.values()) System.out.println(c);
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.