Skip to content

Simplify user-facing API #2

Open

Description

@CurleySamuel

Currently it's a bit difficult to formulate new requests. We should simplify down the user facing API.

Examples -

  1. Want to increment a certain cell? Be ready to pass a dictionary of dictionaries whose final values are 8 byte strings ("\x00\x00\x00\x00\x00\x00\x00\x02" to increment by 2).
  2. Most operations touch just a single cell. We should offer functions that interact with just a single cell - c.get_cell(table, key, column_family, column_qual). Avoid the user having to create a large dictionary unless they're a power user.
  3. Anything else you find.

(Could use HappyBase as a model?)

Activity

  1. added a commit that references this issue on Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions