Data.Cloud.AzureAPI.TAzureBlobPageRange

提供: RAD Studio API Documentation
移動先: 案内検索

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();
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Data.Cloud.AzureAPI Data.Cloud.AzureAPI

説明

GetPageRegions で返されるページの範囲を表します。


TAzureBlobPageRange は、GetPageRegions で返されるページの範囲を表すレコードです。この範囲を使って、データが格納されたページを指定することができます。

TAzureBlobPageRange レコードのフィールドを次の表に示します。

フィールド 意味

StartByte

範囲内の最初のバイトを表します。これを使ってページを推論することができます。

EndByte

範囲内の最後のバイトを表します。これを使って範囲内にいくつのページが含まれるかを計算することができます。

Create

TAzureBlobPageRange の新しいインスタンスを作成します。

GetStartPage

StartByte を基にインデックスがゼロの開始ページを返します。

GetPageCount

範囲に含まれるページの数を返します。

関連項目