Datastore for key-value pair data
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 pair arguments when you create a datastore using
the datastore
function:
ds = datastore('mapredout.mat','ReadSize',20);
Create KeyValueDatastore
objects using the datastore
function.