Class StitchConfiguration
- java.lang.Object
-
- org.apache.camel.component.stitch.StitchConfiguration
-
-
Constructor Summary
Constructors Constructor Description StitchConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StitchConfigurationcopy()reactor.netty.resources.ConnectionProvidergetConnectionProvider()ConnectionProvider contain configuration for the HttpClient like Maximum connection limit ..reactor.netty.http.client.HttpClientgetHttpClient()Reactor Netty HttpClient, you can injected it if you want to have custom HttpClientStringgetKeyNames()A collection of comma separated strings representing the Primary Key fields in the source table.StitchRegiongetRegion()Stitch account region, e.g: europeStitchClientgetStitchClient()Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interfaceStitchSchemagetStitchSchema()A schema that describes the record(s)StringgetTableName()The name of the destination table the data is being pushed to.StringgetToken()Stitch access token for the Stitch Import APIvoidsetConnectionProvider(reactor.netty.resources.ConnectionProvider connectionProvider)voidsetHttpClient(reactor.netty.http.client.HttpClient httpClient)voidsetKeyNames(String keyNames)voidsetRegion(StitchRegion region)voidsetStitchClient(StitchClient stitchClient)voidsetStitchSchema(StitchSchema stitchSchema)voidsetTableName(String tableName)voidsetToken(String token)
-
-
-
Method Detail
-
getTableName
public String 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
public void setTableName(String tableName)
-
getToken
public String getToken()
Stitch access token for the Stitch Import API
-
setToken
public void setToken(String token)
-
getRegion
public StitchRegion getRegion()
Stitch account region, e.g: europe
-
setRegion
public void setRegion(StitchRegion region)
-
getStitchSchema
public StitchSchema getStitchSchema()
A schema that describes the record(s)
-
setStitchSchema
public void setStitchSchema(StitchSchema stitchSchema)
-
getKeyNames
public String 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
public void setKeyNames(String keyNames)
-
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
public StitchClient getStitchClient()
Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface
-
setStitchClient
public void setStitchClient(StitchClient stitchClient)
-
copy
public StitchConfiguration copy()
-
-