Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

wdeng avatar image
wdeng asked wdeng answered

java driver跟cqlsh有啥关系吗?

java driver跟cqlsh有啥关系吗?

drivercqlsh
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

wdeng avatar image
wdeng answered

CQL Java Driver和CQLSH并没有直接的关系。唯一的关联是:他们都是Cassandra里的工具,因为它们都使用CQL协议跟Cassandra服务器通信。


CQL Java Driver可以作为库被Java应用程序调用访问Cassandra服务器上存的数据。CQLSH是用Python写的,利用CQL Python Driver来访问Cassandra数据库。CQLSH让你不用写程序就可以使用CQL命令访问你的数据库。

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.