adls.read.direct: Open and read a file.

Description Usage Arguments Details Value References See Also

Description

Open and read a file.

Usage

1
2
adls.read.direct(azureActiveContext, azureDataLakeAccount, relativePath, offset,
  length, bufferSize, verbose = FALSE)

Arguments

azureActiveContext

A container used for caching variables used by AzureSMR, created by createAzureContext()

azureDataLakeAccount

Name of the Azure Data Lake account.

relativePath

Relative path of a file/directory.

offset

Provide the offset to read from.

length

Provide length of data to read.

bufferSize

Size of the buffer to be used. (not honoured).

verbose

Print tracing information (default FALSE).

Details

Exceptions - IOException

Value

raw contents of the file.

References

https://docs.microsoft.com/en-us/azure/data-lake-store/data-lake-store-data-operations-rest-api#read-data

See Also

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Open_and_Read_a_File

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Offset

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Length

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Buffer_Size

https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileSystem.html#open-org.apache.hadoop.fs.Path-int-

Other Azure Data Lake Store functions: adls.append.core, adls.append.direct, adls.append, adls.concat, adls.create, adls.delete, adls.file.info, adls.fileinputstream.available, adls.fileinputstream.close, adls.fileinputstream.create, adls.fileinputstream.getpos, adls.fileinputstream.length, adls.fileinputstream.readfromservice, adls.fileinputstream.readfully, adls.fileinputstream.read, adls.fileinputstream.seek, adls.fileinputstream.skip, adls.fileoutputstream.close, adls.fileoutputstream.create, adls.fileoutputstream.flush, adls.fileoutputstream.write, adls.ls, adls.mkdir, adls.read.core, adls.read, adls.rename, createAdlExponentialBackoffRetryPolicy, createAdlNonIdempotentRetryPolicy, createAdlRetryPolicy, shouldRetry.adlExponentialBackoffRetryPolicy, shouldRetry.adlNonIdempotentRetryPolicy, shouldRetry


Microsoft/AzureSMR documentation built on July 7, 2019, 11:25 p.m.