Package oracle.pgx.config
Class PreloadGraphConfig
- java.lang.Object
- 
- oracle.pgx.config.AbstractConfig
- 
- oracle.pgx.config.AbstractPreloadGraphConfig
- 
- oracle.pgx.config.PreloadGraphConfig
 
 
 
- 
 @Generated("config_generator.py") public class PreloadGraphConfig extends AbstractPreloadGraphConfigPreloaded Graph Config
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPreloadGraphConfig.FieldFields of Preloaded Graph Config
 - 
Field Summary- 
Fields inherited from class oracle.pgx.config.AbstractConfigENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static PreloadGraphConfig.Field[]getConfigFields()java.util.Map<java.lang.String,java.lang.Object>getLeftoverValues()Gets the values that do not belong to any field.java.lang.StringgetName()preloaded graph namejava.lang.StringgetPath()uri to graph config filejava.util.Map<PreloadGraphConfig.Field,java.lang.Object>getValues()Gets the parsed values.java.util.Map<PreloadGraphConfig.Field,java.lang.Object>getValuesWithoutDefaults()Gets the values without defaults.booleanhasDefaultValue(PreloadGraphConfig.Field field)Checks for default value.booleanisEmpty()Checks if it's empty.java.lang.BooleanisPublish()whether or not this preloaded graph should be published.java.lang.BooleanisPublishWithSnapshots()whether or not this preloaded graph should be published together with its snapshots.java.lang.BooleanloadAtServerInitialization()if true, PGX will load the pre-loaded graph during the initialization of the engine, otherwise loads the graph after completing the engine initialization.static PreloadGraphConfigparse(java.io.InputStream is, boolean strict, java.lang.String parentPath)Parses an input stream.static PreloadGraphConfigparse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)Parses a raw key/value mapping.static PreloadGraphConfigparse(java.util.Properties props, boolean strict)Parses a properties file.java.lang.StringtoString()java.lang.StringtoString(boolean hideSensitiveData)- 
Methods inherited from class oracle.pgx.config.AbstractConfiggetDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
 
- 
 
- 
- 
- 
Method Detail- 
parsepublic static PreloadGraphConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException Parses an input stream.- Parameters:
- is- the input stream
- strict- if true, parses in strict mode
- parentPath- if not null, resolves relative paths against this parentPath
- Returns:
- the parsed graph config
- Throws:
- java.io.IOException- Signals that an I/O exception has occurred.
 
 - 
parsepublic static PreloadGraphConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath) Parses a raw key/value mapping.- Parameters:
- raw- the raw key/value mapping to parse
- strict- if true, parses in strict mode
- parentPath- if not null, resolves relative paths against this parentPath
- Returns:
- the parsed graph config
 
 - 
parsepublic static PreloadGraphConfig parse(java.util.Properties props, boolean strict) Parses a properties file.- Parameters:
- props- the properties to parse
- strict- if true, parses in strict mode
- Returns:
- the parsed graph config
 
 - 
getConfigFieldspublic static PreloadGraphConfig.Field[] getConfigFields() 
 - 
getValuespublic java.util.Map<PreloadGraphConfig.Field,java.lang.Object> getValues() Gets the parsed values.- Specified by:
- getValuesin class- AbstractConfig
- Returns:
- the parsed values
 
 - 
isEmptypublic boolean isEmpty() Checks if it's empty.- Returns:
- true, if the Map 'values' is empty.
 
 - 
hasDefaultValuepublic boolean hasDefaultValue(PreloadGraphConfig.Field field) Checks for default value.- Parameters:
- field- the field
- Returns:
- true, if value for given field is the default value
 
 - 
getValuesWithoutDefaultspublic java.util.Map<PreloadGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults() Gets the values without defaults.- Returns:
- the values without defaults
 
 - 
getLeftoverValuespublic java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues() Gets the values that do not belong to any field.- Returns:
- the values that do not belong to any field
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString(boolean hideSensitiveData) 
 - 
getPathpublic java.lang.String getPath() uri to graph config file
 - 
getNamepublic java.lang.String getName() preloaded graph name
 - 
loadAtServerInitializationpublic java.lang.Boolean loadAtServerInitialization() if true, PGX will load the pre-loaded graph during the initialization of the engine, otherwise loads the graph after completing the engine initialization.
 - 
isPublishpublic java.lang.Boolean isPublish() whether or not this preloaded graph should be published. If published, any session can reference it by name. If this option is set to true, "publish_with_snapshots" must be set to false- Specified by:
- isPublishin class- AbstractPreloadGraphConfig
 
 - 
isPublishWithSnapshotspublic java.lang.Boolean isPublishWithSnapshots() whether or not this preloaded graph should be published together with its snapshots. If published this way, any session can reference it by name and can set any snapshot. If this option is set to true, "publish" must be set to false.- Specified by:
- isPublishWithSnapshotsin class- AbstractPreloadGraphConfig
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-