FileSystemSource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySource - com.
azure. analytics. synapse. artifacts. models. FileSystemSource
- com.
- com.
public final class FileSystemSource
extends CopySource
A copy activity file system source.
Constructor Summary
| Constructor | Description |
|---|---|
| FileSystemSource() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| Object |
getAdditionalColumns()
Get the additional |
| Object |
getRecursive()
Get the recursive property: If true, files under the folder path will be read recursively. |
| String |
getType()
Get the type property: Copy source type. |
|
File |
setAdditionalColumns(Object additionalColumns)
Set the additional |
|
File |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
File |
setRecursive(Object recursive)
Set the recursive property: If true, files under the folder path will be read recursively. |
|
File |
setSourceRetryCount(Object sourceRetryCount)
Set the source |
|
File |
setSourceRetryWait(Object sourceRetryWait)
Set the source |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CopySource
Methods inherited from java.lang.Object
Constructor Details
FileSystemSource
public FileSystemSource()
Creates an instance of FileSystemSource class.
Method Details
fromJson
public static FileSystemSource fromJson(JsonReader jsonReader)
Reads an instance of FileSystemSource 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:
getRecursive
public Object getRecursive()
Get the recursive property: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Returns:
getType
public String getType()
Get the type property: Copy source type.
Overrides:
FileSystemSource.getType()Returns:
setAdditionalColumns
public FileSystemSource 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:
setMaxConcurrentConnections
public FileSystemSource 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:
FileSystemSource.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setRecursive
public FileSystemSource setRecursive(Object recursive)
Set the recursive property: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
setSourceRetryCount
public FileSystemSource setSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
FileSystemSource.setSourceRetryCount(Object sourceRetryCount)Parameters:
setSourceRetryWait
public FileSystemSource 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:
FileSystemSource.setSourceRetryWait(Object sourceRetryWait)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FileSystemSource.toJson(JsonWriter jsonWriter)Parameters:
Throws: