read_file.webhdfs: Read a File from HDFS

Description Usage Arguments Value References

View source: R/read_file.R

Description

Read a File from HDFS

Usage

1
2
3
## S3 method for class 'webhdfs'
read_file(fs, path, offset = NULL, length = NULL,
  buffersize = NULL, ...)

Arguments

fs

HDFS FileSystem object

path

a character vector that contains the path of file to read

offset

The starting byte position

length

The number of bytes to be processed

buffersize

used in transferring data

...

additional arguments passed to curl_webhdfs

Value

a character vector that contains the contents of the File

References

WebHDFS HDFSFileSystem


saurfang/rwebhdfs documentation built on May 29, 2019, 3:20 p.m.