【问题标题】:Apache Ignite with Apache CassandraApache Ignite 与 Apache Cassandra
【发布时间】:2017-01-26 23:34:13
【问题描述】:

我正在探索基于 Cassandra 的 Apache Ignite 作为一种可能的工具,以便能够对 cassandra 表进行临时查询。使用 Ignite 就可以了 可以搜索或查询底层 cassandra 表(如 RDBMS)中的任何列吗?或者可以加入列和搜索 列只能是分区列和集群列?

如果使用 Ignite,是否还需要在 cassandra 上创建索引?另外 ignite 如何处理物化视图?会不会有需要 创建物化视图?

此外,任何有关 Ignite 可以/将如何处理 cassandra 版本更新的见解都会非常有帮助。

我会进一步阐述我的问题:

Customer table:

CREATE TABLE customer (
    customer_id INT,
    joined_date date,
    name text,
    address TEXT,
    is_active boolean,
    created_by text,
    updated_by text,
    last_updated timestamp,
    PRIMARY KEY(customer_id, joined_date)
);

Product table:
CREATE TABLE PDT_BY_ID (
    device_id uuid,
    desc text,
    serial_number text,
    common_name text,
    customer_id int,
    manu_name text,
    last_updated timestamp,
    model_number text,
    price double,
  PRIMARY KEY((device_id), serial_number)
) WITH CLUSTERING ORDER BY (serial_number ASC);

可以使用 apache Ignite 对这些表进行连接。 但是非主键可以加入吗? 例如,是否可以对产品表进行查询,例如 'where customer_id = ... AND model_number like = '%ABC%' ' 等? 是否可以提供类似 RDBMS 的查询,可以在任何列上提供条件? 对表运行临时查询?

【问题讨论】:

    标签: cassandra ignite


    【解决方案1】:
    猜你喜欢
    • 2018-10-04
    • 1970-01-01
    • 1970-01-01
    • 2016-07-02
    • 2016-02-29
    • 1970-01-01
    • 1970-01-01
    • 2012-09-01
    • 2021-04-28
    相关资源
    最近更新 更多