aistore.sdk.obj.content_iterator.base
aistore.sdk.obj.content_iterator.base
Module Contents
Classes
API
Abstract base class for content iterator providers.
Parameters:
ObjectClient — Client for accessing contents of an individual object.
Size of each chunk of data yielded.
Get the client associated with this content iterator.
Create an iterator over the object content.
Parameters:
The offset in bytes to apply. Defaults to 0.
StreamBounds — Receives the byte positions of the created
stream. One provider can back several concurrent streams, so each caller
that tracks positions must pass its own.
Read all object content into memory and return it.
Byte positions of a single stream. A provider fills these in as it opens the stream, so they are meaningful only once that stream yields or ends.
Logical byte position at EOF, when response metadata makes it known.
Logical byte position at which the stream begins.