Skip to main content

StowMetadata

No overview available.

Methods


Size()

@classmethod
def Size() - > int64

Retrieves the size of the stored object. Callers use this to determine the object's data length.

Returns

TypeDescription
int64The size of the object in bytes.

Exists()

@classmethod
def Exists() - > bool

Checks if the object exists in the storage. Callers use this to verify the presence of an object before attempting further operations.

Returns

TypeDescription
boolA boolean indicating whether the object exists.

Etag()

@classmethod
def Etag() - > string

Retrieves the ETag (entity tag) of the stored object. Callers use this for cache validation and conditional requests to prevent redundant data transfers.

Returns

TypeDescription
stringThe ETag of the object, which is a hash of its content.

ContentMD5()

@classmethod
def ContentMD5() - > string

Retrieves the MD5 hash of the object's content. Callers use this to verify the integrity of the object's data after transfer.

Returns

TypeDescription
stringThe MD5 hash of the object's content.