@Generated(value="config_generator.py") public class MultipleTablesGraphConfig extends AbstractMultipleTablesConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
MultipleTablesGraphConfig.Field
Fields of PGX Engine multiple Tables Format Graph Config
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.List<GraphPropertyConfig> |
getEdgeProps()
specification of edge properties associated with graph
|
java.lang.String |
getEdgesKeyColumn()
name of primary key column in edges table
|
java.lang.String |
getEdgesTableName()
name of edges table
|
java.util.List<MultipleTablesEdgeTypeConfig> |
getEdgeTypes()
information about edges: types, data tables, properties...
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
Format |
getFormat()
graph format (Note: bin is deprecated, use pgb instead)
|
java.lang.String |
getFromNidColumn()
column name for source node
|
java.lang.Integer |
getInsertBatchSize()
batch size of the rows to be inserted
|
java.lang.String |
getJdbcUrl()
jdbc URL pointing to database
|
GraphLoadingConfig |
getLoading()
loading-specific configuration
|
java.lang.Integer |
getMaxPrefetchedRows()
maximun number or rows prefetched during each round trip (resultset-the database)
|
java.lang.String |
getNodesKeyColumn()
name of primary key column in nodes table
|
java.lang.String |
getNodesTableName()
name of nodes table
|
java.util.List<MultipleTablesNodeTypeConfig> |
getNodeTypes()
information about nodes: types, data tables, properties...
|
java.lang.Integer |
getNumConnections()
number of connections to read/write data from/to two tables
|
java.lang.String |
getPassword()
password to use when connecting to database
|
java.lang.String |
getSchema()
schema where the tables are going to be written
|
java.lang.String |
getTablespace()
tablespace where the tables are going to be written
|
java.lang.String |
getToNidColumn()
column name for destination node
|
java.lang.String |
getUsername()
username to use when connecting to database
|
java.util.Map<MultipleTablesGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<MultipleTablesGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
IdType |
getVertexIdType()
type of the vertex id
|
java.util.List<GraphPropertyConfig> |
getVertexProps()
specification of vertex properties associated with graph
|
boolean |
hasDefaultValue(MultipleTablesGraphConfig.Field field)
Checks for default value.
|
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 MultipleTablesGraphConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static MultipleTablesGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static MultipleTablesGraphConfig |
parse(java.util.Properties props, boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
getNameequals, getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, hashCode, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, numEdgeProperties, numNodePropertiessetSerializablepublic java.lang.String getDataSourceId()
public java.lang.String getDateFormat()
getDateFormat in class GraphConfigpublic java.util.List<GraphPropertyConfig> getEdgeProps()
getEdgeProps in class GraphConfigpublic java.lang.String getEdgesKeyColumn()
public java.lang.String getEdgesTableName()
getEdgesTableName in class AbstractMultipleTablesConfigpublic java.util.List<MultipleTablesEdgeTypeConfig> getEdgeTypes()
getEdgeTypes in class AbstractMultipleTablesConfigpublic GraphErrorHandlingConfig getErrorHandling()
getErrorHandling in class GraphConfigpublic Format getFormat()
getFormat in class GraphConfigpublic java.lang.String getFromNidColumn()
public java.lang.Integer getInsertBatchSize()
public java.lang.String getJdbcUrl()
getJdbcUrl in class AbstractMultipleTablesConfigpublic GraphLoadingConfig getLoading()
getLoading in class GraphConfigpublic java.lang.Integer getMaxPrefetchedRows()
public java.lang.String getNodesKeyColumn()
public java.lang.String getNodesTableName()
getNodesTableName in class AbstractMultipleTablesConfigpublic java.util.List<MultipleTablesNodeTypeConfig> getNodeTypes()
getNodeTypes in class AbstractMultipleTablesConfigpublic java.lang.Integer getNumConnections()
public java.lang.String getPassword()
getPassword in class AbstractMultipleTablesConfigpublic java.lang.String getSchema()
public java.lang.String getTablespace()
public java.lang.String getToNidColumn()
public java.lang.String getUsername()
getUsername in class AbstractMultipleTablesConfigpublic java.util.Map<MultipleTablesGraphConfig.Field,java.lang.Object> getValues()
public java.util.Map<MultipleTablesGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public IdType getVertexIdType()
getVertexIdType in class GraphConfigpublic java.util.List<GraphPropertyConfig> getVertexProps()
getVertexProps in class GraphConfigpublic boolean hasDefaultValue(MultipleTablesGraphConfig.Field field)
field - the fieldpublic java.lang.Boolean isEdgeLabel()
isEdgeLabel in class GraphConfigtrue if this graph configuration has the edge label.public boolean isEmpty()
public java.lang.Boolean isVertexLabels()
isVertexLabels in class GraphConfigtrue if this graph configuration has the vertex label.public static MultipleTablesGraphConfig 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 MultipleTablesGraphConfig 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 MultipleTablesGraphConfig 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.ObjectCopyright © 2016, 2017 Oracle Corp. All Rights Reserved.