@Generated(value="config_generator.py") public class PgNosqlGraphConfig extends AbstractPgGraphConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
PgNosqlGraphConfig.Field
Fields of PGX Engine PG NoSQL Graph Config
|
ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map |
getAttributes()
additional attributes
|
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
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
Format |
getFormat()
graph format (Note: bin is deprecated, use pgb instead)
|
java.util.List<java.lang.String> |
getHosts()
list of NoSQL hosts
|
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 |
getPassword()
password of a NoSQL user
|
java.lang.Integer |
getRequestTimeoutMs()
NoSQL request timeout in milliseconds
|
java.lang.String |
getStoreName()
NoSQL store name
|
java.lang.String |
getTrustStoreFile()
the name and path to a Java truststore file
|
java.lang.String |
getUsername()
name of a NoSQL user
|
java.util.Map<PgNosqlGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<PgNosqlGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
java.util.List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
boolean |
hasDefaultValue(PgNosqlGraphConfig.Field field)
Checks for default value.
|
java.lang.Boolean |
hasEdgeLabel()
Deprecated.
|
int |
hashCode() |
java.lang.Boolean |
hasVertexLabels()
Deprecated.
|
boolean |
isEmpty()
Checks if it's empty.
|
static PgNosqlGraphConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static PgNosqlGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static PgNosqlGraphConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
getOraclePropertyGraph, getVertexIdType, setOraclePropertyGraphcreateDateFormat, getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getEdgePropertyTypes, getLoadingFilter, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, getVertexPropertyTypes, hasVerticesAndEdgesSeparatedFileFormat, hasVerticesAndEdgesSeparatedFileFormat, isEdgeLabelLoadingEnabled, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, isVertexLabelsLoadingEnabled, numEdgeProperties, numNodeProperties, supportsEdgeLabel, supportsEdgeLabel, supportsVertexLabels, supportsVertexLabelsgetValueFromEnvironment, getValueFromEnvironment, parseString, setSerializablepublic java.util.Map getAttributes()
getAttributes in class AbstractPgGraphConfigpublic java.lang.String getDateFormat()
getDateFormat in class AbstractPgGraphConfigpublic DbEngine getDbEngine()
getDbEngine in class AbstractPgGraphConfigpublic java.util.List<GraphPropertyConfig> getEdgeProps()
getEdgeProps in class GraphConfigpublic GraphErrorHandlingConfig getErrorHandling()
getErrorHandling in class GraphConfigpublic Format getFormat()
getFormat in class GraphConfigpublic java.util.List<java.lang.String> getHosts()
public GraphLoadingConfig getLoading()
getLoading in class GraphConfigpublic java.lang.Integer getMaxNumConnections()
getMaxNumConnections in class AbstractPgGraphConfigpublic java.lang.String getName()
getName in class GraphConfigpublic java.lang.String getPassword()
public java.lang.Integer getRequestTimeoutMs()
public java.lang.String getStoreName()
public java.lang.String getTrustStoreFile()
public java.lang.String getUsername()
public java.util.Map<PgNosqlGraphConfig.Field,java.lang.Object> getValues()
public java.util.Map<PgNosqlGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public java.util.List<GraphPropertyConfig> getVertexProps()
getVertexProps in class GraphConfigpublic boolean hasDefaultValue(PgNosqlGraphConfig.Field field)
field - the field@Deprecated public java.lang.Boolean hasEdgeLabel()
hasEdgeLabel in class GraphConfigtrue if this graph configuration has the edge label, false otherwise@Deprecated public java.lang.Boolean hasVertexLabels()
hasVertexLabels in class GraphConfigtrue if this graph configuration has the vertex label, false otherwisepublic boolean isEmpty()
public static PgNosqlGraphConfig 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 PgNosqlGraphConfig 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 PgNosqlGraphConfig 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 boolean equals(java.lang.Object obj)
equals in class AbstractPgGraphConfigpublic int hashCode()
hashCode in class AbstractPgGraphConfigCopyright © 2017 Oracle Corp. All Rights Reserved.