@Generated(value="config_generator.py") public class GraphErrorHandlingConfig extends AbstractConfig
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GraphErrorHandlingConfig.Field
Fields of PGX Engine Graph Error Handling Config 
 | 
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX| Modifier and Type | Method and Description | 
|---|---|
static GraphErrorHandlingConfig.Field[] | 
getConfigFields()  | 
OnMismatch | 
getOnMissedPropKey()
what to do when missing property key is encountered 
 | 
OnMissingVertex | 
getOnMissingVertex()
what to do when a source or destination vertex of an edge is not found. 
 | 
OnMismatch | 
getOnPropConversion()
what to do when different property type is encountered than specified, but coercion is possible 
 | 
OnMismatch | 
getOnTypeMismatch()
what to do when different property type is encountered than specified, but coercion is not possible 
 | 
java.util.Map<GraphErrorHandlingConfig.Field,java.lang.Object> | 
getValues()
Gets the parsed values. 
 | 
java.util.Map<GraphErrorHandlingConfig.Field,java.lang.Object> | 
getValuesWithoutDefaults()
Gets the values without defaults. 
 | 
boolean | 
hasDefaultValue(GraphErrorHandlingConfig.Field field)
Checks for default value. 
 | 
boolean | 
isEmpty()
Checks if it's empty. 
 | 
static GraphErrorHandlingConfig | 
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream. 
 | 
static GraphErrorHandlingConfig | 
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping. 
 | 
static GraphErrorHandlingConfig | 
parse(java.util.Properties props, boolean strict)
Parses a properties file. 
 | 
java.lang.String | 
toString()  | 
java.lang.String | 
toString(boolean hashSensitiveData)  | 
getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializablepublic static GraphErrorHandlingConfig.Field[] getConfigFields()
public OnMismatch getOnMissedPropKey()
public OnMissingVertex getOnMissingVertex()
public OnMismatch getOnPropConversion()
public OnMismatch getOnTypeMismatch()
public java.util.Map<GraphErrorHandlingConfig.Field,java.lang.Object> getValues()
public java.util.Map<GraphErrorHandlingConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public boolean hasDefaultValue(GraphErrorHandlingConfig.Field field)
field - the fieldpublic boolean isEmpty()
public static GraphErrorHandlingConfig 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 GraphErrorHandlingConfig 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 GraphErrorHandlingConfig 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.Objectpublic java.lang.String toString(boolean hashSensitiveData)
Copyright © 2016, 2018 Oracle and/or its affiliates. All Rights Reserved.