matlab.io.datastore.partitionable类
Package:matlab.io.datastore
向数据存储添加并行化支持金宝app
描述
matlab.io.datastore。Partitionable
is an abstract mixin class that adds parallelization support to your custom datastore for use with Parallel Computing Toolbox™ andMATLAB®分布式计算服务器™。
To use this mixin class, you must subclass frommatlab.io.datastore。Partitionable
class in addition to subclassing from thematlab.io.datastore
base class. Type the following syntax as the first line of your class definition file:
classdefmydatastore< matlab.io.Datastore & ... matlab.io.datastore.Partitionable ... end
To add support for parallel processing to your custom datastore, you must:
Define two additional methods:
maxpartitions
和partition
有关使用并行处理支持创建自定义数据存储的更多详细信息和步骤,请参见金宝appDevelop Custom Datastore。
方法
matlab.io.datastore。Partitionable.maxpartitions |
可能的最多分区数 |
matlab.io.datastore。Partitionable.numpartitions |
Default number of partitions |
matlab.io.datastore。Partitionable.partition |
分区数据存储 |
例子
See Also
datastore
|MapReduce
|matlab.io.datastore
|matlab.io.datastore。HadoopFileBased
Topics
- Develop Custom Datastore
- Tall Arrays
- 并行分区数据存储(Parallel Computing Toolbox)
Introduced in R2017b
这个话题有帮助吗?