Data.Cloud.AzureAPI.TAzureBlobPageRange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TAzureBlobPageRange = record
    StartByte: Int64;
    EndByte: Int64;
    class function Create(StartByte, EndByte: Int64): TAzureBlobPageRange; static;
    function GetStartPage: Integer;
    function GetPageCount: Integer;
  end;

C++

struct DECLSPEC_DRECORD TAzureBlobPageRange
{
public:
    __int64 StartByte;
    __int64 EndByte;
    static TAzureBlobPageRange __fastcall Create(__int64 StartByte, __int64 EndByte);
    int __fastcall GetStartPage();
    int __fastcall GetPageCount();
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Data.Cloud.AzureAPI Data.Cloud.AzureAPI

Description

Represents a page range, as returned by GetPageRegions.

TAzureBlobPageRange is a record that represents a page range, as returned by GetPageRegions. These ranges are used to specify pages that have been populated with data.

The fields of the TAzureBlobPageRange record are listed in the following table:

Field Meaning

StartByte

Represents the first byte of the range, which can be used to infer the page.

EndByte

Represents the end byte of the range, which can be used to calculate how many pages are in the range.

Create

Creates a new instance of TAzureBlobPageRange.

GetStartPage

Returns the starting page, zero-indexed, based on the StartByte.

GetPageCount

Returns the number of pages in the range.

See Also