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