databases_split_points
Creates, updates, deletes, gets or lists a databases_split_points
resource.
Overview
Name | databases_split_points |
Type | Resource |
Id | google.spanner.databases_split_points |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_instances_databases_add_split_points | insert | projectsId , instancesId , databasesId | Adds split points to specified tables and indexes of a database. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
databasesId | string | |
instancesId | string | |
projectsId | string |
INSERT
examples
- projects_instances_databases_add_split_points
- Manifest
Adds split points to specified tables and indexes of a database.
INSERT INTO google.spanner.databases_split_points (
data__splitPoints,
data__initiator,
projectsId,
instancesId,
databasesId
)
SELECT
'{{ splitPoints }}',
'{{ initiator }}',
'{{ projectsId }}',
'{{ instancesId }}',
'{{ databasesId }}'
;
# Description fields are for documentation purposes
- name: databases_split_points
props:
- name: projectsId
value: string
description: Required parameter for the databases_split_points resource.
- name: instancesId
value: string
description: Required parameter for the databases_split_points resource.
- name: databasesId
value: string
description: Required parameter for the databases_split_points resource.
- name: splitPoints
value: array
description: >
Required. The split points to add.
- name: initiator
value: string
description: >
Optional. A user-supplied tag associated with the split points. For example, "initial_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. The length of the tag must not exceed 50 characters, or else it is trimmed. Only valid UTF8 characters are allowed.