@Generated(value="config_generator.py") public class FileGraphStoringConfig extends AbstractFileGraphStoringConfig
Modifier and Type | Class and Description |
---|---|
static class |
FileGraphStoringConfig.Field
Fields of PGX Engine File Graph Storing Config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBasePath()
base path to use for storing a graph; file paths will be constructed using the following format
|
oracle.pgx.vfs.CompressionScheme |
getCompressionScheme()
the scheme to use for compression, or none to disable compression
|
static FileGraphStoringConfig.Field[] |
getConfigFields() |
java.lang.Character |
getDelimiter()
delimiter character used as separator when storing.
|
java.lang.String |
getEdgeExtension()
the extension to use when creating edge file partitions
|
java.lang.Integer |
getInitialPartitionIndex()
the value used as initial partition index, i.e.
|
java.lang.Integer |
getNumPartitions()
the number of partitions that should be created, when exporting to multiple files
|
java.lang.String |
getRowExtension()
the extension to use when creating row file partitions
|
java.util.Map<FileGraphStoringConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<FileGraphStoringConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
java.lang.String |
getVertexExtension()
the extension to use when creating vertex file partitions
|
boolean |
hasDefaultValue(FileGraphStoringConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
static FileGraphStoringConfig |
parse(java.io.InputStream is,
boolean strict,
java.lang.String parentPath)
Parses an input stream.
|
static FileGraphStoringConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw,
boolean strict,
java.lang.String parentPath)
Parses a raw key/value mapping.
|
static FileGraphStoringConfig |
parse(java.util.Properties props,
boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
getSeparator, hashCode
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getBasePath()
getBasePath
in class AbstractFileGraphStoringConfig
public oracle.pgx.vfs.CompressionScheme getCompressionScheme()
getCompressionScheme
in class AbstractFileGraphStoringConfig
public static FileGraphStoringConfig.Field[] getConfigFields()
public java.lang.Character getDelimiter()
getDelimiter
in class AbstractFileGraphStoringConfig
public java.lang.String getEdgeExtension()
getEdgeExtension
in class AbstractFileGraphStoringConfig
public java.lang.Integer getInitialPartitionIndex()
getInitialPartitionIndex
in class AbstractFileGraphStoringConfig
public java.lang.Integer getNumPartitions()
getNumPartitions
in class AbstractFileGraphStoringConfig
public java.lang.String getRowExtension()
getRowExtension
in class AbstractFileGraphStoringConfig
public java.util.Map<FileGraphStoringConfig.Field,java.lang.Object> getValues()
public java.util.Map<FileGraphStoringConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public java.lang.String getVertexExtension()
getVertexExtension
in class AbstractFileGraphStoringConfig
public boolean hasDefaultValue(FileGraphStoringConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public static FileGraphStoringConfig 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 FileGraphStoringConfig 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 FileGraphStoringConfig 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.