@Generated(value="config_generator.py") public class FileGraphStoringConfig extends AbstractFileGraphStoringConfig
Modifier and Type | Class and Description |
---|---|
static class |
FileGraphStoringConfig.Field
Fields of PGX Engine Graph Loading Config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
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.
|
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.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 hashSensitiveData) |
equals, getSeparator, hashCode
getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public java.lang.String getBasePath()
getBasePath
in class AbstractFileGraphStoringConfig
public 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.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 hashSensitiveData)
Copyright © 2016, 2018 Oracle and/or its affiliates. All Rights Reserved.