Class StitchClientImpl
java.lang.Object
org.apache.camel.component.stitch.client.StitchClientImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,StitchClient
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<StitchResponse> batch
(StitchRequestBody requestBody) Create a batch Resource URL: /v2/import/batch Pushes a record or multiple records for a specified table to Stitch.void
close()
-
Method Details
-
batch
Description copied from interface:StitchClient
Create a batch Resource URL: /v2/import/batch Pushes a record or multiple records for a specified table to Stitch. Each request to this endpoint may only contain data for a single table. When data for a table is pushed for the first time, Stitch will create the table in the destination in the specified integration schema. How data is loaded during subsequent pushes depends on: 1. The loading behavior types used by the destination. Stitch supports Upsert and Append-Only loading. 2. Whether the key_names property specifies Primary Key fields. If Primary Keys aren’t specified, data will be loaded using Append-Only loading.- Specified by:
batch
in interfaceStitchClient
- Parameters:
requestBody
- the required arguments as StitchRequestBody
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-