Class HdfsReadSettings
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.StoreReadSettings
-
- com.azure.analytics.synapse.artifacts.models.HdfsReadSettings
-
public final class HdfsReadSettings extends StoreReadSettings
HDFS read settings.
-
-
Constructor Summary
Constructors Constructor Description HdfsReadSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDeleteFilesAfterCompletion()
Get the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion.DistcpSettings
getDistcpSettings()
Get the distcpSettings property: Specifies Distcp-related settings.Object
getFileListPath()
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.Object
getModifiedDatetimeEnd()
Get the modifiedDatetimeEnd property: The end of file's modified datetime.Object
getModifiedDatetimeStart()
Get the modifiedDatetimeStart property: The start of file's modified datetime.Object
getPartitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from.Object
getRecursive()
Get the recursive property: If true, files under the folder path will be read recursively.Object
getWildcardFileName()
Get the wildcardFileName property: HDFS wildcardFileName.Object
getWildcardFolderPath()
Get the wildcardFolderPath property: HDFS wildcardFolderPath.Boolean
isEnablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.HdfsReadSettings
setDeleteFilesAfterCompletion(Object deleteFilesAfterCompletion)
Set the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy completion.HdfsReadSettings
setDistcpSettings(DistcpSettings distcpSettings)
Set the distcpSettings property: Specifies Distcp-related settings.HdfsReadSettings
setEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.HdfsReadSettings
setFileListPath(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.HdfsReadSettings
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.HdfsReadSettings
setModifiedDatetimeEnd(Object modifiedDatetimeEnd)
Set the modifiedDatetimeEnd property: The end of file's modified datetime.HdfsReadSettings
setModifiedDatetimeStart(Object modifiedDatetimeStart)
Set the modifiedDatetimeStart property: The start of file's modified datetime.HdfsReadSettings
setPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from.HdfsReadSettings
setRecursive(Object recursive)
Set the recursive property: If true, files under the folder path will be read recursively.HdfsReadSettings
setWildcardFileName(Object wildcardFileName)
Set the wildcardFileName property: HDFS wildcardFileName.HdfsReadSettings
setWildcardFolderPath(Object wildcardFolderPath)
Set the wildcardFolderPath property: HDFS wildcardFolderPath.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.StoreReadSettings
getAdditionalProperties, getMaxConcurrentConnections, setAdditionalProperties
-
-
-
-
Method Detail
-
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:
- the recursive value.
-
setRecursive
public HdfsReadSettings 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:
recursive
- the recursive value to set.- Returns:
- the HdfsReadSettings object itself.
-
getWildcardFolderPath
public Object getWildcardFolderPath()
Get the wildcardFolderPath property: HDFS wildcardFolderPath. Type: string (or Expression with resultType string).- Returns:
- the wildcardFolderPath value.
-
setWildcardFolderPath
public HdfsReadSettings setWildcardFolderPath(Object wildcardFolderPath)
Set the wildcardFolderPath property: HDFS wildcardFolderPath. Type: string (or Expression with resultType string).- Parameters:
wildcardFolderPath
- the wildcardFolderPath value to set.- Returns:
- the HdfsReadSettings object itself.
-
getWildcardFileName
public Object getWildcardFileName()
Get the wildcardFileName property: HDFS wildcardFileName. Type: string (or Expression with resultType string).- Returns:
- the wildcardFileName value.
-
setWildcardFileName
public HdfsReadSettings setWildcardFileName(Object wildcardFileName)
Set the wildcardFileName property: HDFS wildcardFileName. Type: string (or Expression with resultType string).- Parameters:
wildcardFileName
- the wildcardFileName value to set.- Returns:
- the HdfsReadSettings object itself.
-
getFileListPath
public Object getFileListPath()
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:
- the fileListPath value.
-
setFileListPath
public HdfsReadSettings setFileListPath(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:
fileListPath
- the fileListPath value to set.- Returns:
- the HdfsReadSettings object itself.
-
isEnablePartitionDiscovery
public Boolean isEnablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Returns:
- the enablePartitionDiscovery value.
-
setEnablePartitionDiscovery
public HdfsReadSettings setEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Parameters:
enablePartitionDiscovery
- the enablePartitionDiscovery value to set.- Returns:
- the HdfsReadSettings object itself.
-
getPartitionRootPath
public Object getPartitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Returns:
- the partitionRootPath value.
-
setPartitionRootPath
public HdfsReadSettings setPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Parameters:
partitionRootPath
- the partitionRootPath value to set.- Returns:
- the HdfsReadSettings object itself.
-
getModifiedDatetimeStart
public Object getModifiedDatetimeStart()
Get the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with resultType string).- Returns:
- the modifiedDatetimeStart value.
-
setModifiedDatetimeStart
public HdfsReadSettings setModifiedDatetimeStart(Object modifiedDatetimeStart)
Set the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with resultType string).- Parameters:
modifiedDatetimeStart
- the modifiedDatetimeStart value to set.- Returns:
- the HdfsReadSettings object itself.
-
getModifiedDatetimeEnd
public Object getModifiedDatetimeEnd()
Get the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with resultType string).- Returns:
- the modifiedDatetimeEnd value.
-
setModifiedDatetimeEnd
public HdfsReadSettings setModifiedDatetimeEnd(Object modifiedDatetimeEnd)
Set the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with resultType string).- Parameters:
modifiedDatetimeEnd
- the modifiedDatetimeEnd value to set.- Returns:
- the HdfsReadSettings object itself.
-
getDistcpSettings
public DistcpSettings getDistcpSettings()
Get the distcpSettings property: Specifies Distcp-related settings.- Returns:
- the distcpSettings value.
-
setDistcpSettings
public HdfsReadSettings setDistcpSettings(DistcpSettings distcpSettings)
Set the distcpSettings property: Specifies Distcp-related settings.- Parameters:
distcpSettings
- the distcpSettings value to set.- Returns:
- the HdfsReadSettings object itself.
-
getDeleteFilesAfterCompletion
public Object getDeleteFilesAfterCompletion()
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:
- the deleteFilesAfterCompletion value.
-
setDeleteFilesAfterCompletion
public HdfsReadSettings setDeleteFilesAfterCompletion(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:
deleteFilesAfterCompletion
- the deleteFilesAfterCompletion value to set.- Returns:
- the HdfsReadSettings object itself.
-
setMaxConcurrentConnections
public HdfsReadSettings 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:
setMaxConcurrentConnections
in classStoreReadSettings
- Parameters:
maxConcurrentConnections
- the maxConcurrentConnections value to set.- Returns:
- the StoreReadSettings object itself.
-
-