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