Package oracle.pgx.config
Class AbstractEsEntityProviderConfig
- java.lang.Object
-
- oracle.pgx.config.AbstractConfig
-
- oracle.pgx.config.EntityProviderConfig
-
- oracle.pgx.config.AbstractEsEntityProviderConfig
-
- All Implemented Interfaces:
CommonLoadableConfig<ProviderFormat>
,EsConnectionConfig
,oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder
- Direct Known Subclasses:
EsEntityProviderConfig
public abstract class AbstractEsEntityProviderConfig extends EntityProviderConfig implements EsConnectionConfig
-
-
Field Summary
-
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractEsEntityProviderConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
abstract java.lang.String
getDestinationField()
abstract java.lang.String
getEsIndexName()
Es Index namejava.lang.String
getEsIndexName(AbstractPartitionedGraphConfig graphConfig)
java.lang.String
getEsUrl(AbstractPartitionedGraphConfig graphConfig)
abstract java.lang.String
getKeyField()
abstract java.lang.String
getKeystoreAlias()
Gets the keystore alias.java.lang.String
getKeystoreAlias(AbstractPartitionedGraphConfig graphConfig)
java.lang.String
getLoadedEsIndexName()
Gives the name of the table in the database the we should load the data from.java.lang.Integer
getMaxBatchSize(AbstractPartitionedGraphConfig graphConfig)
java.lang.String
getScrollTime(AbstractPartitionedGraphConfig graphConfig)
abstract java.lang.String
getSourceField()
java.lang.String
getUsername(AbstractPartitionedGraphConfig graphConfig)
abstract boolean
hasDefaultValue(EsEntityProviderConfig.Field field)
int
hashCode()
boolean
supportsVectorProperties()
Check if this graph configuration's format supports having vector properties or notEsEntityProviderConfigBuilder
toEntityProviderConfigBuilder()
-
Methods inherited from class oracle.pgx.config.EntityProviderConfig
getDestinationVertexKeyType, getDestinationVertexProvider, getKeyType, getLabel, getLoading, getName, getPropertyDefault, getPropertyDimension, getPropertyName, getPropertyType, getProps, getSourceVertexKeyType, getSourceVertexProvider, getValidatedLabel, hasKeys, isKeyMappingEnabled, isLabelLoadingEnabled, numProperties, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties
-
Methods inherited from class oracle.pgx.config.AbstractConfig
getDefault, getValueFromEnvironment, getValueFromEnvironment, getValues, parseString, setSerializable
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface oracle.pgx.config.CommonLoadableConfig
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat, getAttributes, getErrorHandling, getFormat, getLocalDateFormat, getTimeFormat, getTimestampFormat, getTimestampWithTimezoneFormat, getTimeWithTimezoneFormat, getVectorComponentDelimiter
-
Methods inherited from interface oracle.pgx.config.EsConnectionConfig
getEsUrl, getMaxBatchSize, getProxyUrl, getScrollTime, getUsername
-
-
-
-
Method Detail
-
toEntityProviderConfigBuilder
public EsEntityProviderConfigBuilder toEntityProviderConfigBuilder()
- Specified by:
toEntityProviderConfigBuilder
in interfaceoracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder
-
hasDefaultValue
public abstract boolean hasDefaultValue(EsEntityProviderConfig.Field field)
-
getKeyField
public abstract java.lang.String getKeyField()
-
getSourceField
public abstract java.lang.String getSourceField()
-
getDestinationField
public abstract java.lang.String getDestinationField()
-
supportsVectorProperties
public boolean supportsVectorProperties()
Check if this graph configuration's format supports having vector properties or not- Overrides:
supportsVectorProperties
in classEntityProviderConfig
- Returns:
true
if this graph configuration's format supports vector properties,false
otherwise
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classEntityProviderConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classEntityProviderConfig
-
getKeystoreAlias
public abstract java.lang.String getKeystoreAlias()
Description copied from interface:CommonLoadableConfig
Gets the keystore alias.- Specified by:
getKeystoreAlias
in interfaceCommonLoadableConfig<ProviderFormat>
- Returns:
- the keystore alias or null if underlying format does not require a keystore
-
getEsIndexName
public abstract java.lang.String getEsIndexName()
Description copied from interface:EsConnectionConfig
Es Index name- Specified by:
getEsIndexName
in interfaceEsConnectionConfig
- Returns:
- the Es Index
-
getLoadedEsIndexName
public java.lang.String getLoadedEsIndexName()
Gives the name of the table in the database the we should load the data from. If the database table name field is not set, it uses the name of the (PGX) table in the graph config.- Returns:
- the name of the database table to load the data from
-
getEsUrl
public java.lang.String getEsUrl(AbstractPartitionedGraphConfig graphConfig)
-
getEsIndexName
public java.lang.String getEsIndexName(AbstractPartitionedGraphConfig graphConfig)
-
getScrollTime
public java.lang.String getScrollTime(AbstractPartitionedGraphConfig graphConfig)
-
getUsername
public java.lang.String getUsername(AbstractPartitionedGraphConfig graphConfig)
-
getKeystoreAlias
public java.lang.String getKeystoreAlias(AbstractPartitionedGraphConfig graphConfig)
-
getMaxBatchSize
public java.lang.Integer getMaxBatchSize(AbstractPartitionedGraphConfig graphConfig)
-
-