{"id":13435893,"url":"https://github.com/apache/cassandra","last_synced_at":"2025-05-14T09:04:13.431Z","repository":{"id":37251353,"uuid":"206424","full_name":"apache/cassandra","owner":"apache","description":"Apache Cassandra®","archived":false,"fork":false,"pushed_at":"2025-05-06T17:27:59.000Z","size":452622,"stargazers_count":9181,"open_issues_count":549,"forks_count":3702,"subscribers_count":443,"default_branch":"trunk","last_synced_at":"2025-05-06T18:37:21.684Z","etag":null,"topics":["cassandra","database","java"],"latest_commit_sha":null,"homepage":"https://cassandra.apache.org/","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.asc","changelog":"CHANGES.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2009-05-21T02:10:09.000Z","updated_at":"2025-05-06T17:28:05.000Z","dependencies_parsed_at":"2023-09-23T16:15:24.131Z","dependency_job_id":"5a93289a-fb20-42f5-9cdb-24929a62c6c7","html_url":"https://github.com/apache/cassandra","commit_stats":{"total_commits":17648,"total_committers":641,"mean_commits":27.53198127925117,"dds":0.7395738893925657,"last_synced_commit":"c679b4730332ef67102ec7e47db891be2f8feabf"},"previous_names":[],"tags_count":327,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcassandra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcassandra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcassandra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcassandra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/cassandra/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252751775,"owners_count":21798694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cassandra","database","java"],"created_at":"2024-07-31T03:00:40.451Z","updated_at":"2025-05-06T18:54:14.476Z","avatar_url":"https://github.com/apache.png","language":"Java","readme":"Apache Cassandra\n-----------------\n\nApache Cassandra is a highly-scalable partitioned row store. Rows are organized into tables with a required primary key.\n\nhttps://cwiki.apache.org/confluence/display/CASSANDRA2/Partitioners[Partitioning] means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster.\n\nhttps://cwiki.apache.org/confluence/display/CASSANDRA2/DataModel[Row store] means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.\n\nFor more information, see http://cassandra.apache.org/[the Apache Cassandra web site].\n\nIssues should be reported on https://issues.apache.org/jira/projects/CASSANDRA/issues/[The Cassandra Jira].\n\nRequirements\n------------\n- Java: see supported versions in build.xml (search for property \"java.supported\").\n- Python: for `cqlsh`, see `bin/cqlsh` (search for function \"is_supported_version\").\n\n\nGetting started\n---------------\n\nThis short guide will walk you through getting a basic one node cluster up\nand running, and demonstrate some simple reads and writes. For a more-complete guide, please see the Apache Cassandra website's https://cassandra.apache.org/doc/latest/cassandra/getting_started/index.html[Getting Started Guide].\n\nFirst, we'll unpack our archive:\n\n  $ tar -zxvf apache-cassandra-$VERSION.tar.gz\n  $ cd apache-cassandra-$VERSION\n\nAfter that we start the server. Running the startup script with the -f argument will cause\nCassandra to remain in the foreground and log to standard out; it can be stopped with ctrl-C.\n\n  $ bin/cassandra -f\n\nNow let's try to read and write some data using the Cassandra Query Language:\n\n  $ bin/cqlsh\n\nThe command line client is interactive so if everything worked you should\nbe sitting in front of a prompt:\n\n----\nConnected to Test Cluster at localhost:9160.\n[cqlsh 6.3.0 | Cassandra 5.0-SNAPSHOT | CQL spec 3.4.8 | Native protocol v5]\nUse HELP for help.\ncqlsh\u003e\n----\n\nAs the banner says, you can use 'help;' or '?' to see what CQL has to\noffer, and 'quit;' or 'exit;' when you've had enough fun. But lets try\nsomething slightly more interesting:\n\n----\ncqlsh\u003e CREATE KEYSPACE schema1\n       WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };\ncqlsh\u003e USE schema1;\ncqlsh:Schema1\u003e CREATE TABLE users (\n                 user_id varchar PRIMARY KEY,\n                 first varchar,\n                 last varchar,\n                 age int\n               );\ncqlsh:Schema1\u003e INSERT INTO users (user_id, first, last, age)\n               VALUES ('jsmith', 'John', 'Smith', 42);\ncqlsh:Schema1\u003e SELECT * FROM users;\n user_id | age | first | last\n---------+-----+-------+-------\n  jsmith |  42 |  john | smith\ncqlsh:Schema1\u003e\n----\n\nIf your session looks similar to what's above, congrats, your single node\ncluster is operational!\n\nFor more on what commands are supported by CQL, see\nhttp://cassandra.apache.org/doc/latest/cql/[the CQL reference]. A\nreasonable way to think of it is as, \"SQL minus joins and subqueries, plus collections.\"\n\nWondering where to go from here?\n\n  * Join us in #cassandra on the https://s.apache.org/slack-invite[ASF Slack] and ask questions.\n  * Subscribe to the Users mailing list by sending a mail to\n    user-subscribe@cassandra.apache.org.\n  * Subscribe to the Developer mailing list by sending a mail to\n    dev-subscribe@cassandra.apache.org.\n  * Visit the http://cassandra.apache.org/community/[community section] of the Cassandra website for more information on getting involved.\n  * Visit the http://cassandra.apache.org/doc/latest/development/index.html[development section] of the Cassandra website for more information on how to contribute.\n","funding_links":[],"categories":["HarmonyOS","Java","JAVA","Databases","Applications","Uncategorized","Database","⚙️ Data Engineering","Back-End Development","应用","II. Databases, search engines, big data and machine learning","SQL","Awesome Algorithms","大数据"],"sub_categories":["Windows Manager","Column Databases","Development","Uncategorized","Columnar Database","Tools","开发","1. Databases and storages","SSTable"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcassandra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fcassandra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcassandra/lists"}