@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
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Charset |
getCharset()
Gets the charset.
|
String |
getDateFormat()
the date format to use when loading and storing date properties.
|
DbEngine |
getDbEngine()
underlying database engine
|
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)
|
List<String> |
getHosts()
list of NoSQL hosts
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
Integer |
getMaxNumConnections()
maximum number of database connections to use when reading the graph
|
String |
getName()
prefix of the table name (for edge and vertex tables)
|
String |
getPassword()
password of a NoSQL user
|
Integer |
getRequestTimeoutMs()
NoSQL request timeout in milliseconds
|
String |
getStoreName()
NoSQL store name
|
String |
getTrustStoreFile()
the name and path to a Java truststore file
|
String |
getUsername()
name of a NoSQL user
|
Map<PgNosqlGraphConfig.Field,Object> |
getValues()
Gets the parsed values.
|
Map<PgNosqlGraphConfig.Field,Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
boolean |
hasDefaultValue(PgNosqlGraphConfig.Field field)
Checks for default value.
|
int |
hashCode() |
Boolean |
isLoadEdgeLabel()
whether or not to load the edge label (string) into memory as well.
|
static PgNosqlGraphConfig |
parse(InputStream is, boolean strict, File parent)
Parses an input stream.
|
static PgNosqlGraphConfig |
parse(Map<String,Object> raw, boolean strict, File parent)
Parses a raw key/value mapping.
|
static PgNosqlGraphConfig |
parse(Properties props, boolean strict)
Parses a properties file.
|
String |
toString() |
getConnection, getOraclePropertyGraph, getVertexIdType, setConnection, setOraclePropertyGraph
getEdgePropertyDefault, getEdgePropertyName, getEdgePropertyType, getNodeKeyType, getNodePropertyDefault, getNodePropertyName, getNodePropertyType, isFileFormat, isFileFormat, numEdgeProperties, numNodeProperties
setSerializable
public Charset getCharset()
public String getDateFormat()
getDateFormat
in class AbstractPgGraphConfig
public DbEngine getDbEngine()
getDbEngine
in class AbstractPgGraphConfig
public List<GraphPropertyConfig> getEdgeProps()
getEdgeProps
in class GraphConfig
public GraphErrorHandlingConfig getErrorHandling()
getErrorHandling
in class GraphConfig
public Format getFormat()
getFormat
in class GraphConfig
public GraphLoadingConfig getLoading()
getLoading
in class GraphConfig
public Integer getMaxNumConnections()
getMaxNumConnections
in class AbstractPgGraphConfig
public String getName()
getName
in class GraphConfig
public String getPassword()
public Integer getRequestTimeoutMs()
public String getStoreName()
public String getTrustStoreFile()
public String getUsername()
public Map<PgNosqlGraphConfig.Field,Object> getValues()
public Map<PgNosqlGraphConfig.Field,Object> getValuesWithoutDefaults()
public List<GraphPropertyConfig> getVertexProps()
getVertexProps
in class GraphConfig
public boolean hasDefaultValue(PgNosqlGraphConfig.Field field)
field
- the fieldpublic Boolean isLoadEdgeLabel()
true
, the first edge property of this config must be of type string. After loading is done, that property will hold the label strings.isLoadEdgeLabel
in class AbstractPgGraphConfig
public static PgNosqlGraphConfig parse(InputStream is, boolean strict, File parent) throws IOException
is
- the input streamstrict
- if true, parses in strict modeparent
- if not null, resolves relative paths against this parentIOException
- Signals that an I/O exception has occurred.public static PgNosqlGraphConfig parse(Map<String,Object> raw, boolean strict, File parent)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparent
- if not null, resolves relative paths against this parentpublic static PgNosqlGraphConfig parse(Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic boolean equals(Object obj)
equals
in class AbstractPgGraphConfig
public int hashCode()
hashCode
in class AbstractPgGraphConfig
Copyright © 2015. All rights reserved.