public final class HdfsReadSettings extends StoreReadSettings
| Constructor and Description |
|---|
HdfsReadSettings() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deleteFilesAfterCompletion()
Get the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy
completion.
|
DistcpSettings |
distcpSettings()
Get the distcpSettings property: Specifies Distcp-related settings.
|
Boolean |
enablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
|
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.
|
Object |
modifiedDatetimeEnd()
Get the modifiedDatetimeEnd property: The end of file's modified datetime.
|
Object |
modifiedDatetimeStart()
Get the modifiedDatetimeStart property: The start of file's modified datetime.
|
Object |
partitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from.
|
Object |
recursive()
Get the recursive property: If true, files under the folder path will be read recursively.
|
void |
validate()
Validates the instance.
|
Object |
wildcardFileName()
Get the wildcardFileName property: HDFS wildcardFileName.
|
Object |
wildcardFolderPath()
Get the wildcardFolderPath property: HDFS wildcardFolderPath.
|
HdfsReadSettings |
withDeleteFilesAfterCompletion(Object deleteFilesAfterCompletion)
Set the deleteFilesAfterCompletion property: Indicates whether the source files need to be deleted after copy
completion.
|
HdfsReadSettings |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
HdfsReadSettings |
withDistcpSettings(DistcpSettings distcpSettings)
Set the distcpSettings property: Specifies Distcp-related settings.
|
HdfsReadSettings |
withEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
|
HdfsReadSettings |
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.
|
HdfsReadSettings |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.
|
HdfsReadSettings |
withModifiedDatetimeEnd(Object modifiedDatetimeEnd)
Set the modifiedDatetimeEnd property: The end of file's modified datetime.
|
HdfsReadSettings |
withModifiedDatetimeStart(Object modifiedDatetimeStart)
Set the modifiedDatetimeStart property: The start of file's modified datetime.
|
HdfsReadSettings |
withPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from.
|
HdfsReadSettings |
withRecursive(Object recursive)
Set the recursive property: If true, files under the folder path will be read recursively.
|
HdfsReadSettings |
withWildcardFileName(Object wildcardFileName)
Set the wildcardFileName property: HDFS wildcardFileName.
|
HdfsReadSettings |
withWildcardFolderPath(Object wildcardFolderPath)
Set the wildcardFolderPath property: HDFS wildcardFolderPath.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, withAdditionalPropertiespublic Object recursive()
public HdfsReadSettings withRecursive(Object recursive)
recursive - the recursive value to set.public Object wildcardFolderPath()
public HdfsReadSettings withWildcardFolderPath(Object wildcardFolderPath)
wildcardFolderPath - the wildcardFolderPath value to set.public Object wildcardFileName()
public HdfsReadSettings withWildcardFileName(Object wildcardFileName)
wildcardFileName - the wildcardFileName value to set.public Object fileListPath()
public HdfsReadSettings withFileListPath(Object fileListPath)
fileListPath - the fileListPath value to set.public Boolean enablePartitionDiscovery()
public HdfsReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
enablePartitionDiscovery - the enablePartitionDiscovery value to set.public Object partitionRootPath()
public HdfsReadSettings withPartitionRootPath(Object partitionRootPath)
partitionRootPath - the partitionRootPath value to set.public Object modifiedDatetimeStart()
public HdfsReadSettings withModifiedDatetimeStart(Object modifiedDatetimeStart)
modifiedDatetimeStart - the modifiedDatetimeStart value to set.public Object modifiedDatetimeEnd()
public HdfsReadSettings withModifiedDatetimeEnd(Object modifiedDatetimeEnd)
modifiedDatetimeEnd - the modifiedDatetimeEnd value to set.public DistcpSettings distcpSettings()
public HdfsReadSettings withDistcpSettings(DistcpSettings distcpSettings)
distcpSettings - the distcpSettings value to set.public Object deleteFilesAfterCompletion()
public HdfsReadSettings withDeleteFilesAfterCompletion(Object deleteFilesAfterCompletion)
deleteFilesAfterCompletion - the deleteFilesAfterCompletion value to set.public HdfsReadSettings withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class StoreReadSettingsmaxConcurrentConnections - the maxConcurrentConnections value to set.public HdfsReadSettings withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class StoreReadSettingsdisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class StoreReadSettingsIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.