PGAdapter を取得する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページでは、PGAdapter バイナリを取得する方法について説明します。
JVM で PGAdapter をスタンドアロンで実行するには、最新の jar
ファイルと、必要な依存関係を含む新しい lib
ディレクトリをダウンロードします。
wget https://storage.googleapis.com/pgadapter-jar-releases/pgadapter.tar.gz \
&& tar -xzvf pgadapter.tar.gz
Docker コンテナで PGAdapter を実行するには、次のコマンドを実行して最新バージョンを取得します。
docker pull gcr.io/cloud-spanner-pg-adapter/pgadapter
バージョンをタグとして追加し、以前のバージョンを取得します。
docker pull gcr.io/cloud-spanner-pg-adapter/pgadapter:v<version-number>
プロセスで PGAdapter を使用するには:
次のコードを pom.xml
ファイルに追加し、プロジェクトに google-cloud-spanner-pgadapter
を依存関係として追加します。
次のステップ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-07-05 UTC。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]