Class CosmosDbSqlApiSource
java.lang.Object
com.azure.analytics.synapse.artifacts.models.CopySource
com.azure.analytics.synapse.artifacts.models.CosmosDbSqlApiSource
A copy activity Azure CosmosDB (SQL API) Collection source.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalColumns property: Specifies the additional columns to be added to source data.Get the detectDatetime property: Whether detect primitive values as datetime values.Get the pageSize property: Page size of the result.Get the preferredRegions property: Preferred regions.getQuery()
Get the query property: SQL API query.setAdditionalColumns
(Object additionalColumns) Set the additionalColumns property: Specifies the additional columns to be added to source data.setDetectDatetime
(Object detectDatetime) Set the detectDatetime property: Whether detect primitive values as datetime values.setMaxConcurrentConnections
(Object maxConcurrentConnections) Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.setPageSize
(Object pageSize) Set the pageSize property: Page size of the result.setPreferredRegions
(Object preferredRegions) Set the preferredRegions property: Preferred regions.Set the query property: SQL API query.setSourceRetryCount
(Object sourceRetryCount) Set the sourceRetryCount property: Source retry count.setSourceRetryWait
(Object sourceRetryWait) Set the sourceRetryWait property: Source retry wait.Methods inherited from class com.azure.analytics.synapse.artifacts.models.CopySource
getAdditionalProperties, getMaxConcurrentConnections, getSourceRetryCount, getSourceRetryWait, setAdditionalProperties
-
Constructor Details
-
CosmosDbSqlApiSource
public CosmosDbSqlApiSource()
-
-
Method Details
-
getQuery
Get the query property: SQL API query. Type: string (or Expression with resultType string).- Returns:
- the query value.
-
setQuery
Set the query property: SQL API query. Type: string (or Expression with resultType string).- Parameters:
query
- the query value to set.- Returns:
- the CosmosDbSqlApiSource object itself.
-
getPageSize
Get the pageSize property: Page size of the result. Type: integer (or Expression with resultType integer).- Returns:
- the pageSize value.
-
setPageSize
Set the pageSize property: Page size of the result. Type: integer (or Expression with resultType integer).- Parameters:
pageSize
- the pageSize value to set.- Returns:
- the CosmosDbSqlApiSource object itself.
-
getPreferredRegions
Get the preferredRegions property: Preferred regions. Type: array of strings (or Expression with resultType array of strings).- Returns:
- the preferredRegions value.
-
setPreferredRegions
Set the preferredRegions property: Preferred regions. Type: array of strings (or Expression with resultType array of strings).- Parameters:
preferredRegions
- the preferredRegions value to set.- Returns:
- the CosmosDbSqlApiSource object itself.
-
getDetectDatetime
Get the detectDatetime property: Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean).- Returns:
- the detectDatetime value.
-
setDetectDatetime
Set the detectDatetime property: Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean).- Parameters:
detectDatetime
- the detectDatetime value to set.- Returns:
- the CosmosDbSqlApiSource object itself.
-
getAdditionalColumns
Get 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).- Returns:
- the additionalColumns value.
-
setAdditionalColumns
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).- Parameters:
additionalColumns
- the additionalColumns value to set.- Returns:
- the CosmosDbSqlApiSource object itself.
-
setSourceRetryCount
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).- Overrides:
setSourceRetryCount
in classCopySource
- Parameters:
sourceRetryCount
- the sourceRetryCount value to set.- Returns:
- the CopySource object itself.
-
setSourceRetryWait
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:
setSourceRetryWait
in classCopySource
- Parameters:
sourceRetryWait
- the sourceRetryWait value to set.- Returns:
- the CopySource object itself.
-
setMaxConcurrentConnections
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).- Overrides:
setMaxConcurrentConnections
in classCopySource
- Parameters:
maxConcurrentConnections
- the maxConcurrentConnections value to set.- Returns:
- the CopySource object itself.
-