Deprecated Features

Review the deprecated features in Oracle Graph Server and Client.

  • Oracle Linux 7

    Oracle Linux 7 is deprecated. Instead, use Oracle Linux 8.

  • Graph Server REST API Version 1

    Graph Server REST API Version 1 is deprecated. It is recommended that you use Graph Server REST API Version 2.

  • formatter parameter in https://localhost:7007/v2/runQuery endpoint

    The formatter parameter in https://localhost:7007/v2/runQuery endpoint is deprecated.

  • PG_VIEW field

    The PG_VIEW constant is deprecated from GraphSource and SourceType. Instead, use PG_PGQL.

  • Interfaces, Classes and Methods deprecated for oracle.pgx.api
    • CompiledProgram.destroy(boolean) is deprecated. Instead, use CompiledProgram.destroy().
    • ComponentCollection.destroy(boolean) is deprecated. Instead, use ComponentCollection.destroy().
    • Partition.destroy(boolean) is deprecated. Instead, use Partition.destroy().
    • PgxGraph.destroy(PgxGraph.Retention) is deprecated. Instead, use PgxGraph.destroy().
    • PgxVertexTableFromFramesCreator is deprecated. Instead, use PgxVertexProviderFromFramesCreator.
    • PgxEdgeTableFromFramesCreator is deprecated. Instead, use PgxEdgeProviderFromFramesCreator.
    • PgxGraphFromFramesCreator.edgeTable(...) is deprecated. Instead, use PgxGraphFromFramesCreator.edgeProvider(String, String, String, PgxFrame).
    • PgxGraphFromFramesCreator.vertexTable(...) is deprecated. Instead, use PgxGraphFromFramesCreator.vertexProvider(String, PgxFrame).
    • GraphConfig.getLoading() is deprecated. Instead, use GraphConfig.getLoadingOptions().
    • AbstractFileGraphConfigBuilder.setStoringConfig(...) is deprecated. Instead, use AbstractFileGraphConfigBuilder.setStoringOptions(FileGraphStoringConfig).
    • AbstractFileGraphConfig.getStoring() is deprecated. Instead, use AbstractFileGraphConfig.getStoringOptions().
    • AbstractFileEntityProviderConfig.getStoring() is deprecated. Instead, use AbstractFileEntityProviderConfig.getStoringOptions().
    • FileEntityProviderConfigBuilder.setStoring(FileGraphStoringConfig) is deprecated. Instead, use FileEntityProviderConfigBuilder.setStoringOptions(FileGraphStoringConfig).
    • PartitionedGraphConfigBuilder.setPgViewName(String) is deprecated. Instead, use PartitionedGraphConfigBuilder.setSourceName(String) and PartitionedGraphConfigBuilder.setSourceType(sourceType).
    • PickingStrategyBuilder.setPickByProperty(String , PickingStrategyFunction) is deprecated. Instead, use PickingStrategyBuilder.setPickByProperty(EdgeProperty, PickingStrategyFunction).
    • VertexFilter(String filterExpression) is deprecated. Instead, use VertexFilter.fromExpression(String).
    • EdgeFilter(String filterExpression) is deprecated. Instead, use EdgeFilter.fromExpression(String).
    • ServerInstance.getSessionInfo(...) is deprecated. Instead, use ServerInstance.getServerState(...).
    • ServerInstance.getGraphInfo(...) is deprecated. Instead, use ServerInstance.getServerState(...).
    • ServerInstance.getMemoryInfo(...) is deprecated. Instead, use ServerInstance.getServerState(...).
    • ServerInstance.getThreadPoolInfo(...) is deprecated. Instead, use ServerInstance.getServerState(...).
    • ControlResource.getSessionBoundGraphInfo(String, String, Request, UriInfo) is deprecated. Instead, use ControlResource.getServerState(String, Request, UriInfo).
    • oracle.pgx.api.filter.ResultSetFilter is deprecated. Instead, use oracle.pgx.api.filter.internal.ResultSetFilter.
    • oracle.pgx.api.filter.ResultSetVertexFilter is deprecated. Instead, use oracle.pgx.api.filter.internal.ResultSetVertexFilter.
    • oracle.pgx.api.filter.ResultSetEdgeFilter is deprecated. Instead, use oracle.pgx.api.filter.internal.ResultSetEdgeFilter.
  • PgxML
    • UnsupervisedGraphWiseModel.getDgiLayerConfigs() is deprecated. Instead, use UnsupervisedGraphWiseModel.getEmbeddingConfig().
    • UnsupervisedGraphWiseModelConfig.getDgiLayerConfigs() is deprecated. Instead, use UnsuperVisedGraphWiseModelConfig.getEmbeddingConfig().
    • UnsupervisedGraphWiseModelConfig.setDgiLayerConfigs(GraphWiseDgiLayerConfig) is deprecated. Instead, use UnsupervisedGraphWiseModelConfig.setEmbeddingConfig(GraphWiseEmbeddingConfig).
    • The SupervisedGraphWiseModel.getLossFunction() method is deprecated. Instead, use SupervisedGraphWiseModel.getLossFunctionClass().
  • Configuration Fields
    • node_id_type is deprecated. Instead, use vertex_id_type.
    • node_props is deprecated. Instead, use vertex_props.
    • create_node_id_index is deprecated. Instead, use create_vertex_id_index.
    • create_node_id_mapping is deprecated. Instead, use create_vertex_id_mapping.
    • pg_view_name in PartitionedGraphConfig is deprecated. Instead, use source_name, source_type, and pg_view.
    • PropertyType.RO_STRING_SET, LONG_SET, SPARSE is deprecated.
    • enable_client_authentication is deprecated. Instead, use native PGX authentication.
  • PgxSession.readSubgraph() methods
    • session.readSubgraph().fromPgView() is deprecated. Instead, use session.readSubgraph().fromPgPgql().
    • graph.expandGraph().withPgql().fromPgView() is deprecated. Instead, use graph.expandGraph().withPgql().fromPgPgql().
  • PyPGX
    • PgxSession.read_subgraph_from_pg_view() is deprecated. Instead, use PgxSession.read_subgraph_from_pg_pgql().
    • The following function signatures are deprecated for PgxGraph:
      • get_or_create_edge_property(name, data_type=None, dim=0)

        Instead, use get_or_create_edge_property(type, /, name).

      • get_or_create_edge_vector_property(data_type, dim, name=None)

        Instead, use get_or_create_edge_vector_property(type, dimension, /, name).

      • get_or_create_vertex_property(name, data_type=None, dim=0)

        Instead, use get_or_create_vertex_property(type, /, name).

      • get_or_create_vertex_vector_property(data_type, dim, name=None)

        Instead, use get_or_create_vertex_vector_property(type, dimension, /, name).

      Note the following changes that apply for the new signatures:

      • name is no longer optional
      • type is the first argument followed by dimension, and name is the final argument
      • data_type and dim are deprecated
    • DeepWalkModel.validation_fraction, Pg2vecModel.validation_fraction, and the validation_fraction argument of Analyst.pg2vec_builder() are deprecated.

      The loss is computed on all samples.

    • The following attributes on Operation are now deprecated: graph_id, operation_type, cost_estimate, total_cost_estimate, cardinality_estimate, pattern_info, and children. Instead, use the corresponding getter methods, such as get_graph_id(), get_operation_type(), and so on.
    • The pgx_version attribute in ServerInstance class is deprecated. Instead, use get_version().
    • The attribute pg_view_name in PartitionedGraphConfig is deprecated. Instead, use source_name and source_type.
    • set_standarize in GraphWiseModelConfig is deprecated. Instead, use set_standardize.
    • The return value of PgqlResultSet.get_vertex_labels may or may not be a list.