PostgreSqlV2Source Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySource - com.
azure. analytics. synapse. artifacts. models. TabularSource - com.
azure. analytics. synapse. artifacts. 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 |
getQuery()
Get the query property: Database query. |
| String |
getType()
Get the type property: Copy source type. |
|
Postgre |
setAdditionalColumns(Object additionalColumns)
Set the additional |
|
Postgre |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Postgre |
setQuery(Object query)
Set the query property: Database query. |
|
Postgre |
setQueryTimeout(Object queryTimeout)
Set the query |
|
Postgre |
setSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Postgre |
setSourceRetryWait(Object sourceRetryWait)
Set the source |
|
Json |
toJson(JsonWriter jsonWriter) |
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:
getQuery
public Object getQuery()
Get the query property: Database query. Type: string (or Expression with resultType string).
Returns:
getType
public String getType()
Get the type property: Copy source type.
Overrides:
PostgreSqlV2Source.getType()Returns:
setAdditionalColumns
public PostgreSqlV2Source setAdditionalColumns(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.setAdditionalColumns(Object additionalColumns)Parameters:
setMaxConcurrentConnections
public PostgreSqlV2Source setMaxConcurrentConnections(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.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setQuery
public PostgreSqlV2Source setQuery(Object query)
Set the query property: Database query. Type: string (or Expression with resultType string).
Parameters:
Returns:
setQueryTimeout
public PostgreSqlV2Source setQueryTimeout(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.setQueryTimeout(Object queryTimeout)Parameters:
setSourceRetryCount
public PostgreSqlV2Source setSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
PostgreSqlV2Source.setSourceRetryCount(Object sourceRetryCount)Parameters:
setSourceRetryWait
public PostgreSqlV2Source setSourceRetryWait(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.setSourceRetryWait(Object sourceRetryWait)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PostgreSqlV2Source.toJson(JsonWriter jsonWriter)Parameters:
Throws: