@Generated(value="config_generator.py") public class RdbmsEntityProviderConfig extends AbstractRdbmsEntityProviderConfig
Modifier and Type | Class and Description |
---|---|
static class |
RdbmsEntityProviderConfig.Field
Fields of PGX Engine Rdbms Entity Provider Config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map |
getAttributes()
additional attributes needed to read/write the graph data
|
static RdbmsEntityProviderConfig.Field[] |
getConfigFields() |
java.lang.String |
getDatabaseTableName()
name of the table in the database
|
java.lang.String |
getDataSourceId()
the data source id to use to connect to database
|
java.lang.String |
getDestinationColumn()
name of the column in the database containing the keys of the destination vertices
|
java.lang.String |
getDestinationVertexProvider()
name of the destination vertex provider to be used for this edge provider
|
GraphErrorHandlingConfig |
getErrorHandling()
error handling configuration
|
ProviderFormat |
getFormat()
provider format
|
java.lang.String |
getJdbcUrl()
jdbc URL pointing to database
|
java.lang.String |
getKeyColumn()
name of the column in the database table containing the keys of the entities
|
java.lang.String |
getKeystoreAlias()
alias to the keystore to use when connecting to database
|
IdType |
getKeyType()
type of the keys
|
java.lang.String |
getLabel()
label for the entities loaded from this provider
|
ProviderLoadingConfig |
getLoading()
loading-specific configuration
|
java.util.List<java.lang.String> |
getLocalDateFormat()
array of local_date formats to use when loading and storing local_date properties.
|
java.lang.Integer |
getMaxPrefetchedRows()
maximun number or rows prefetched during each round trip (resultset-the database)
|
java.lang.String |
getName()
entity provider name
|
java.lang.Integer |
getNumConnections()
number of connections to read/write data from/to the database table
|
java.lang.String |
getPoint2d()
longitude and latitude as floating point values separated by a space
|
java.util.List<GraphPropertyConfig> |
getProps()
specification of the properties associated with this entity provider
|
java.lang.String |
getSchema()
schema where the table is going to be written
|
java.lang.String |
getSourceColumn()
name of the column in the database containing the keys of the source vertices
|
java.lang.String |
getSourceVertexProvider()
name of the source vertex provider to be used for this edge provider
|
java.util.List<java.lang.String> |
getTimeFormat()
the time format to use when loading and storing time properties.
|
java.util.List<java.lang.String> |
getTimestampFormat()
the timestamp format to use when loading and storing timestamp properties.
|
java.util.List<java.lang.String> |
getTimestampWithTimezoneFormat()
the timestamp with timezone format to use when loading and storing timestamp with timezone properties.
|
java.util.List<java.lang.String> |
getTimeWithTimezoneFormat()
the time with timezone format to use when loading and storing time with timezone properties.
|
java.lang.String |
getUsername()
username to use when connecting to database
|
java.util.Map<RdbmsEntityProviderConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<RdbmsEntityProviderConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
java.lang.Character |
getVectorComponentDelimiter()
delimiter for the different components of vector properties
|
boolean |
hasDefaultValue(RdbmsEntityProviderConfig.Field field)
Checks for default value.
|
java.lang.Boolean |
hasKeys()
indicates if the provided entities data have keys
|
boolean |
isEmpty()
Checks if it's empty.
|
static RdbmsEntityProviderConfig |
parse(java.io.InputStream is,
boolean strict,
java.lang.String parentPath)
Parses an input stream.
|
static RdbmsEntityProviderConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw,
boolean strict,
java.lang.String parentPath)
Parses a raw key/value mapping.
|
static RdbmsEntityProviderConfig |
parse(java.util.Properties props,
boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
getDataSourceId, getJdbcUrl, getKeystoreAlias, getLoadedDatabaseTableName, getMaxPrefetchedRows, getNumConnections, getSchema, getUsername, hashCode, supportsVectorProperties, toEntityProviderConfigBuilder
getDestinationVertexKeyType, getPropertyDefault, getPropertyDimension, getPropertyName, getPropertyType, getSourceVertexKeyType, isKeyMappingEnabled, isLabelLoadingEnabled, numProperties, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat
public boolean equals(java.lang.Object obj)
equals
in class EntityProviderConfig
public java.util.Map getAttributes()
public static RdbmsEntityProviderConfig.Field[] getConfigFields()
public java.lang.String getDatabaseTableName()
getDatabaseTableName
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getDataSourceId()
getDataSourceId
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getDestinationColumn()
getDestinationColumn
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getDestinationVertexProvider()
getDestinationVertexProvider
in class EntityProviderConfig
public GraphErrorHandlingConfig getErrorHandling()
public ProviderFormat getFormat()
public java.lang.String getJdbcUrl()
getJdbcUrl
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getKeyColumn()
getKeyColumn
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getKeystoreAlias()
getKeystoreAlias
in interface CommonLoadableConfig<ProviderFormat>
getKeystoreAlias
in class AbstractRdbmsEntityProviderConfig
public IdType getKeyType()
getKeyType
in class EntityProviderConfig
public java.lang.String getLabel()
getLabel
in class EntityProviderConfig
public ProviderLoadingConfig getLoading()
getLoading
in class EntityProviderConfig
public java.util.List<java.lang.String> getLocalDateFormat()
public java.lang.Integer getMaxPrefetchedRows()
getMaxPrefetchedRows
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getName()
public java.lang.Integer getNumConnections()
getNumConnections
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getPoint2d()
public java.util.List<GraphPropertyConfig> getProps()
getProps
in class EntityProviderConfig
public java.lang.String getSchema()
getSchema
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getSourceColumn()
getSourceColumn
in class AbstractRdbmsEntityProviderConfig
public java.lang.String getSourceVertexProvider()
getSourceVertexProvider
in class EntityProviderConfig
public java.util.List<java.lang.String> getTimeFormat()
public java.util.List<java.lang.String> getTimestampFormat()
public java.util.List<java.lang.String> getTimestampWithTimezoneFormat()
public java.util.List<java.lang.String> getTimeWithTimezoneFormat()
public java.lang.String getUsername()
getUsername
in class AbstractRdbmsEntityProviderConfig
public java.util.Map<RdbmsEntityProviderConfig.Field,java.lang.Object> getValues()
public java.util.Map<RdbmsEntityProviderConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public java.lang.Character getVectorComponentDelimiter()
public boolean hasDefaultValue(RdbmsEntityProviderConfig.Field field)
hasDefaultValue
in class AbstractRdbmsEntityProviderConfig
field
- the fieldpublic java.lang.Boolean hasKeys()
hasKeys
in class EntityProviderConfig
public boolean isEmpty()
public static RdbmsEntityProviderConfig 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 RdbmsEntityProviderConfig 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 RdbmsEntityProviderConfig 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 java.lang.String toString(boolean hideSensitiveData)
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.