@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 <base_path>_<partition_index>.<extension>_, i.e.
|
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.util.Map<java.lang.String,java.lang.Object> |
getLeftoverValues()
Gets the values that do not belong to any field.
|
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, hashCodegetDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String getBasePath()
getBasePath in class AbstractFileGraphStoringConfigpublic oracle.pgx.vfs.CompressionScheme getCompressionScheme()
getCompressionScheme in class AbstractFileGraphStoringConfigpublic static FileGraphStoringConfig.Field[] getConfigFields()
public java.lang.Character getDelimiter()
getDelimiter in class AbstractFileGraphStoringConfigpublic java.lang.String getEdgeExtension()
getEdgeExtension in class AbstractFileGraphStoringConfigpublic java.lang.Integer getInitialPartitionIndex()
getInitialPartitionIndex in class AbstractFileGraphStoringConfigpublic java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues()
public java.lang.Integer getNumPartitions()
getNumPartitions in class AbstractFileGraphStoringConfigpublic java.lang.String getRowExtension()
getRowExtension in class AbstractFileGraphStoringConfigpublic 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 AbstractFileGraphStoringConfigpublic 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.Objectpublic java.lang.String toString(boolean hideSensitiveData)
Copyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.