Class StitchConfiguration
java.lang.Object
org.apache.camel.component.stitch.StitchConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
reactor.netty.resources.ConnectionProvider
ConnectionProvider contain configuration for the HttpClient like Maximum connection limit ..reactor.netty.http.client.HttpClient
Reactor Netty HttpClient, you can injected it if you want to have custom HttpClientA collection of comma separated strings representing the Primary Key fields in the source table.Stitch account region, e.g: europeSet a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interfaceA schema that describes the record(s)The name of the destination table the data is being pushed to.getToken()
Stitch access token for the Stitch Import APIvoid
setConnectionProvider
(reactor.netty.resources.ConnectionProvider connectionProvider) void
setHttpClient
(reactor.netty.http.client.HttpClient httpClient) void
setKeyNames
(String keyNames) void
setRegion
(StitchRegion region) void
setStitchClient
(StitchClient stitchClient) void
setStitchSchema
(StitchSchema stitchSchema) void
setTableName
(String tableName) void
-
Constructor Details
-
StitchConfiguration
public StitchConfiguration()
-
-
Method Details
-
getTableName
The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destination's allowed limits or data will rejected. -
setTableName
-
getToken
Stitch access token for the Stitch Import API -
setToken
-
getRegion
Stitch account region, e.g: europe -
setRegion
-
getStitchSchema
A schema that describes the record(s) -
setStitchSchema
-
getKeyNames
A collection of comma separated strings representing the Primary Key fields in the source table. Stitch use these Primary Keys to de-dupe data during loading If not provided, the table will be loaded in an append-only manner. -
setKeyNames
-
getHttpClient
public reactor.netty.http.client.HttpClient getHttpClient()Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient -
setHttpClient
public void setHttpClient(reactor.netty.http.client.HttpClient httpClient) -
getConnectionProvider
public reactor.netty.resources.ConnectionProvider getConnectionProvider()ConnectionProvider contain configuration for the HttpClient like Maximum connection limit .. etc, you can inject this ConnectionProvider and the StitchClient will initialize HttpClient with this ConnectionProvider -
setConnectionProvider
public void setConnectionProvider(reactor.netty.resources.ConnectionProvider connectionProvider) -
getStitchClient
Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface -
setStitchClient
-
copy
-