matlab.io.datastore.HadoopLocationBased.initializeDatastore - Initialize datastore with information from Hadoop - MATLAB (original) (raw)
Main Content
Class: matlab.io.datastore.HadoopLocationBased
Namespace: matlab.io.datastore
Initialize datastore with information from Hadoop
Syntax
initializeDatastore(ds,info)
Description
initializeDatastore([ds](#mw%5F2a73a77e-500f-4584-adf0-852cf2024e3e),[info](#mw%5F01021fc6-d16c-4bdc-8b57-98ee99b587c5))
initializes the datastore ds
with the information from Hadoop®.
Input Arguments
ds
— Input datastore
matlab.io.Datastore
object
Input datastore, specified as a matlab.io.Datastore
object. To create a Datastore
object, see matlab.io.Datastore.
info
— Hadoop data information
table
Hadoop data information, specified as a table.
- When data is file-based,
info
is a single row table containing the following variables:FileName
,Offset
, andSize
. TheFileName
variable is of the typestring
. TheOffset
and theSize
variables are of the typedouble
. - When data is non-file-based,
info
is one row of the output from the getLocation method.
Version History
Introduced in R2019a