@Generated(value="config_generator.py") public class PgRdbmsGraphConfig extends AbstractPgGraphConfig
Modifier and Type | Class and Description |
---|---|
static class |
PgRdbmsGraphConfig.Field
Fields of PGX Engine PG RDBMS Graph Config
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataSourceId()
the data source id to use to connect to database
|
java.lang.String |
getDateFormat()
the date format to use when loading and storing date properties.
|
DbEngine |
getDbEngine()
underlying database engine
|
java.util.List<GraphPropertyConfig> |
getEdgeProps()
specification of edge properties associated with graph
|
java.lang.String |
getEdgesViewName()
the name of view for edges
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
Format |
getFormat()
graph format (Note: bin is deprecated, use pgb instead)
|
java.lang.String |
getJdbcUrl()
jdbc URL pointing to database
|
java.lang.String |
getLabel()
the label to use when reading the graph
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
java.lang.Integer |
getMaxNumConnections()
maximum number of database connections to use when reading the graph
|
java.lang.String |
getName()
prefix of the table name (for edge and vertex tables)
|
java.lang.String |
getOptions()
a parameter that is used by the data access layer (and the underlying database) to change default behaviors of graph instance creation or initialization.
|
java.lang.String |
getOwner()
owner (username) of graph in case it differs from given username
|
java.lang.String |
getPassword()
password to use when connecting to database
|
java.lang.String |
getRowLabel()
the row label to use when reading the graph
|
java.lang.String |
getSecurityPolicy()
the policy for the given label or row label
|
java.lang.String |
getUsername()
username to use when connecting to database
|
java.util.Map<PgRdbmsGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<PgRdbmsGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
java.util.List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
java.lang.String |
getVerticesViewName()
the name of view for vertices
|
java.lang.Integer |
getViewParallelHintDegree()
if view names are given, the resulting query will be hinted to run in parallel with the given degree.
|
boolean |
hasDefaultValue(PgRdbmsGraphConfig.Field field)
Checks for default value.
|
int |
hashCode() |
java.lang.Boolean |
isEdgeLabel()
whether the graph has the edge label or not
|
boolean |
isEmpty()
Checks if it's empty.
|
java.lang.Boolean |
isVertexLabels()
whether the graph has the vertex label or not
|
static PgRdbmsGraphConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static PgRdbmsGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static PgRdbmsGraphConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
getOraclePropertyGraph, getVertexIdType, isLoadEdgeLabel, setOraclePropertyGraph
getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, numEdgeProperties, numNodeProperties
setSerializable
public java.lang.String getDataSourceId()
public java.lang.String getDateFormat()
getDateFormat
in class AbstractPgGraphConfig
public DbEngine getDbEngine()
getDbEngine
in class AbstractPgGraphConfig
public java.util.List<GraphPropertyConfig> getEdgeProps()
getEdgeProps
in class GraphConfig
public java.lang.String getEdgesViewName()
public GraphErrorHandlingConfig getErrorHandling()
getErrorHandling
in class GraphConfig
public Format getFormat()
getFormat
in class GraphConfig
public java.lang.String getJdbcUrl()
public java.lang.String getLabel()
public GraphLoadingConfig getLoading()
getLoading
in class GraphConfig
public java.lang.Integer getMaxNumConnections()
getMaxNumConnections
in class AbstractPgGraphConfig
public java.lang.String getName()
getName
in class GraphConfig
public java.lang.String getOptions()
public java.lang.String getOwner()
public java.lang.String getPassword()
public java.lang.String getRowLabel()
public java.lang.String getSecurityPolicy()
public java.lang.String getUsername()
public java.util.Map<PgRdbmsGraphConfig.Field,java.lang.Object> getValues()
public java.util.Map<PgRdbmsGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public java.util.List<GraphPropertyConfig> getVertexProps()
getVertexProps
in class GraphConfig
public java.lang.String getVerticesViewName()
public java.lang.Integer getViewParallelHintDegree()
public boolean hasDefaultValue(PgRdbmsGraphConfig.Field field)
field
- the fieldpublic java.lang.Boolean isEdgeLabel()
isEdgeLabel
in class GraphConfig
true
if this graph configuration has the edge label.public boolean isEmpty()
public java.lang.Boolean isVertexLabels()
isVertexLabels
in class GraphConfig
true
if this graph configuration has the vertex label.public static PgRdbmsGraphConfig 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 PgRdbmsGraphConfig 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 PgRdbmsGraphConfig 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 boolean equals(java.lang.Object obj)
equals
in class AbstractPgGraphConfig
public int hashCode()
hashCode
in class AbstractPgGraphConfig
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.