Class AbstractPartitionedGraphConfig

    • Constructor Detail

      • AbstractPartitionedGraphConfig

        public AbstractPartitionedGraphConfig()
    • Method Detail

      • toGraphConfigBuilder

        public PartitionedGraphConfigBuilder toGraphConfigBuilder()
        Specified by:
        toGraphConfigBuilder in interface oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
      • getPartitionWhileLoading

        public PartitionWhileLoading getPartitionWhileLoading()
        Description copied from class: GraphConfig
        Indicates if the graph should be heterogenized during loading
        Specified by:
        getPartitionWhileLoading in class GraphConfig
        Returns:
        true if the graph should be heterogenized during loading, false or null otherwise
      • getValidatedVertexIdStrategy

        public IdStrategy getValidatedVertexIdStrategy()
        Validates and return the ID strategy used for vertices (checking if the strategy is compatible with the rest of the graph configuration)
        Overrides:
        getValidatedVertexIdStrategy in class GraphConfig
        Returns:
        the ID strategy that can be used for the vertices of the graph
      • getValidatedEdgeIdStrategy

        public IdStrategy getValidatedEdgeIdStrategy()
        Validates and return the ID strategy used for edges (checking if the strategy is compatible with the rest of the graph configuration)
        Overrides:
        getValidatedEdgeIdStrategy in class GraphConfig
        Returns:
        the ID strategy that can be used for the edges of the graph
      • getValidatedVertexIdType

        public IdType getValidatedVertexIdType()
        Validates and return the ID type used for vertices (checking if the type is compatible with the rest of the configuration)
        Overrides:
        getValidatedVertexIdType in class GraphConfig
        Returns:
        the ID type that can be used for the vertices of the graph
      • getValidatedEdgeIdType

        public IdType getValidatedEdgeIdType()
        Validates and return the ID type used for edges (checking if the type is compatible with the rest of the configuration)
        Overrides:
        getValidatedEdgeIdType in class GraphConfig
        Returns:
        the ID type that can be used for the edges of the graph
      • getRedactionRules

        public abstract java.util.List<oracle.pgx.config.PgxRedactionRuleConfig> getRedactionRules()
        Get the redaction rules from this graph configuration
        Returns:
        the list of PgxRedactionRuleConfig
      • getRulesMapping

        public abstract java.util.List<oracle.pgx.config.PgxRedactionRuleMappingConfig> getRulesMapping()
        Get the mapping between redaction rules and users/roles
        Returns:
        the list of PgxRedactionRuleMappingConfig
      • getVertexProviders

        public abstract java.util.List<EntityProviderConfig> getVertexProviders()
        Get the vertex providers of this graph configuration
        Returns:
        the list of URIs
      • getEdgeProviders

        public abstract java.util.List<EntityProviderConfig> getEdgeProviders()
        Get the vertex providers of this graph configuration
        Returns:
        the list of URIs
      • getNumConnections

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

        public abstract java.util.List<java.lang.String> getQueries()
        A list of queries used to determine which data to load from the database. Data matching at least one of the queries will be loaded. Not setting any query will load the entire graph.
        Returns:
        the list of queries
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class GraphConfig
      • getNumConnections

        public java.lang.Integer getNumConnections​(int machineCount,
                                                   int defaultNumConnectionsTotal)
      • isCompKeyPresent

        public boolean isCompKeyPresent()