Skip to content

Add support for Cassandra storage type. #76

@framirez07

Description

@framirez07

Support for the new storage type Cassandra needs to be added in the spa codegen. The following guidelines should be considered:

  • Do not add support for sorting, both in the UI (React components) and in the graphql api requests.
  • Enforce cursor-based-pagination for Cassandra models. Do not add support for limit-offset-pagination.
  • Pagination functionality should include:
    • Forward pagination.
    • Jump to first page.
    • To be confirmed: Refresh current page using includeCursor option.
  • Pagination functionality should not include:
    • Backward pagination.
    • Jump to last page.
  • Search functionality should be limited to the following operators:
enum CassandraOperator{
    eq
    lt
    gt
    lte
    gte
    ne
    in
    contains   # CONTAINS
    ctk    # CONTAINS KEY
    tlt    # Token < Token
    tgt    # Token > Token
    and
}

Related issues

  • Translate the SQL data model API to Cassandra (CQL) #34

Related branches

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions