Package arvados :: Module arvfile :: Class ArvadosFileReaderBase
[hide private]
[frames] | no frames]

Class ArvadosFileReaderBase

source code

builtins.object --+    
                  |    
_FileLikeObjectBase --+
                      |
                     ArvadosFileReaderBase

Instance Methods [hide private]
 
__init__(self, name, mode, num_retries=None) source code
 
__iter__(self) source code
 
decompressed_name(self) source code
 
seek(self, pos, whence=os.SEEK_SET) source code
 
tell(self) source code
 
readable(self) source code
 
writable(self) source code
 
seekable(self) source code
 
readall(self, size=2**20, num_retries=None) source code
 
readline(self, size=float('inf'), num_retries=None) source code
 
decompress(self, decompress, size, num_retries=None) source code
 
readall_decompressed(self, size=2**20, num_retries=None) source code
 
readlines(self, sizehint=float('inf'), num_retries=None) source code
 
size(self) source code
 
read(self, size, num_retries=None) source code
 
readfrom(self, start, size, num_retries=None) source code

Inherited from _FileLikeObjectBase: __enter__, __exit__, close

Static Methods [hide private]

Inherited from _FileLikeObjectBase (private): _before_close

Method Details [hide private]

__init__(self, name, mode, num_retries=None)
(Constructor)

source code 
Overrides: _FileLikeObjectBase.__init__

seek(self, pos, whence=os.SEEK_SET)

source code 
Decorators:
  • @_FileLikeObjectBase._before_close

readall(self, size=2**20, num_retries=None)

source code 
Decorators:
  • @_FileLikeObjectBase._before_close
  • @retry_method

readline(self, size=float('inf'), num_retries=None)

source code 
Decorators:
  • @_FileLikeObjectBase._before_close
  • @retry_method

decompress(self, decompress, size, num_retries=None)

source code 
Decorators:
  • @_FileLikeObjectBase._before_close
  • @retry_method

readall_decompressed(self, size=2**20, num_retries=None)

source code 
Decorators:
  • @_FileLikeObjectBase._before_close
  • @retry_method

readlines(self, sizehint=float('inf'), num_retries=None)

source code 
Decorators:
  • @_FileLikeObjectBase._before_close
  • @retry_method