Operation: PutRow
With the PutRow operation, you insert rows with values from the XML input document into a table.
For more information on other operations of the Google Cloud Storage BigTable Connector, see Google Cloud Storage BigTable Connector.
Parameters
|
Main class of the adapter (do not change!) Possible values: de.softproject.integration.adapter.google.cloud.bigtable.storage.GoogleCloudBigtableAdapter: Main class (Default) |
| Path to the JSON file that contains the Service Account Key to authenticate against Google Cloud Storage. Possible values:
|
| ID of the project Possible values: ID of a Google Cloud project. Can be viewed in the Google Cloud Console. |
| ID of the instance Possible values: ID of a Google Cloud instance. Can be viewed in the Google Cloud Console. Note: For more information on how to create an instance in Google BigTable, see the Google Cloud documentation: Bigtable>Create and manage instances>Create an instance (https://cloud.google.com/bigtable/docs/creating-instance?hl=en). |
|
This parameter is required for this operation. Name of the table |
|
This parameter is required for this operation. Column family name. Groups columns with unique names. |
| Row key of the row. Identifier to insert or search rows. Note: The operation uses the |
Status values
| The adapter operation was executed successfully |
| The operation was not completed, but no error occurred. |
| The operation failed due to a technical error. |
Input
For the PutRow operation, the adapter expects XML in the following structure:
<ListRows>
<row rowKey="IT employee">
<rowAttribute1 columnName="ID" value="00001" />
<rowAttribute2 columnName="Address" value="Karlsruhe" />
<rowAttribute3 columnName="Name" value="Paolo" />
<rowAttribute4 columnName="Surname" value="Green" />
<rowAttribute5 columnName="Phone" value="552-968-369" />
<rowAttribute6 columnName="Bonus" value="Yes" />
<rowAttribute7 columnName="Profession" value="System Administrator" />
</row>
</ListRows>
Note:
Element names can be freely selected, but the rowKey, columnName, and value attributes are required.
Output
The adapter inserts rows with values from the XML input document into the specified table.