LocalFileDataSource: LocalFileDataSource class

LocalFileDataSourceR Documentation

LocalFileDataSource class

Description

Represents a data source within the local filesystem.

Super class

sagemaker.core::DataSource -> LocalFileDataSource

Methods

Public methods

Inherited methods

Method new()

Initialize LocalFileDataSource class

Usage
LocalFileDataSource$new(root_path)
Arguments
root_path

(str):


Method get_file_list()

Retrieve the list of absolute paths to all the files in this data source.

Usage
LocalFileDataSource$get_file_list()
Returns

List[str] List of absolute paths.


Method get_root_dir()

Retrieve the absolute path to the root directory of this data source.

Usage
LocalFileDataSource$get_root_dir()
Returns

str: absolute path to the root directory of this data source.


Method clone()

The objects of this class are cloneable with this method.

Usage
LocalFileDataSource$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.