aistore.sdk.obj.content_iterator.base
aistore.sdk.obj.content_iterator.base
Module Contents
Classes
API
Abstract
Abstract base class for content iterator providers.
Parameters:
client
Client for accessing contents of an individual object.
chunk_size
Size of each chunk of data yielded.
_expected_end_position
client
Get the client associated with this content iterator.
expected_end_position
Expected logical byte position at EOF, if known from response metadata.
abstract
Create an iterator over the object content.
Parameters:
offset
The offset in bytes to apply. Defaults to 0.
abstract
Read all object content into memory and return it.