@Generated(value="config_generator.py") public class GraphBuilderConfig extends AbstractGraphBuilderConfig
Modifier and Type | Class and Description |
---|---|
static class |
GraphBuilderConfig.Field
Fields of Graph Builder Parameters
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static GraphBuilderConfig.Field[] |
getConfigFields() |
IdGenerationStrategy |
getEdgeIdGenerationStrategy()
if
AUTO_GENERATED edges IDs are auto generated. |
java.util.Map<GraphBuilderConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<GraphBuilderConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
IdGenerationStrategy |
getVertexIdGenerationStrategy()
if
AUTO_GENERATED vertices IDs are auto generated. |
boolean |
hasDefaultValue(GraphBuilderConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
java.lang.Boolean |
isRetainEdgeId()
if
true keep the edge id after graph construction. |
java.lang.Boolean |
isRetainVertexId()
if
true keep the vertex id after graph construction. |
static GraphBuilderConfig |
parse(java.io.InputStream is,
boolean strict,
java.lang.String parentPath)
Parses an input stream.
|
static GraphBuilderConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw,
boolean strict,
java.lang.String parentPath)
Parses a raw key/value mapping.
|
static GraphBuilderConfig |
parse(java.util.Properties props,
boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
hashCode
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static GraphBuilderConfig.Field[] getConfigFields()
public IdGenerationStrategy getEdgeIdGenerationStrategy()
AUTO_GENERATED
edges IDs are auto generated. If USER_IDS
edge IDs must be explicitly defined by the userpublic java.util.Map<GraphBuilderConfig.Field,java.lang.Object> getValues()
getValues
in class AbstractGraphBuilderConfig
public java.util.Map<GraphBuilderConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public IdGenerationStrategy getVertexIdGenerationStrategy()
AUTO_GENERATED
vertices IDs are auto generated. If USER_IDS
vertex IDs must be explicitly defined by the userpublic boolean hasDefaultValue(GraphBuilderConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public java.lang.Boolean isRetainEdgeId()
true
keep the edge id after graph construction. If false
drop the edge id.public java.lang.Boolean isRetainVertexId()
true
keep the vertex id after graph construction. If false
drop the vertex id.public static GraphBuilderConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException
is
- the input streamstrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathjava.io.IOException
- Signals that an I/O exception has occurred.public static GraphBuilderConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathpublic static GraphBuilderConfig parse(java.util.Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean hideSensitiveData)
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.