JsonSource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySource - com.
azure. analytics. synapse. artifacts. models. JsonSource
- com.
- com.
public final class JsonSource
extends CopySource
A copy activity Json source.
Constructor Summary
| Constructor | Description |
|---|---|
| JsonSource() |
Creates an instance of Json |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Json |
fromJson(JsonReader jsonReader)
Reads an instance of Json |
| Object |
getAdditionalColumns()
Get the additional |
|
Json |
getFormatSettings()
Get the format |
|
Store |
getStoreSettings()
Get the store |
| String |
getType()
Get the type property: Copy source type. |
|
Json |
setAdditionalColumns(Object additionalColumns)
Set the additional |
|
Json |
setFormatSettings(JsonReadSettings formatSettings)
Set the format |
|
Json |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Json |
setSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Json |
setSourceRetryWait(Object sourceRetryWait)
Set the source |
|
Json |
setStoreSettings(StoreReadSettings storeSettings)
Set the store |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CopySource
Methods inherited from java.lang.Object
Constructor Details
JsonSource
public JsonSource()
Creates an instance of JsonSource class.
Method Details
fromJson
public static JsonSource fromJson(JsonReader jsonReader)
Reads an instance of JsonSource from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalColumns
public Object 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:
getFormatSettings
public JsonReadSettings getFormatSettings()
Get the formatSettings property: Json format settings.
Returns:
getStoreSettings
public StoreReadSettings getStoreSettings()
Get the storeSettings property: Json store settings.
Returns:
getType
public String getType()
Get the type property: Copy source type.
Overrides:
JsonSource.getType()Returns:
setAdditionalColumns
public JsonSource 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).
Parameters:
Returns:
setFormatSettings
public JsonSource setFormatSettings(JsonReadSettings formatSettings)
Set the formatSettings property: Json format settings.
Parameters:
Returns:
setMaxConcurrentConnections
public JsonSource 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:
JsonSource.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setSourceRetryCount
public JsonSource setSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
JsonSource.setSourceRetryCount(Object sourceRetryCount)Parameters:
setSourceRetryWait
public JsonSource 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:
JsonSource.setSourceRetryWait(Object sourceRetryWait)Parameters:
setStoreSettings
public JsonSource setStoreSettings(StoreReadSettings storeSettings)
Set the storeSettings property: Json store settings.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JsonSource.toJson(JsonWriter jsonWriter)Parameters:
Throws: