如何在 cassandra 中使用 timeuuid 名称
我有一个问题,我想构建日志记录系统,该系统将使用 timeuuid 类型作为列名,以便我稍后可以询问。
由于对于按时间排序的范围查询,我需要使用 timeuuid 类型,我想问您如果 timeuuid 每次都是唯一的,并且我真的不知道列名称,那么我如何为 timeuuid 列名称指定范围查询,因为我只是知道它的存储时间吗?
请帮忙
I have a problem, I would like to build logging system which will be using timeuuid type as a column name which will allow me ask for it later.
Since for range queries order by time I need to use timeuuid type I would like to ask you how can I specify range queries for timeuuid column names if timeuuid is every time unique and I don't realy know the column name because of that I just know the time when it has been stored ?
please help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一切正常,事实证明列名不是必需的,但您不能使用 null,您需要使用空字符串
OK all works, it turned out that column names are not required but you can't use null you need to use empty string instead