一致性级别:QUORUM 或 QUORUM spring-data-cassandra?
Consistency level: QUORUM or QUOROM spring-data-cassandra?
在org.springframework.data:spring-cql
、
package org.springframework.cassandra.core;
/**
* Generic Consistency Levels associated with Cassandra.
*
* @author David Webb
*/
public enum ConsistencyLevel {
ANY, ONE, TWO, THREE, QUOROM, LOCAL_QUOROM, EACH_QUOROM, ALL, LOCAL_ONE, SERIAL, LOCAL_SERIAL
}
'QUOROM'是打字错误还是Spring-数据故意这样写?
不确定你在暗示什么...
Is 'QUOROM' a typo or Spring-data intentionally writes like that?
但是,也许你应该看看...
https://github.com/spring-projects/spring-data-cassandra/pull/54
很明显,这是项目原作者的错字。最近,SD Cassandra 已作为 Pivotal 拥有和维护的项目引入。
虽然我们确实计划合并此 PR(很快,可能会用于 1.5.M1 (Ingalls)
版本),但它也是一个界面破坏性更改,因此需要仔细注意,这已经适当且合理 done by atoumle .
无论如何,我们始终欢迎社区贡献和反馈,所以如果您觉得有什么地方不正确,无论是源代码、文档还是示例,欢迎您打开 JIRA ticket or submit a PR。
谢谢!
在org.springframework.data:spring-cql
、
package org.springframework.cassandra.core;
/**
* Generic Consistency Levels associated with Cassandra.
*
* @author David Webb
*/
public enum ConsistencyLevel {
ANY, ONE, TWO, THREE, QUOROM, LOCAL_QUOROM, EACH_QUOROM, ALL, LOCAL_ONE, SERIAL, LOCAL_SERIAL
}
'QUOROM'是打字错误还是Spring-数据故意这样写?
不确定你在暗示什么...
Is 'QUOROM' a typo or Spring-data intentionally writes like that?
但是,也许你应该看看...
https://github.com/spring-projects/spring-data-cassandra/pull/54
很明显,这是项目原作者的错字。最近,SD Cassandra 已作为 Pivotal 拥有和维护的项目引入。
虽然我们确实计划合并此 PR(很快,可能会用于 1.5.M1 (Ingalls)
版本),但它也是一个界面破坏性更改,因此需要仔细注意,这已经适当且合理 done by atoumle .
无论如何,我们始终欢迎社区贡献和反馈,所以如果您觉得有什么地方不正确,无论是源代码、文档还是示例,欢迎您打开 JIRA ticket or submit a PR。
谢谢!