...
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 |
---|
UUID | table ID |
map | tuple as map |
Basic response.
TUPLE_GET = 12
...
TUPLE_UPSERT_ALL_SCHEMALESS = 14
Request |
---|
UUID | table ID |
arr of map | array of tuples |
Basic response.
TUPLE_GET_ALL = 15
...
Response |
---|
int | schema id for the current tuple |
arr or nil | tuple values in schema order, or null when there was no matching record |
TUPLE_GET_AND_
...
UPSERT_SCHEMALESS = 17
Request |
---|
UUID | table ID |
map | tuple as map |
Response |
---|
int | schema id for the current tuple |
arr or nil | tuple values in schema order, or null when there was no matching record |
TUPLE_INSERT = 18
Request |
---|
UUID | table ID |
int | schema ID |
arr | values for all columns in given schema (nil when value is missing for a column) |
Basic response.
TUPLE_INSERT_SCHEMALESS = 19
Request |
---|
UUID | table ID |
map | tuple as map |
Basic response.
TUPLE_INSERT_ALL =
...
20
Request |
---|
UUID | table ID |
int | schema ID |
arr of arr | array 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 |
---|
UUID | table ID |
arr of map | array of tuples |
Basic response.
TUPLE_REPLACE =
...
22
Request |
---|
UUID | table ID |
int | schema ID |
arr | values for all columns in given schema (nil when value is missing for a column) |
...
Response |
---|
bool | Replace result |
TUPLE_REPLACE_SCHEMALESS = 23
Request |
---|
UUID | table ID |
map | tuple as map |
Response |
---|
bool | Replace result |
TUPLE_REPLACE2 =
...
24
Request |
---|
UUID | table ID |
int | schema ID |
arr | oldRec: values for all columns in given schema (nil when value is missing for a column) |
arr | newRec: values for all columns in given schema (nil when value is missing for a column) |
Response |
---|
bool | Replace result |
TUPLE_REPLACE2_SCHEMALESS = 25
Request |
---|
UUID | table ID |
map | oldRec: tuple as map |
map | newRec: tuple as map |
Response |
---|
bool | Replace result |
TUPLE_GET_AND_REPLACE =
...
26
Request |
---|
UUID | table ID |
int | schema ID |
arr | values for all columns in given schema (nil when value is missing for a column) |
Response |
---|
int | schema id for the current tuple |
arr or nil | tuple values in schema order, or null when there was no matching record |
TUPLE_GET_AND_REPLACE_SCHEMALESS = 27
Request |
---|
UUID | table ID |
map | tuple as map |
Response |
---|
int | schema id for the current tuple |
arr or nil | tuple values in schema order, or null when there was no matching record |
TUPLE_DELETE =
...
28
Request |
---|
UUID | table ID |
int | schema ID |
arr | values for all key columns in given schema (nil when value is missing for a column) |
Response |
---|
bool | Delete result |
TUPLE_DELETE_ALL =
...
29
Request |
---|
UUID | table ID |
int | schema ID |
arr of arr | array of rows with values for all key columns in given schema (nil when value is missing for a column) |
Response |
---|
int | schema ID (for all tuples in response) |
arr of arr | Records that were not deleted: array of rows with values in schema order. |
TUPLE_DELETE_EXACT =
...
30
Request |
---|
UUID | table ID |
int | schema ID |
arr | values for all columns in given schema (nil when value is missing for a column) |
...
Response |
---|
bool | Delete result |
TUPLE_DELETE_ALL_EXACT =
...
31
Request |
---|
UUID | table ID |
int | schema ID |
arr of arr | array of rows with values for all columns in given schema (nil when value is missing for a column) |
...
Response |
---|
int | schema ID (for all tuples in response) |
arr of arr | Records that were not deleted: array of rows with values in schema order. |
TUPLE_GET_AND_DELETE =
...
32
Request |
---|
UUID | table ID |
int | schema ID |
arr | values for all columns in given schema (nil when value is missing for a column) |
...