Main Content

initializeDatastore

Class: matlab.io.datastore.HadoopLocationBased
Package: matlab.io.datastore

Initialize datastore with information from Hadoop

Syntax

initializeDatastore(ds,info)

Description

initializeDatastore(ds,info) initializes the datastore ds with the information from Hadoop®.

Input Arguments

expand all

Input datastore, specified as a matlab.io.Datastore object. To create a Datastore object, see matlab.io.Datastore.

Hadoop data information, specified as a table.

  • When data is file-based, info is a single row table containing the following variables: FileName, Offset, and Size. The FileName variable is of the type string. The Offset and the Size variables are of the type double.

  • When data is non-file-based, info is one row of the output from the getLocation method.

Attributes

Abstracttrue
Hiddentrue

To learn about attributes of methods, see Method Attributes.

Introduced in R2019a