Main Content

initializeDatastore

Class: matlab.io.datastore.HadoopFileBased
Namespace: matlab.io.datastore

(Not recommended) Initialize datastore with information from Hadoop

matlab.io.datastore.HadoopFileBased.initializeDatastore is not recommended. Use the initializeDatastore method for the matlab.io.datastore.HadoopLocationBased class instead.

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.

File information, specified as a structure. The structure contains the following fields: FileName, Offset, and Size. The FileName field is of the type char. The Offset and the Size fields are of the type double.

Attributes

Abstracttrue
Hiddentrue

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2017b