非推奨となった機能

Oracle Graph Server and Clientで非推奨となった機能を確認します。

  • グラフ・ビジュアライゼーション・アプリケーション

    https://<server_host>:7007/ui/で実行されるグラフ・ビジュアライゼーション・アプリケーションは非推奨です。かわりに、ブラウザでURL https://<server_host>:7007/dash/を開いて、新しいグラフ・ビジュアライゼーション・アプリケーションを使用します。

    詳細は、「グラフ・ビジュアライゼーション・アプリケーションの使用」を参照してください。

    古いグラフ・ビジュアライゼーション・アプリケーションと新しいグラフ・ビジュアライゼーション・アプリケーションの両方がこのリリースでサポートされています。

  • PG_VIEWフィールド

    PG_VIEW定数は、GraphSourceおよびSourceTypeから非推奨です。かわりに、PG_PGQLを使用します。

  • PgxSession.readSubgraph()メソッド
    • session.readSubgraph().fromPgView()は非推奨です。かわりに、session.readSubgraph().fromPgPgql()を使用します。
    • graph.expandGraph().withPgql().fromPgView()は非推奨です。かわりに、graph.expandGraph().withPgql().fromPgPgql()を使用します。
  • PgxSession.getGraphs() function

    PgxSession.getGraphs()メソッドは非推奨です。かわりに、getGraphs(Namespace namespace)を使用します。

  • PyPGX
    • PgxSession.read_subgraph_from_pg_view()は非推奨です。かわりに、PgxSession.read_subgraph_from_pg_pgql()を使用します。
    • 次の関数シグネチャは、PgxGraphでは非推奨です:
      • get_or_create_edge_property(name, data_type=None, dim=0)

        かわりに、get_or_create_edge_property(type, /, name)を使用します。

      • get_or_create_edge_vector_property(data_type, dim, name=None)

        かわりに、get_or_create_edge_vector_property(type, dimension, /, name)を使用します。

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

        かわりに、get_or_create_vertex_property(type, /, name)を使用します。

      • get_or_create_vertex_vector_property(data_type, dim, name=None)

        かわりに、get_or_create_vertex_vector_property(type, dimension, /, name)を使用します。

      新しいシグネチャに適用される次の変更に注意してください:

      • nameはオプションではなくなりました
      • typeが最初の引数で、その後にdimensionが続きます。nameが最後の引数です
      • data_typeおよびdimは非推奨です
    • Analyst.pg2vec_builder()DeepWalkModel.validation_fractionPg2vecModel.validation_fractionおよびvalidation_fraction引数は非推奨です。

      損失はすべてのサンプルで計算されます。

    • Operationの次の属性は非推奨となりました: graph_idoperation_typecost_estimatetotal_cost_estimatecardinality_estimatepattern_infoおよびchildren。かわりに、get_graph_id()get_operation_type()などの対応するgetterメソッドを使用します。
    • ServerInstanceクラスのpgx_version属性は非推奨となりました。かわりに、get_version()を使用します。
    • PartitionedGraphConfigの属性pg_view_nameは非推奨となりました。かわりに、source_nameおよびsource_typeを使用します。
    • GraphWiseModelConfigset_standarizeは非推奨となりました。かわりに、set_standardizeを使用してください。
    • PgqlResultSet.get_vertex_labelsの戻り値は、リストの場合とそうでない場合があります。
  • PgxML
    • メソッドsetValidationFractionおよびgetValidationFractionは、DeepWalkおよびPg2vecでは非推奨であり、すべてのサンプルで損失が計算されるようになりました。
    • GraphWiseModel.inferAndGetExplanation()は非推奨となりました。かわりに、GraphWiseModel.gnnExplainer()を使用してモデルのGnnExplainerオブジェクトを取得し、GnnExplainer.inferAndExplain()を使用してください。
    • oracle.pgx.api.mllib APIのPg2vecModelBuilder.setUseGraphletSize(java.lang.Boolean useGraphletSize)メソッドは非推奨となりました。かわりに、Pg2vecModelBuilder.setUseGraphletSize(boolean useGraphletSize)メソッドを使用します。
    • SupervisedGraphWiseModelBuilder.setLossFunction(SupervisedGraphWiseModelConfig.LossFunction ...)は非推奨となりました。かわりに、SupervisedGraphWiseModelBuilder.setLossFunction(LossFunction ...)関数を使用してください。
  • GraphServer#getInstance API

    次のGraphServer#getInstance APIは非推奨となりました:

    • GraphServer.getInstance(ClientConfig clientConfig, String username, char[] password, int refreshTimeBeforeTokenExpiry)
    • GraphServer.getInstance(String baseUrl, String username, char[] password, int refreshTimeBeforeTokenExpiry)
    • GraphServer.getInstance(String baseUrl, String kerberosTicketPath, int refreshTimeBeforeTokenExpiry)

    かわりに、pgx.confファイルでrefresh_time_before_token_expiry_secondsパラメータを構成します。

  • PgqlViewGraphExpanderに対して非推奨のメソッド

    PgqlViewGraphExpander.schema(String)およびPgqlViewGraphExpander.owner(String)は非推奨となりました。かわりに、PgqlViewGraphExpander.fromPgView(String, String)を使用します。

  • グラフ・サーバー(PGX)構成フィールド

    グラフ・サーバー構成フィールドserver_certおよびserver_private_keyは非推奨となりました。かわりに、server_keystoreを使用してください。

  • サブグラフのロード

    フィルタ式を使用したサブグラフの作成は非推奨となりました。かわりに、PGQLプロパティ・グラフからのサブグラフのロードを使用します。