腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(120)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
CqlEngine
- sync_table() KeyError:'
cqlengine
‘
我刚刚开始在python中使用
cqlengine
与Cassandra合作。我试着跟踪这个并尝试运行这个脚本:from
cqlengine
import Model example_idcolumns.Da
浏览 8
修改于2020-06-20
得票数 3
回答已采纳
1
回答
cqlengine
键空间
self, new_keyspace): self.old_keyspace = cassandra.
cqlengine
.models.DEFAULT_KEYSPACEdef __enter__(self): cassa
浏览 2
修改于2015-05-19
得票数 1
回答已采纳
3
回答
使用
cqlengine
查询
我想进行CQL查询建立连接后如何继续查询connection.setup(['127.0.0.1
浏览 32
修改于2014-02-28
得票数 1
2
回答
Cassandra -
Cqlengine
- TTL支持
我需要通过
cqlengine
使用TTL;但是没有关于它的文档。有人能帮帮我吗?谢谢
浏览 3
提问于2013-09-29
得票数 6
1
回答
Cassandra -
CqlEngine
-使用集合
-我想这样做:在CQL3中:SET top_places = [ 'the shire' ] + top_places WHERE user_id = 'frodo';我想知道我是如何通过can读取集合字段的。它是我django项目中的字典吗?我怎么能用呢?!! 请帮帮忙。谢谢
浏览 1
修改于2013-08-16
得票数 4
回答已采纳
1
回答
无法使用
cqlengine
python模型从cassandra获取数据:
我正在尝试使用cassandrapython
cqlengine
来访问cassandra数据库,当列不是列表类型时,我能够进行过滤。_contains='a') File "/usr/local/lib/python3.4/dist-packages/
cqlengine
-0.21.0-py3.4.egg/
cqlengine
/operators.py&qu
浏览 0
修改于2016-10-15
得票数 0
1
回答
使用“类型”动态定义
CQLEngine
模型
我试图在运行时使用“type”来定义类,以定义cassandra
cqlengine
模型。在定义模型类时,我看到了以下错误from cassandra.
cqlengine
import columns
浏览 2
提问于2018-10-13
得票数 0
回答已采纳
1
回答
Cassandra
cqlengine
未反映模型架构更改-迁移
我遵循了cassandra
cqlengine
教程。import uuidfrom cassandra.
cqlengine
import connectionfrom cassandra.
cqlengine
.management import sync_table
浏览 0
提问于2016-12-27
得票数 0
1
回答
我不能在centos上运行
cqlengine
我也安装了
cqlengine
,但是当我想运行我的项目时发生了这个错误: can not import model
cqlengine
CAn任何人都可以帮我做些什么..谢谢
浏览 1
提问于2013-07-23
得票数 0
1
回答
Python
cqlengine
blobasinet替代方案
columnname)192.168.97.12 192.168.96.9 此查询将返回Blob字段的IP字符串 此查询的
cqlengine
浏览 15
提问于2019-02-15
得票数 0
1
回答
在
cqlengine
中插入多行
我正在插入/更新多行/approximately 800行/到卡桑德拉表。我不想在python中使用循环。我搜索并找到了批处理查询。但不能用它。谢谢。
浏览 5
提问于2022-03-02
得票数 0
回答已采纳
1
回答
卡桑德拉
CQLEngine
允许过滤
我正在使用Python Cassandra
Cqlengine
扩展。我创建了多到多个表,但在user_applications模型查询过滤过程中收到了错误。如果要在性能不可预测性的情况下执行此查询,请使用“允许筛选” q = UserApplications.filter(membership_id=r.membership_iduser_id=r.user_id,
C
浏览 5
修改于2018-08-06
得票数 1
回答已采纳
1
回答
cassandra
cqlengine
中的varchar列类型
from cassandra.
cqlengine
import columns from django_cassandra_engine.models import DjangoCassandraModelrequired=True) 本文档列出了所有数据类型,但它没有varchar类型的https://docs.datastax.com/en/drivers/python/2.5/api/cassandra/
cqlengine
浏览 28
修改于2020-10-25
得票数 1
回答已采纳
1
回答
用
CQLEngine
更新UDT集
我是卡桑德拉的新手,我试图使用
CQLEngine
ORM更新包含UDT的set列,但我做不到,文档也没有提到任何定制类型。
浏览 1
修改于2016-12-13
得票数 3
回答已采纳
1
回答
cqlengine
模型默认值和uuid
在使用
cqlengine
模型时,我发现了default_values和uuid的意外行为。from cassandra.
cqlengine
import columns, connection, management from cassandra.
cqlengine
.models
浏览 10
提问于2015-05-19
得票数 1
回答已采纳
1
回答
cassandra
cqlengine
映射键上的列索引
使用Cassandra python驱动程序映射器
cqlengine
创建带有地图集合的模型时,似乎只能在地图值上创建索引 id = columns.UUID() WITH CLUSTERING ORDER BY (time_id DESC)如何让
cqlengine
浏览 0
提问于2016-02-19
得票数 2
1
回答
cqlengine
:创建嵌套映射的方法
我们可以以何种方式在模型中创建嵌套映射,例如 id = columns.UUID(primary_key=True, default=uuid.uuid4)我希望“value_type”(在地址中)再次成为一个字典,我们应该如何使用using数据建模来实现这一点。
浏览 1
提问于2014-08-12
得票数 0
回答已采纳
1
回答
如何使用
cqlengine
在Cassandra中定义冻结的列?
some_field frozen <list<int>> 但是我很难弄清楚如何在Python中使用
cqlengine
, some_field = columns.List(columns.Integer(), primary_key=True) 我如何使用
cqlengine
来完成同样的事情?编辑:最终代码片段如下所示, from cassandra.
cqlengine
import columns from cassandra.
cqlengine
.models import Model
浏览 23
修改于2019-01-27
得票数 0
回答已采纳
1
回答
卡桑德拉2-
CQLEngine
:存储图像错误
我试图在database.This中存储图像,这是我获取图像的代码:imageData = StringIO.StringIO()myImage = imageData.getvalue()myTable.create(...some fields , image=myImage)Bad Request: Invalid STRING constant(ff
浏览 2
修改于2013-09-24
得票数 1
回答已采纳
2
回答
如何用
CQLEngine
在Cassandra中创建无价值列
我有一个关于如何通过
CQLEngine
在Cassandra中创建无价值的列的问题。我的意思是,出于某种目的,我希望将信息存储在列名中,而不是列值中。但在
CqlEngine
中,您应该在模型文件中运行项目之前定义列名。谢谢你的帮助。
浏览 3
提问于2013-07-22
得票数 3
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
点击加载更多
领券