Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request
stringtable name


Response
UUIDtable ID

...

SCHEMAS_

...

GET = 5

Request
UUIDtable ID
arrschema IDs


Response
map (
string → any)key-value pairs

...

int → array (array))Map from schema ID to columns. Column is represented by an array of values for: name, type, isKey. The array can contain extra data in future for additional properties.

TUPLE_UPSERT

...

=

...

10

Request
UUIDtable ID
intschema ID
arrvalues for all columns in given schema (nil when value is missing for a column)

Basic response.

Client side is supposed to match provided columns against the latest known schema. If all columns match, TUPLE_UPSERT_WITH_SCHEMA operation can be performed. Otherwise, when there are new columns, TUPLE_UPSERT is performed

TUPLE_GET =

...

11

Request
UUIDtable ID
arrvalues for key columns (any order)

...

Clients should retrieve schemas with SCHEMAS_GET and cache them per table.

SCHEMAS_GET = 8

...

Risks and Assumptions

TODO

...