Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Schemaless operations

...

Client side is supposed to match provided columns against the latest known schema.

  • If columns don't match, request the latest schema and try again.
  • If the latest schema still does not match, and live schema is enabled, use TUPLE_

...

  • UPSERT_SCHEMALESS

TUPLE_UPSERT_SCHEMALESS = 11

Request
UUIDtable ID
maptuple as map

Basic response.

TUPLE_GET = 12

Request
UUIDtable ID
intschema ID
arr or nilvalues for key columns (in schema order), or null when there is no record with the given key

...

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

TUPLE_UPSERT_ALL =

...

13

Request
UUIDtable ID
intschema ID
arr of arrarray of rows with values for all columns in given schema (nil when value is missing for a column)

Basic response.

TUPLE_UPSERT_ALL_SCHEMALESS = 14

Request
UUIDtable ID
arr of maparray of tuples

Basic response.

TUPLE_GET_ALL =

...

15

Request
UUIDtable ID
intschema ID
arr of arrarray of rows with values for key columns (in schema order)

...

Response
intschema ID (for all tuples in response)
arr of arrarray of rows with values in schema order. Any row can be null

TUPLE_GET_AND_UPSERT =

...

16

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

...