Class AbstractRdbmsEntityProviderConfig

    • Constructor Detail

      • AbstractRdbmsEntityProviderConfig

        public AbstractRdbmsEntityProviderConfig()
    • Method Detail

      • toEntityProviderConfigBuilder

        public RdbmsEntityProviderConfigBuilder toEntityProviderConfigBuilder()
        Specified by:
        toEntityProviderConfigBuilder in interface oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder
      • getSourceKeyColumns

        @BetaApi
        public abstract java.util.List<? extends ForeignKeyColumnDescriptor> getSourceKeyColumns()
        Get the source key declaration associated with this entity provider config. A source key is composed of one or more source key columns, each referring to one key column of the source vertex provider. Use getValidatedSourceKeyColumns() ()} instead of this function, as that function will also consider legacy configs.
        Returns:
        Source key columns declared in the config.
        Since:
        25.2.0
      • getValidatedSourceKeyColumns

        @BetaApi
        public java.util.List<? extends ForeignKeyColumnDescriptor> getValidatedSourceKeyColumns()
        Validate and get the source key declaration associated with this provider configuration. This function will use the source key returned by either getSourceKeyColumns() or legacy function.
        Returns:
        A list of validated foreign key column descriptors.
        Since:
        25.2.0
      • getDestinationKeyColumns

        @BetaApi
        public abstract java.util.List<? extends ForeignKeyColumnDescriptor> getDestinationKeyColumns()
        Get the destination key declaration associated with this entity provider config. A destination key is composed of one or more destination key columns, each referring to one key column of the destination vertex provider. Use getValidatedDestinationKeyColumns() instead of this function, as that function will also consider legacy configs.
        Returns:
        Destination key columns declared in the config.
        Since:
        25.2.0
      • getValidatedDestinationKeyColumns

        @BetaApi
        public java.util.List<? extends ForeignKeyColumnDescriptor> getValidatedDestinationKeyColumns()
        Validate and get the source key declaration associated with this provider configuration. This function will use the source key returned by either getDestinationKeyColumns() or legacy function.
        Returns:
        A list of validated foreign key column descriptors.
        Since:
        25.2.0
      • supportsVectorProperties

        public boolean supportsVectorProperties()
        Check if this graph configuration's format supports having vector properties or not
        Overrides:
        supportsVectorProperties in class EntityProviderConfig
        Returns:
        true if this graph configuration's format supports vector properties, false otherwise
      • getDatabaseTableName

        public abstract java.lang.String getDatabaseTableName()
      • getNumConnections

        public abstract java.lang.Integer getNumConnections()
        number of connections to read/write data from/to the RDBMS table
        Returns:
        the number of connections
      • getLoadedDatabaseTableName

        public java.lang.String getLoadedDatabaseTableName()
        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
      • getNumConnections

        public java.lang.Integer getNumConnections​(AbstractPartitionedGraphConfig graphConfig,
                                                   int machineCount,
                                                   int defaultNumConnectionsTotal)