FileServerReadSettings Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. StoreReadSettings - com.
azure. resourcemanager. datafactory. models. FileServerReadSettings
- com.
- com.
public final class FileServerReadSettings
extends StoreReadSettings
File server read settings.
Constructor Summary
| Constructor | Description |
|---|---|
| FileServerReadSettings() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
deleteFilesAfterCompletion()
Get the delete |
| Object |
enablePartitionDiscovery()
Get the enable |
| Object |
fileFilter()
Get the file |
| Object |
fileListPath()
Get the file |
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
| Object |
modifiedDatetimeEnd()
Get the modified |
| Object |
modifiedDatetimeStart()
Get the modified |
| Object |
partitionRootPath()
Get the partition |
| 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: The read setting type. |
| void |
validate()
Validates the instance. |
| Object |
wildcardFileName()
Get the wildcard |
| Object |
wildcardFolderPath()
Get the wildcard |
|
File |
withDeleteFilesAfterCompletion(Object deleteFilesAfterCompletion)
Set the delete |
|
File |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
|
File |
withEnablePartitionDiscovery(Object enablePartitionDiscovery)
Set the enable |
|
File |
withFileFilter(Object fileFilter)
Set the file |
|
File |
withFileListPath(Object fileListPath)
Set the file |
|
File |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
File |
withModifiedDatetimeEnd(Object modifiedDatetimeEnd)
Set the modified |
|
File |
withModifiedDatetimeStart(Object modifiedDatetimeStart)
Set the modified |
|
File |
withPartitionRootPath(Object partitionRootPath)
Set the partition |
|
File |
withRecursive(Object recursive)
Set the recursive property: If true, files under the folder path will be read recursively. |
|
File |
withWildcardFileName(Object wildcardFileName)
Set the wildcard |
|
File |
withWildcardFolderPath(Object wildcardFolderPath)
Set the wildcard |
Methods inherited from StoreReadSettings
Methods inherited from java.lang.Object
Constructor Details
FileServerReadSettings
public FileServerReadSettings()
Creates an instance of FileServerReadSettings class.
Method Details
deleteFilesAfterCompletion
public Object deleteFilesAfterCompletion()
Get the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean).
Returns:
enablePartitionDiscovery
public Object enablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean).
Returns:
fileFilter
public Object fileFilter()
Get the fileFilter property: Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string).
Returns:
fileListPath
public Object fileListPath()
Get the fileListPath property: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
Returns:
fromJson
public static FileServerReadSettings fromJson(JsonReader jsonReader)
Reads an instance of FileServerReadSettings from the JsonReader.
Parameters:
Returns:
Throws:
modifiedDatetimeEnd
public Object modifiedDatetimeEnd()
Get the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with resultType string).
Returns:
modifiedDatetimeStart
public Object modifiedDatetimeStart()
Get the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with resultType string).
Returns:
partitionRootPath
public Object partitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).
Returns:
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:
FileServerReadSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The read setting type.
Overrides:
FileServerReadSettings.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
FileServerReadSettings.validate()wildcardFileName
public Object wildcardFileName()
Get the wildcardFileName property: FileServer wildcardFileName. Type: string (or Expression with resultType string).
Returns:
wildcardFolderPath
public Object wildcardFolderPath()
Get the wildcardFolderPath property: FileServer wildcardFolderPath. Type: string (or Expression with resultType string).
Returns:
withDeleteFilesAfterCompletion
public FileServerReadSettings withDeleteFilesAfterCompletion(Object deleteFilesAfterCompletion)
Set the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
withDisableMetricsCollection
public FileServerReadSettings 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:
FileServerReadSettings.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withEnablePartitionDiscovery
public FileServerReadSettings withEnablePartitionDiscovery(Object enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
withFileFilter
public FileServerReadSettings withFileFilter(Object fileFilter)
Set the fileFilter property: Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string).
Parameters:
Returns:
withFileListPath
public FileServerReadSettings withFileListPath(Object fileListPath)
Set the fileListPath property: Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).
Parameters:
Returns:
withMaxConcurrentConnections
public FileServerReadSettings 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:
FileServerReadSettings.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withModifiedDatetimeEnd
public FileServerReadSettings withModifiedDatetimeEnd(Object modifiedDatetimeEnd)
Set the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with resultType string).
Parameters:
Returns:
withModifiedDatetimeStart
public FileServerReadSettings withModifiedDatetimeStart(Object modifiedDatetimeStart)
Set the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with resultType string).
Parameters:
Returns:
withPartitionRootPath
public FileServerReadSettings withPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).
Parameters:
Returns:
withRecursive
public FileServerReadSettings 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:
withWildcardFileName
public FileServerReadSettings withWildcardFileName(Object wildcardFileName)
Set the wildcardFileName property: FileServer wildcardFileName. Type: string (or Expression with resultType string).
Parameters:
Returns:
withWildcardFolderPath
public FileServerReadSettings withWildcardFolderPath(Object wildcardFolderPath)
Set the wildcardFolderPath property: FileServer wildcardFolderPath. Type: string (or Expression with resultType string).
Parameters:
Returns: