matlab.io.datastore.HadoopLocationBased.getLocation - Location in Hadoop - MATLAB (original) (raw)
Main Content
Class: matlab.io.datastore.HadoopLocationBased
Namespace: matlab.io.datastore
Syntax
location = getLocation(ds)
Description
[location](#mw%5Fe87b53d0-5203-4bf7-b7e4-c705e15917f1) = getLocation([ds](#mw%5F59f85261-b519-40b7-8697-5318ebb314d9))
returns the location of the data in Hadoop® for the datastore object ds
.
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.
Output Arguments
location
— Location of data in Hadoop
cell array of character vectors | DsFileSet
object | table
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 aDsFileSet
object, see matlab.io.datastore.DsFileSet.table
— The table must contain a variable namedHostname
. TheHostname
variable must be one of these data types.- String array containing one hostname per row.
- Cell array containing
0
or more hostnames per row.
Version History
Introduced in R2019b