public abstract class EntityProviderConfig extends AbstractConfig implements CommonLoadableConfig<ProviderFormat>, oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Constructor and Description |
---|
EntityProviderConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
IdType |
getDestinationVertexKeyType()
Get the key type corresponding to the destination vertex provider of this edge provider configuration
|
abstract java.lang.String |
getDestinationVertexProvider()
Get the name of the destination vertex provider
|
abstract IdType |
getKeyType()
Get the key type of this provider configuration
|
abstract java.lang.String |
getLabel()
Get the custom label configured for the entities from this provider.
|
abstract ProviderLoadingConfig |
getLoading()
Get the loading configuration of this provider configuration
|
abstract java.lang.String |
getName()
Get the name of this provider configuration
|
java.lang.Object |
getPropertyDefault(int i)
Get the default value of a property by index
|
int |
getPropertyDimension(int i)
Get the dimension of a property by index
|
java.lang.String |
getPropertyName(int i)
Get the name of a property by index
|
PropertyType |
getPropertyType(int i)
Get the type of a property by index
|
abstract java.util.List<GraphPropertyConfig> |
getProps()
Get the properties of this provider configuration
|
IdType |
getSourceVertexKeyType()
Get the key type corresponding to the source vertex provider of this edge provider configuration
|
abstract java.lang.String |
getSourceVertexProvider()
Get the name of the source vertex provider
|
java.lang.String |
getValidatedLabel()
Get the label configured for the entities from this provider.
|
int |
hashCode() |
abstract java.lang.Boolean |
hasKeys()
indicates if the provider data has keys
|
boolean |
isKeyMappingEnabled()
Check if key mapping is enabled
|
boolean |
isLabelLoadingEnabled()
Checks if label loading is enabled
|
int |
numProperties()
Get the number of properties in this provider configuration
|
boolean |
supportsPropertyColumn()
Check if this provider configuration's format supports having a column indication for properties
|
static boolean |
supportsPropertyColumn(ProviderFormat format)
Check if a format support having a column indication for properties
|
boolean |
supportsVectorProperties()
Check if this graph configuration's format supports having vector properties or not
|
static boolean |
supportsVectorProperties(ProviderFormat format)
Check if a format support having vector properties or not
|
getDefault, getValueFromEnvironment, getValueFromEnvironment, getValues, parseString, setSerializable
getClass, notify, notifyAll, toString, wait, wait, wait
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat, getAttributes, getErrorHandling, getFormat, getKeystoreAlias, getLocalDateFormat, getTimeFormat, getTimestampFormat, getTimestampWithTimezoneFormat, getTimeWithTimezoneFormat, getVectorComponentDelimiter
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public IdType getDestinationVertexKeyType()
public abstract java.lang.String getDestinationVertexProvider()
public abstract IdType getKeyType()
public abstract java.lang.String getLabel()
public abstract ProviderLoadingConfig getLoading()
public abstract java.lang.String getName()
getName
in interface CommonLoadableConfig<ProviderFormat>
public java.lang.Object getPropertyDefault(int i)
i
- the 0-based index of the propertypublic int getPropertyDimension(int i)
i
- the 0-based index of the propertypublic java.lang.String getPropertyName(int i)
i
- the 0-based index of the propertypublic PropertyType getPropertyType(int i)
i
- the 0-based index of the propertypublic abstract java.util.List<GraphPropertyConfig> getProps()
public IdType getSourceVertexKeyType()
public abstract java.lang.String getSourceVertexProvider()
public java.lang.String getValidatedLabel()
public int hashCode()
hashCode
in class java.lang.Object
public abstract java.lang.Boolean hasKeys()
public boolean isKeyMappingEnabled()
public boolean isLabelLoadingEnabled()
public int numProperties()
public boolean supportsPropertyColumn()
true
if this provider configuration's format supports property columns, false
otherwisepublic static boolean supportsPropertyColumn(ProviderFormat format)
format
- the format to checktrue
if given format supports property columns, false
otherwisepublic boolean supportsVectorProperties()
true
if this graph configuration's format supports vector proeprties, false
otherwisepublic static boolean supportsVectorProperties(ProviderFormat format)
format
- the format to checktrue
if given format supports vector properties, false
otherwise