initializeDatastore

Class: matlab.io.datastore.HadoopFileBased
Package: matlab.io.datastore

(Not recommended) Initialize datastore with information from Hadoop

matlab.io.datastore.HadoopFileBased.initializeDatastore is not recommended. Use matlab.io.datastore.HadoopLocationBased.initializeDatastore 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.

Introduced in R2017b