Gda
Extends:
GDA User API
User API for Generic Data Access. The data are stored on a per-user basis. Users can put, get, list their data.
Static Member Summary
Static Public Members | ||
public static get |
Get default deployment id associated to Gda service |
Method Summary
Public Methods | ||
public |
get(objectPattern: {"table": *, "key": *, "owner": *}): * Asks for a data row |
|
public |
getCells(objectPattern: {"table": *, "key": *, "key2": *, "owner": *, "column": *}): * Asks for a data cell |
|
public |
inc(objectPattern: {"table": *, "data": *, "key": *, "key2": *, "owner": *, "column": *}): * Increments an integer value |
|
public |
list(objectPattern: {"columns": *, "table": *, "owner": *, "page": *}): * Asks for a list of rows |
|
public |
put(objectPattern: {"table": *, "data": *, "key": *, "key2": *, "owner": *, "column": *}): * Puts some data into a cell |
|
public |
puts(objectPattern: {"rows": *, "table": *, "owner": *}): * Puts several rows |
|
public |
range(objectPattern: {"columns": *, "start": *, "table": *, "stop": *, "owner": *, "page": *}): * Asks for a range of rows |
|
public |
removeCell(objectPattern: {"table": *, "key": *, "key2": *, "owner": *, "column": *}): * Removes one cell inside a column of a row |
|
public |
removeColumn(objectPattern: {"table": *, "key": *, "owner": *, "column": *}): * Removes one full column of a row |
|
public |
removeRange(objectPattern: {"columns": *, "start": *, "table": *, "stop": *, "owner": *}): * Removes a range of rows |
|
public |
removeRow(objectPattern: {"table": *, "key": *, "owner": *}): * Removes one full row |
Static Public Members
Public Methods
public get(objectPattern: {"table": *, "key": *, "owner": *}): * source
Asks for a data row
Returns a full data row.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "key": *, "owner": *} |
|
Return:
* |
public getCells(objectPattern: {"table": *, "key": *, "key2": *, "owner": *, "column": *}): * source
Asks for a data cell
Returns a precise list of cells from a column in a data row.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "key": *, "key2": *, "owner": *, "column": *} |
|
Return:
* |
public inc(objectPattern: {"table": *, "data": *, "key": *, "key2": *, "owner": *, "column": *}): * source
Increments an integer value
Increments a cell 64-bit signed integer value and returns the result in the data field. The increment is atomic : if you concurrently increment 10 times a value by 1, the final result will be the initial value plus 10. The actual individual resulting values seen by the 10 concurrent callers may vary discontinuously, with duplicates : at least one of them will see the final (+10) result.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "data": *, "key": *, "key2": *, "owner": *, "column": *} |
|
Return:
* |
public list(objectPattern: {"columns": *, "table": *, "owner": *, "page": *}): * source
Asks for a list of rows
Returns a paginated list of rows from the given table.
Params:
Name | Type | Attribute | Description |
objectPattern | {"columns": *, "table": *, "owner": *, "page": *} |
|
Return:
* |
public put(objectPattern: {"table": *, "data": *, "key": *, "key2": *, "owner": *, "column": *}): * source
Puts some data into a cell
Creates or replaces the contents of a particular cell.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "data": *, "key": *, "key2": *, "owner": *, "column": *} |
|
Return:
* |
public puts(objectPattern: {"rows": *, "table": *, "owner": *}): * source
Puts several rows
Creates or replaces the (maybe partial) contents of a collection of rows. This method only creates or replaces cells for non-null input values.
Params:
Name | Type | Attribute | Description |
objectPattern | {"rows": *, "table": *, "owner": *} |
|
Return:
* |
public range(objectPattern: {"columns": *, "start": *, "table": *, "stop": *, "owner": *, "page": *}): * source
Asks for a range of rows
Returns a paginated range of rows from the given table. A range consists of consecutive rows from the start key (inclusive) to the stop key (exclusive). You can specify partial keys for the start and stop fields.
Params:
Name | Type | Attribute | Description |
objectPattern | {"columns": *, "start": *, "table": *, "stop": *, "owner": *, "page": *} |
|
Return:
* |
public removeCell(objectPattern: {"table": *, "key": *, "key2": *, "owner": *, "column": *}): * source
Removes one cell inside a column of a row
Removes only one cell of the given column of the given row from the given table.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "key": *, "key2": *, "owner": *, "column": *} |
|
Return:
* |
public removeColumn(objectPattern: {"table": *, "key": *, "owner": *, "column": *}): * source
Removes one full column of a row
Removes all cells of the given column of the given row from the given table.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "key": *, "owner": *, "column": *} |
|
Return:
* |
public removeRange(objectPattern: {"columns": *, "start": *, "table": *, "stop": *, "owner": *}): * source
Removes a range of rows
Removes the specified columns of the given range of rows from the given table.
Params:
Name | Type | Attribute | Description |
objectPattern | {"columns": *, "start": *, "table": *, "stop": *, "owner": *} |
|
Return:
* |
public removeRow(objectPattern: {"table": *, "key": *, "owner": *}): * source
Removes one full row
Removes all columns of the given row from the given table.
Params:
Name | Type | Attribute | Description |
objectPattern | {"table": *, "key": *, "owner": *} |
|
Return:
* |