製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

Azure Synapse JDBC Driver

Azure Synapse データを組み込んだパワフルなJava アプリケーションを短時間・低コストで作成して配布できます。

データ連携でお困りですか?

お問い合わせ

RapidMiner からAzure Synapse データに連携


Azure Synapse をRapidMiner Studio の標準コンポーネント及びデータソース構成ウィザードと統合します。


azuresynapse ロゴ画像
jdbc ロゴ画像

JDBC

RapidMiner ロゴ画像

この記事では、CData JDBC Driver for AzureSynapse をRapidMiner のプロセスと簡単に統合する方法を示します。この記事では、CData JDBC Driver for AzureSynapse を使用してAzure Synapse をRapidMiner のプロセスに転送します。

RapidMiner のAzure Synapse にJDBC Data Source として接続する

以下のステップに従ってAzure Synapse へのJDBC 接続を確認できます。

  1. Azure Synapse 用の新しいデータベースドライバーを追加します。[Connections]->[Manage Database Drivers]とクリックします。
  2. 表示されるウィザードで[Add]ボタンをクリックし、接続に名前を入力します。
  3. JDBC URL のプレフィックスを入力します。 jdbc:azuresynapse:
  4. インストールディレクトリのlib サブフォルダにあるcdata.jdbc.azuresynapse.jar ファイルにパスを入力して下さい。
  5. ドライバークラスを入力します。 cdata.jdbc.azuresynapse.AzureSynapseDriver The JDBC driver configuration.(Salesforce is shown.)
  6. 新しいAzure Synapse 接続を作成します。[Connections]->[Manage Database Connections]とクリックします。
  7. 接続の名前を入力します。
  8. データベースシステムの場合は、以前構成したAzure Synapse ドライバーを選択します。
  9. Host ボックスで接続文字列を入力します。

    Connecting to Azure Synapse

    In addition to providing authentication (see below), set the following properties to connect to a Azure Synapse database:

    • Server: The server running Azure. You can find this by logging into the Azure portal and navigating to Azure Synapse Analytics -> Select your database -> Overview -> Server name.
    • Database: The name of the database, as seen in the Azure portal on the Azure Synapse Analytics page.

    Authenticating to Azure Synapse

    Connect to Azure Synapse using the following properties:

    • User: The username provided for authentication with Azure.
    • Password: The password associated with the authenticating user.

    ビルトイン接続文字列デザイナ

    JDBC URL の構成については、Azure Synapse JDBC Driver に組み込まれている接続文字列デザイナを使用してください。JAR ファイルのダブルクリック、またはコマンドラインからJAR ファイルを実行します。

    java -jar cdata.jdbc.azuresynapse.jar

    接続プロパティを入力し、接続文字列をクリップボードにコピーします。

    Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)

    以下は一般的な接続文字列です。

    User=myuser;Password=mypassword;Server=localhost;Database=Northwind;
  10. 必要であればユーザー名とパスワードを入力します。 The connection to the JDBC data source.(Salesforce is shown.)

プロセス内の様々なRapidMiner オペレーターとのAzure Synapse 接続を使用できます。Azure Synapse を取得するには、[Operators]ビューから[Retrieve]をドラッグします。 A Retrieve operation to select data.(Salesforce is shown.) [Retrieve]オペレータを選択した状態で、[repository entry]の横にあるフォルダアイコンをクリックして[Parameters]ビューで取得するテーブルを定義できます。表示されるRepository ブラウザで接続ノードを展開し、目的のサンプルセットを選択できます。

The Repository Browser window you can use to select an example set.(Salesforce is shown.)

最後に、[Retrieve]プロセスから結果に出力をワイヤリングし、プロセスを実行してAzure Synapse を確認します。

The results of the Retrieve operation.(Salesforce is shown.)