本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
使用 Cassandra 客户端驱动程序以编程方式访问亚马逊Keyspaces
您可以使用许多第三方开源 Cassandra 驱动程序来连接亚马逊 Keyspaces。亚马逊 Keyspaces 与支持 Apache Cassandra 版本 3.11.2 的 Cassandra 驱动程序兼容。有关 Cassandra 驱动程序的更多信息,请参阅 Apache Cassandra 客户端驱动程序
为了帮助您入门,您可以查看和下载使用常用驱动程序与 Amazon Keyspaces 建立连接的 end-to-end 代码示例。请参阅上的亚马逊Keyspaces 示例
本章中的教程包括一个简单的 CQL 查询,用于确认已成功建立与 Amazon Keyspaces 的连接。要了解在连接到 Amazon Keyspaces 终端节点后如何使用密钥空间和表,请参阅Amazon Keyspaces (for Apache Cassdra)。有关展示如何从 Amazon VPC 终端节点连接到 Amazon Keyspaces 的 step-by-step 教程,请参阅教程:使用接口 VPC 终端节点连接到 Amazon Keyspaces ch。
主题