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 StitchConfiguration
copy()
reactor.netty.resources.ConnectionProvider
getConnectionProvider()
ConnectionProvider contain configuration for the HttpClient like Maximum connection limit ..reactor.netty.http.client.HttpClient
getHttpClient()
Reactor Netty HttpClient, you can injected it if you want to have custom HttpClientString
getKeyNames()
A collection of comma separated strings representing the Primary Key fields in the source table.StitchRegion
getRegion()
Stitch account region, e.g: europeStitchClient
getStitchClient()
Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interfaceStitchSchema
getStitchSchema()
A schema that describes the record(s)String
getTableName()
The name of the destination table the data is being pushed to.String
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
setToken(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()
-
-