FileSystemSource Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. CopySource - com.
azure. resourcemanager. datafactory. 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 |
|---|---|
| Object |
additionalColumns()
Get the additional |
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| Object |
recursive()
Get the recursive property: If true, files under the folder path will be read recursively. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Copy source type. |
| void |
validate()
Validates the instance. |
|
File |
withAdditionalColumns(Object additionalColumns)
Set the additional |
|
File |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
|
File |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
File |
withRecursive(Object recursive)
Set the recursive property: If true, files under the folder path will be read recursively. |
|
File |
withSourceRetryCount(Object sourceRetryCount)
Set the source |
|
File |
withSourceRetryWait(Object sourceRetryWait)
Set the source |
Methods inherited from CopySource
Methods inherited from java.lang.Object
Constructor Details
FileSystemSource
public FileSystemSource()
Creates an instance of FileSystemSource class.
Method Details
additionalColumns
public Object additionalColumns()
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:
fromJson
public static FileSystemSource fromJson(JsonReader jsonReader)
Reads an instance of FileSystemSource from the JsonReader.
Parameters:
Returns:
Throws:
recursive
public Object recursive()
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FileSystemSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Copy source type.
Overrides:
FileSystemSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
FileSystemSource.validate()withAdditionalColumns
public FileSystemSource withAdditionalColumns(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:
withDisableMetricsCollection
public FileSystemSource withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
Overrides:
FileSystemSource.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withMaxConcurrentConnections
public FileSystemSource withMaxConcurrentConnections(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.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withRecursive
public FileSystemSource withRecursive(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:
withSourceRetryCount
public FileSystemSource withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
FileSystemSource.withSourceRetryCount(Object sourceRetryCount)Parameters:
withSourceRetryWait
public FileSystemSource withSourceRetryWait(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.withSourceRetryWait(Object sourceRetryWait)Parameters: