今すぐお試しください!

製品の詳細CData JDBC Driver for Lohaco を確認して、無償評価版をダウンロード:

今すぐダウンロード

Enable the CData JDBC Driver for Lohaco in KNIME

Use standard data access components in KNIME to create charts and reports with Lohaco data.

One of the strengths of the CData JDBC Driver for Lohaco is its cross-platform support, enabling integration with major BI tools. Follow the procedure below to access Lohaco data in KNIME and to create a chart from Lohaco data using the report designer.

Define a New JDBC Connection to Lohaco Data

  1. If you have not already done so, install the Report Designer extension: Click File -> Install KNIME Extensions, and filter on "Report".
  2. In a new workflow, click File -> Preferences and expand the KNIME -> Database Driver nodes to add cdata.jdbc.lohaco.jar. The driver JAR is located in the lib subfolder of the installation directory.
  3. In the Node Repository view, expand the Database node and drag a Database Reader onto the workflow editor.
  4. Double-click the Database Reader and set the following properties:

    • Database Driver: In the menu, select the CData JDBC driver.
    • Database URL: Enter the connection properties. The JDBC URL begins with jdbc:lohaco: and is followed by a semicolon-separated list of connection properties.

      Lohaco に接続する場合は、 SellerId、SSLClientCert、およびSSLClientCertType が必要です。

      Lohaco へのアクセスの設定

      SellerId、SSLClientCert、およびSSLClientCertType を取得するには、以下の手順に従ってください。

      • 「API 認証について」を参照して公開鍵と秘密鍵を生成します。
      • Lohaco ストアクリエイターにログインして、[設定]メニューの[証明書設定]に移動します。
      • [証明書を登録]をクリックして[公開鍵]、[許可IPアドレス]、[有効期限]を入力します。

      Lohaco アカウントの認証

      次の接続プロパティを設定して接続します。

      • SellerId:接続先のLohaco Store ID を設定。
      • SSLClientCert:プライベートキーのファイルパスを設定。
      • SSLClientCertType:値"PEMKEY_FILE" を設定。

      A typical JDBC URL is below. jdbc:lohaco:SellerId=MySellerId;SSlClientCert=C:\private.pem;SSLClientCertType=PEMKEY_FILE;

    • User Name: The username used to authenticate.
    • Password: The password used to authenticate.
    • SQL Statement: Enter an SQL query in the SQL Statement box or double-click a table. This article uses the query below to create a chart: SELECT ItemCd, Price FROM Items
  5. Test the connection by clicking Fetch Metadata.

  6. Connect the Database Reader to a Data to Report node to supply the dataset to a range of data visualization controls. Click Execute and then click Edit Report at the top of the workflow to open the report designer perspective.
  7. You can now generate reports based on live data. To create a chart, drag the chart control from the palette to the report designer. In the resulting wizard, you can use the filtering and aggregation controls available in KNIME.
 
 
ダウンロード