Package: matlab.io.datastore
File-set object for collection of files in datastore
The DsFileSet
object helps you manage the iterative processing of
large collections of files. Use the DsFileSet
object together with
the DsFileReader
object to manage and read files from your datastore.
returns a fs
= matlab.io.datastore.DsFileSet(location
)DsFileSet
object for a collection of files based on the
specified location
.
specifies additional parameters for the fs
= matlab.io.datastore.DsFileSet(location
,Name,Value
)DsFileSet
object using one or
more name-value pair arguments. Name
also can be a property name, and
Value
is the corresponding value. Name
must
appear inside single quotes (''
). You can specify several name-value
pair arguments in any order as Name1,Value1,...,NameN,ValueN
.
hasfile | Determine if more files are available in file-set object |
maxpartitions | Maximum number of partitions |
nextfile | Information on next file or file chunk |
partition | Partition file-set object |
subset | Create subset of datastore or file-set |
reset | Reset the file-set object |
resolve | Information on all files in file-set object |
If you use the DsFileSet
object as a property in your
custom datastore, then implement the copyElement
method.
Implementing the copyElement
method enables you to create a
deep copy of the datastore object. For more information, see Customize Copy Operation. For an example implementation of the
copyElement
method, see Develop Custom Datastore.
matlab.io.Datastore
| matlab.io.datastore.DsFileReader
| matlab.io.datastore.HadoopLocationBased
| matlab.io.datastore.Partitionable