Versions Compared

Key

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

...

To support this feature, we provide schemaless alternatives for all write operations that can involve automatic schema updates (upsert, insert, etc).

Handshake

...

TUPLE_UPSERT_SCHEMALESS = 11

Request
UUIDtable ID
maptuple as map

Basic response.

TUPLE_GET = 12

...

TUPLE_UPSERT_ALL_SCHEMALESS = 14

Request
UUIDtable ID
arr of maparray of tuples

Basic response.

TUPLE_GET_ALL = 15

...

Response
intschema id for the current tuple
arr or niltuple values in schema order, or null when there was no matching record

TUPLE_GET_AND_

...

UPSERT_SCHEMALESS = 17

Request
UUIDtable ID
maptuple as map


Response
intschema id for the current tuple
arr or niltuple values in schema order, or null when there was no matching record

TUPLE_INSERT = 18

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

Basic response.

TUPLE_INSERT_SCHEMALESS = 19

Request
UUIDtable ID
maptuple as map

Basic response.

TUPLE_INSERT_ALL =

...

20

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_INSERT_ALL_SCHEMALESS = 21

Request
UUIDtable ID
arr of maparray of tuples

Basic response.

TUPLE_REPLACE =

...

22

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

...

Response
boolReplace result

TUPLE_REPLACE_SCHEMALESS = 23

Request
UUIDtable ID
maptuple as map


Response
boolReplace result

TUPLE_REPLACE2 =

...

24

Request
UUIDtable ID
intschema ID
arroldRec: values for all columns in given schema (nil when value is missing for a column)
arrnewRec: values for all columns in given schema (nil when value is missing for a column)


Response
boolReplace result

TUPLE_REPLACE2_SCHEMALESS = 25

Request
UUIDtable ID
mapoldRec: tuple as map
mapnewRec: tuple as map


Response
boolReplace result

TUPLE_GET_AND_REPLACE =

...

26

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


Response
intschema id for the current tuple
arr or niltuple values in schema order, or null when there was no matching record

TUPLE_GET_AND_REPLACE_SCHEMALESS = 27

Request
UUIDtable ID
maptuple as map


Response
intschema id for the current tuple
arr or niltuple values in schema order, or null when there was no matching record

TUPLE_DELETE =

...

28

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


Response
boolDelete result

TUPLE_DELETE_ALL =

...

29

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


Response
intschema ID (for all tuples in response)
arr of arrRecords that were not deleted: array of rows with values in schema order.

TUPLE_DELETE_EXACT =

...

30

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

...

Response
boolDelete result

TUPLE_DELETE_ALL_EXACT =

...

31

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)

...

Response
intschema ID (for all tuples in response)
arr of arrRecords that were not deleted: array of rows with values in schema order.

TUPLE_GET_AND_DELETE =

...

32

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

...