public static enum PgNosqlGraphConfig.Field extends Enum<PgNosqlGraphConfig.Field> implements ConfigField
Enum Constant and Description |
---|
DATE_FORMAT
the date format to use when loading and storing date properties.
|
DB_ENGINE
underlying database engine
|
EDGE_PROPS
specification of edge properties associated with graph
|
ERROR_HANDLING
error handling configuration
|
FORMAT
graph format (Note: bin is deprecated, use pgb instead)
|
HOSTS
list of NoSQL hosts
|
LOAD_EDGE_LABEL
whether or not to load the edge label (string) into memory as well.
|
LOADING
loading-specific configuration
|
MAX_NUM_CONNECTIONS
maximum number of database connections to use when reading the graph
|
NAME
prefix of the table name (for edge and vertex tables)
|
PASSWORD
password of a NoSQL user
|
REQUEST_TIMEOUT_MS
NoSQL request timeout in milliseconds
|
STORE_NAME
NoSQL store name
|
TRUST_STORE_FILE
the name and path to a Java truststore file
|
USERNAME
name of a NoSQL user
|
VERTEX_PROPS
specification of vertex properties associated with graph
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultVal()
Gets the default value of this field.
|
List<String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
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.
|
String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
String |
toString() |
static PgNosqlGraphConfig.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PgNosqlGraphConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final PgNosqlGraphConfig.Field DATE_FORMAT
public static final PgNosqlGraphConfig.Field DB_ENGINE
public static final PgNosqlGraphConfig.Field EDGE_PROPS
public static final PgNosqlGraphConfig.Field ERROR_HANDLING
public static final PgNosqlGraphConfig.Field FORMAT
public static final PgNosqlGraphConfig.Field HOSTS
public static final PgNosqlGraphConfig.Field LOAD_EDGE_LABEL
true
, the first edge property of this config must be of type string. After loading is done, that property will hold the label strings.public static final PgNosqlGraphConfig.Field LOADING
public static final PgNosqlGraphConfig.Field MAX_NUM_CONNECTIONS
public static final PgNosqlGraphConfig.Field NAME
public static final PgNosqlGraphConfig.Field PASSWORD
public static final PgNosqlGraphConfig.Field REQUEST_TIMEOUT_MS
public static final PgNosqlGraphConfig.Field STORE_NAME
public static final PgNosqlGraphConfig.Field TRUST_STORE_FILE
public static final PgNosqlGraphConfig.Field USERNAME
public static final PgNosqlGraphConfig.Field VERTEX_PROPS
public Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public List<String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public 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 String toKey()
ConfigField
toKey
in interface ConfigField
public String toString()
toString
in class Enum<PgNosqlGraphConfig.Field>
public static PgNosqlGraphConfig.Field valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PgNosqlGraphConfig.Field[] values()
for (PgNosqlGraphConfig.Field c : PgNosqlGraphConfig.Field.values()) System.out.println(c);
Copyright © 2015. All rights reserved.