AmazonRedshiftSource Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. CopySource - com.
azure. resourcemanager. datafactory. models. TabularSource - com.
azure. resourcemanager. datafactory. models. AmazonRedshiftSource
- com.
- com.
- com.
public final class AmazonRedshiftSource
extends TabularSource
A copy activity source for Amazon Redshift Source.
Constructor Summary
Constructor | Description |
---|---|
AmazonRedshiftSource() |
Creates an instance of Amazon |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
query()
Get the query property: Database query. |
Redshift |
redshiftUnloadSettings()
Get the redshift |
String |
type()
Get the type property: Copy source type. |
void |
validate()
Validates the instance. |
Amazon |
withAdditionalColumns(Object additionalColumns)
Set the additional |
Amazon |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
Amazon |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
Amazon |
withQuery(Object query)
Set the query property: Database query. |
Amazon |
withQueryTimeout(Object queryTimeout)
Set the query |
Amazon |
withRedshiftUnloadSettings(RedshiftUnloadSettings redshiftUnloadSettings)
Set the redshift |
Amazon |
withSourceRetryCount(Object sourceRetryCount)
Set the source |
Amazon |
withSourceRetryWait(Object sourceRetryWait)
Set the source |
Methods inherited from CopySource
Methods inherited from TabularSource
Methods inherited from java.lang.Object
Constructor Details
AmazonRedshiftSource
public AmazonRedshiftSource()
Creates an instance of AmazonRedshiftSource class.
Method Details
query
public Object query()
Get the query property: Database query. Type: string (or Expression with resultType string).
Returns:
redshiftUnloadSettings
public RedshiftUnloadSettings redshiftUnloadSettings()
Get the redshiftUnloadSettings property: The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3.
Returns:
type
public String type()
Get the type property: Copy source type.
Overrides:
AmazonRedshiftSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
AmazonRedshiftSource.validate()withAdditionalColumns
public AmazonRedshiftSource withAdditionalColumns(Object additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
Overrides:
AmazonRedshiftSource.withAdditionalColumns(Object additionalColumns)Parameters:
withDisableMetricsCollection
public AmazonRedshiftSource withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
Overrides:
AmazonRedshiftSource.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withMaxConcurrentConnections
public AmazonRedshiftSource withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
Overrides:
AmazonRedshiftSource.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withQuery
public AmazonRedshiftSource withQuery(Object query)
Set the query property: Database query. Type: string (or Expression with resultType string).
Parameters:
Returns:
withQueryTimeout
public AmazonRedshiftSource withQueryTimeout(Object queryTimeout)
Set the queryTimeout property: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
AmazonRedshiftSource.withQueryTimeout(Object queryTimeout)Parameters:
withRedshiftUnloadSettings
public AmazonRedshiftSource withRedshiftUnloadSettings(RedshiftUnloadSettings redshiftUnloadSettings)
Set the redshiftUnloadSettings property: The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3.
Parameters:
Returns:
withSourceRetryCount
public AmazonRedshiftSource withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
AmazonRedshiftSource.withSourceRetryCount(Object sourceRetryCount)Parameters:
withSourceRetryWait
public AmazonRedshiftSource withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
AmazonRedshiftSource.withSourceRetryWait(Object sourceRetryWait)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for