@Generated(value="config_generator.py") public class TwoTablesGraphConfig extends AbstractTwoTablesConfig
Modifier and Type | Class and Description |
---|---|
static class |
TwoTablesGraphConfig.Field
Fields of PGX Engine Two Tables Format Graph Config
|
JDBC_PREFIX
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset()
Gets the charset.
|
String |
getDateFormat()
the date format to use when loading and storing date properties.
|
List<GraphPropertyConfig> |
getEdgeProps()
specification of edge properties associated with graph
|
String |
getEdgesKeyColumn()
name of primary key column in edges table
|
String |
getEdgesTableName()
name of edges table
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
Format |
getFormat()
graph format (Note: bin is deprecated, use pgb instead)
|
String |
getFromNidColumn()
column name for source node
|
String |
getJdbcUrl()
jdbc URL pointing to database
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
String |
getNodesKeyColumn()
name of primary key column in nodes table
|
String |
getNodesTableName()
name of nodes table
|
String |
getPassword()
password to use when connecting to database
|
String |
getToNidColumn()
column name for destination node
|
String |
getUsername()
username to use when connecting to database
|
Map<TwoTablesGraphConfig.Field,Object> |
getValues()
Gets the parsed values.
|
Map<TwoTablesGraphConfig.Field,Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
IdType |
getVertexIdType()
type of the vertex id
|
List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
boolean |
hasDefaultValue(TwoTablesGraphConfig.Field field)
Checks for default value.
|
static TwoTablesGraphConfig |
parse(InputStream is, boolean strict, File parent)
Parses an input stream.
|
static TwoTablesGraphConfig |
parse(Map<String,Object> raw, boolean strict, File parent)
Parses a raw key/value mapping.
|
static TwoTablesGraphConfig |
parse(Properties props, boolean strict)
Parses a properties file.
|
String |
toString() |
getName
equals, getEdgePropertyDefault, getEdgePropertyName, getEdgePropertyType, getNodeKeyType, getNodePropertyDefault, getNodePropertyName, getNodePropertyType, hashCode, isFileFormat, isFileFormat, numEdgeProperties, numNodeProperties
setSerializable
public Charset getCharset()
public String getDateFormat()
public List<GraphPropertyConfig> getEdgeProps()
getEdgeProps
in class GraphConfig
public String getEdgesKeyColumn()
getEdgesKeyColumn
in class AbstractTwoTablesConfig
public String getEdgesTableName()
getEdgesTableName
in class AbstractTwoTablesConfig
public GraphErrorHandlingConfig getErrorHandling()
getErrorHandling
in class GraphConfig
public Format getFormat()
getFormat
in class GraphConfig
public String getFromNidColumn()
getFromNidColumn
in class AbstractTwoTablesConfig
public String getJdbcUrl()
getJdbcUrl
in class AbstractTwoTablesConfig
public GraphLoadingConfig getLoading()
getLoading
in class GraphConfig
public String getNodesKeyColumn()
getNodesKeyColumn
in class AbstractTwoTablesConfig
public String getNodesTableName()
getNodesTableName
in class AbstractTwoTablesConfig
public String getPassword()
getPassword
in class AbstractTwoTablesConfig
public String getToNidColumn()
getToNidColumn
in class AbstractTwoTablesConfig
public String getUsername()
getUsername
in class AbstractTwoTablesConfig
public Map<TwoTablesGraphConfig.Field,Object> getValues()
public Map<TwoTablesGraphConfig.Field,Object> getValuesWithoutDefaults()
public IdType getVertexIdType()
getVertexIdType
in class GraphConfig
public List<GraphPropertyConfig> getVertexProps()
getVertexProps
in class GraphConfig
public boolean hasDefaultValue(TwoTablesGraphConfig.Field field)
field
- the fieldpublic static TwoTablesGraphConfig 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 TwoTablesGraphConfig 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 TwoTablesGraphConfig parse(Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modeCopyright © 2015. All rights reserved.