shell Cassandra导入
- 作者: 2b哥
- 来源: 51数据库
- 2020-09-30
下载个 OFFICE2007 安装时把ACCESS选上..然后打开数据库.一看就明白.
cassandra的文件包中,bin下有自带的数据库操作命令行工具cassandra-cli,lib中有可供java编程访问的driver.我们先介绍命令行工具的基本数据库操作:
$ bin/cassandra-cli
>> connected to: "test cluster" on 127.0.0.1/9160 welcome to cassandra cli version 2.0.3 the cli is deprecated and will be removed in cassandra 3.0. consider migrating to cqlsh. cql is fully backwards compatible with thrif
>> [default@unknown]
key space类似于数据库的概念,首先需要创建一个key space.
cassandra的文件包中,bin下有自带的数据库操作命令行工具cassandra-cli,lib中有可供java编程访问的driver.我们先介绍命令行工具的基本数据库操作:
$ bin/cassandra-cli
>> connected to: "test cluster" on 127.0.0.1/9160 welcome to cassandra cli version 2.0.3 the cli is deprecated and will be removed in cassandra 3.0. consider migrating to cqlsh. cql is fully backwards compatible with thrif
>> [default@unknown]
key space类似于数据库的概念,首先需要创建一个key space.
推荐阅读