X4 Produktdokumentation

Operation: GetRow

With the GetRow operation, you search the table by passing the rowKey value via parameters and issue the result in XML.

For more information on other operations of the Google Cloud Storage BigTable Connector, see Google Cloud Storage BigTable Connector.

Parameters

Adapter

🚫

Main class of the adapter (do not change!)

Possible values:

de.softproject.integration.adapter.google.cloud.bigtable.storage.GoogleCloudBigtableAdapter: Main class (Default)

serviceAccountFile

Path to the JSON file that contains the Service Account Key to authenticate against Google Cloud Storage.

Possible values:

  • System path, e.g.: C:\X4\V_5.4\Server\X4DB\1\ExampleProcess\GoogleCloud\Config\serviceAccountFile.json

  • X4DB URL, e.g.:
    X4db://1/ExampleProcess/GoogleCloud/Config/serviceAccountFile.json

  • XStore URL, e.g.:
    XStore://ExampleProcess/GoogleCloud/Config/serviceAccountFile.json

projectID

ID of the project

Possible values:

ID of a Google Cloud project. Can be viewed in the Google Cloud Console.

instanceID

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).

tableName

✳️

This parameter is required for this operation.

Name of the table

columnFamilyName

✳️

This parameter is required for this operation.

Column family name. Groups columns with unique names.

rowKey

Row key of the row. Identifier to insert or search rows.

Status values

1

The adapter operation was executed successfully

0

The operation was not completed, but no error occurred.

-1

The operation failed due to a technical error.

Output

<Result>
    <Row rowKey="DEV employee">
        <RowColumn ColumnName="Address" value="Ettlingen" />
<RowColumn ColumnName="Frameworks" value="Java-Hibernate" />
        <RowColumn ColumnName="ID" value="00003" />
        <RowColumn ColumnName="Name" value="Lorena" />
    </Row>
</Result>