Main Content

getLocation

Class: matlab.io.datastore.HadoopLocationBased
Namespace: matlab.io.datastore

Location in Hadoop

Since R2019b

Syntax

location = getLocation(ds)

Description

location = getLocation(ds) returns the location of the data in Hadoop® for the datastore object ds.

Input Arguments

expand all

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

Output Arguments

expand all

Location of data in Hadoop, returned as a cell array of character vectors, DsFileSet object, or a table.

  • Cell array of character vectors — List of files.

  • DsFileSet object — To create a DsFileSet object, see matlab.io.datastore.DsFileSet.

  • table — The table must contain a variable named Hostname. The Hostname variable must be one of these data types.

    • String array containing one hostname per row.

    • Cell array containing 0 or more hostnames per row.

Attributes

Abstracttrue
Hiddentrue

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2019b