Class StitchClientImpl

java.lang.Object
org.apache.camel.component.stitch.client.StitchClientImpl
All Implemented Interfaces:
Closeable, AutoCloseable, StitchClient

public class StitchClientImpl extends Object implements StitchClient
  • Method Details

    • batch

      public reactor.core.publisher.Mono<StitchResponse> batch(StitchRequestBody requestBody)
      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 interface StitchClient
      Parameters:
      requestBody - the required arguments as StitchRequestBody
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable