KeyValueDatastore
Datastore for key-value pair data for use with
            mapreduce
Description
KeyValueDatastore objects are associated with files
            containing key-value pair data that are outputs of or inputs to
                mapreduce. Use the KeyValueDatastore
            properties to specify how you want to access the data. Use dot notation to view or
            modify a particular property of a KeyValueDatastore
            object:
ds = datastore("mapredout.mat");
ds.ReadSize = 20;You also can specify the value of KeyValueDatastore properties
            using name-value argument arguments when you create a datastore using the
                datastore
            function:
ds = datastore("mapredout.mat","ReadSize",20);
Creation
Create KeyValueDatastore objects using the datastore function.
Properties
Object Functions
| hasdata | Determine if data is available to read | 
| numpartitions | Number of datastore partitions | 
| partition | Partition a datastore | 
| preview | Preview subset of data in datastore | 
| read | Read data in datastore | 
| readall | Read all data in datastore | 
| reset | Reset datastore to initial state | 
| transform | Transform datastore | 
| combine | Combine data from multiple datastores | 
| isPartitionable | Determine whether datastore is partitionable | 
| isSubsettable | Determine whether datastore is subsettable | 
| isShuffleable | Determine whether datastore is shuffleable | 
Examples
Limitations
- KeyValueDatastoredoes not support sequence files written in R2013b. Rewrite the sequence files using a version of MATLAB between R2014a and R2018a.
Version History
Introduced in R2014b