CassandraGettingStarted:Cassandra 入门博文的正确代码

时间:2021-06-26 05:00:34
【文件属性】:
文件名称:CassandraGettingStarted:Cassandra 入门博文的正确代码
文件大小:29KB
文件格式:ZIP
更新时间:2021-06-26 05:00:34
Java Cassandra 入门 介绍 我刚开始使用 ,并正在查看 Planet Cassandra 中的各种示例代码。 我关注了上的和博客文章,但由于各种编译问题和代码问题,我无法使代码正常工作。 Cassandra 中的软件包已在最新版本中进行了重构。 但是入门博客文章没有更新。 此存储库包含上述Getting Started with Apache Cassandra博客文章的更正代码。 此代码修复了所有这些编译错误,还有助于使用简单的 Gradle 脚本轻松执行代码。 理想情况下,这个 repo 可能只是一个简单的面向测试用例。 也许这更有意义。 数据库配置 请在运行 Java 代码之前在 CQL 上运行以下命令。 DROP KEYSPACE demo; CREATE KEYSPACE demo WITH REPLICATION = { 'class' : 'SimpleStrat
【文件预览】:
CassandraGettingStarted-master
----CassandraGettingStarted.eml(874B)
----LICENSE(11KB)
----src()
--------main()
----.idea()
--------scopes()
--------gradle.xml(652B)
--------misc.xml(11KB)
--------vcs.xml(164B)
--------.name(23B)
--------copyright()
--------modules.xml(286B)
--------encodings.xml(164B)
--------compiler.xml(711B)
--------workspace.xml(48KB)
--------libraries()
--------inspectionProfiles()
----.project(346B)
----.classpath(1KB)
----.gitignore(3KB)
----README.md(2KB)
----CassandraGettingStarted.iml(2KB)
----build.gradle(1KB)

网友评论