PostgreSqlSource Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. CopySource - com.
azure. resourcemanager. datafactory. models. TabularSource - com.
azure. resourcemanager. datafactory. models. PostgreSqlSource
- com.
- com.
- com.
public final class PostgreSqlSource
extends TabularSource
A copy activity source for PostgreSQL databases.
Constructor Summary
| Constructor | Description |
|---|---|
| PostgreSqlSource() |
Creates an instance of Postgre |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Postgre |
fromJson(JsonReader jsonReader)
Reads an instance of Postgre |
| Object |
query()
Get the query property: Database query. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Copy source type. |
| void |
validate()
Validates the instance. |
|
Postgre |
withAdditionalColumns(Object additionalColumns)
Set the additional |
|
Postgre |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
|
Postgre |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Postgre |
withQuery(Object query)
Set the query property: Database query. |
|
Postgre |
withQueryTimeout(Object queryTimeout)
Set the query |
|
Postgre |
withSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Postgre |
withSourceRetryWait(Object sourceRetryWait)
Set the source |
Methods inherited from CopySource
Methods inherited from TabularSource
Methods inherited from java.lang.Object
Constructor Details
PostgreSqlSource
public PostgreSqlSource()
Creates an instance of PostgreSqlSource class.
Method Details
fromJson
public static PostgreSqlSource fromJson(JsonReader jsonReader)
Reads an instance of PostgreSqlSource from the JsonReader.
Parameters:
Returns:
Throws:
query
public Object query()
Get the query property: Database query. Type: string (or Expression with resultType string).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PostgreSqlSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Copy source type.
Overrides:
PostgreSqlSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
PostgreSqlSource.validate()withAdditionalColumns
public PostgreSqlSource 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:
PostgreSqlSource.withAdditionalColumns(Object additionalColumns)Parameters:
withDisableMetricsCollection
public PostgreSqlSource 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:
PostgreSqlSource.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withMaxConcurrentConnections
public PostgreSqlSource 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:
PostgreSqlSource.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withQuery
public PostgreSqlSource withQuery(Object query)
Set the query property: Database query. Type: string (or Expression with resultType string).
Parameters:
Returns:
withQueryTimeout
public PostgreSqlSource 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:
PostgreSqlSource.withQueryTimeout(Object queryTimeout)Parameters:
withSourceRetryCount
public PostgreSqlSource withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
PostgreSqlSource.withSourceRetryCount(Object sourceRetryCount)Parameters:
withSourceRetryWait
public PostgreSqlSource 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:
PostgreSqlSource.withSourceRetryWait(Object sourceRetryWait)Parameters: