

# Blackbaud Raiser's Edge NXT エンティティからの読み取り
<a name="blackbaud-reading-from-entities"></a>

**前提条件**

読み取り元の Blackbaud Raiser's Edge NXT オブジェクト。オブジェクト名が必要になります。

**ソースに対応するエンティティ**:


| エンティティ | フィルタリング可能 | 制限をサポートする | Order By をサポートする | Select \$1 をサポートする | パーティション分割をサポートする | 
| --- | --- | --- | --- | --- | --- | 
| 構成員アドレス | はい | あり | なし | あり | あり | 
| 構成員教育 | はい | あり | なし | あり | あり | 
| 構成員 E メールアドレス | はい | あり | なし | あり | あり | 
| 構成員電話 | はい | あり | なし | あり | あり | 
| 構成員ノート | はい | あり | なし | あり | あり | 
| 構成員関係 | はい | あり | なし | あり | あり | 
| 構成員オンラインプレゼンス | はい | あり | なし | あり | あり | 
| 機会 | はい | あり | なし | あり | あり | 
| アピール | はい | あり | なし | あり | あり | 
| キャンペーン | はい | あり | なし | あり | あり | 
| 資金 | はい | あり | なし | あり | あり | 
| パッケージ | はい | あり | なし | あり | あり | 
| ギフトバッチ | はい | あり | なし | あり | なし | 
| イベント参加者 | はい | あり | あり | あり | あり | 
| 構成員ファンドレイザー割り当て | なし | なし | なし | あり | なし | 
| ギフト | はい | あり | あり | あり | あり | 
| メンバーシップ | はい | あり | なし | あり | あり | 
| アクション | はい | あり | なし | あり | なし | 
| 構成員 | はい | あり | あり | あり | あり | 
| 構成員物品 | はい | あり | なし | あり | あり | 
| イベント | はい | あり | あり | あり | あり | 
| ギフトカスタムフィールド | はい | あり | なし | あり | あり | 

**例**:

```
blackbaud_read = glueContext.create_dynamic_frame.from_options(
    connection_type="BLACKBAUD",
    connection_options={
        "connectionName": "connectionName",
        "ENTITY_NAME": "entityName",
        "API_VERSION": "v1",
        "SUBSCRIPTION_KEY": <Subscription key associated with one's developer account>
    }
```

## Blackbaud Raiser's Edge NXT エンティティとフィールドの詳細
<a name="blackbaud-reading-entity-field-details"></a>

エンティティとフィールドの詳細については、以下を参照してください:
+ [アクション](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Action)
+ [構成員](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Constituent)
+ [構成員アドレス](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Address)
+ [構成員メンバーシップ](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Membership)
+ [構成員ファンドレイザー割り当て](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#FundraiserAssignment)
+ [構成員教育](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Education)
+ [構成員 E メールアドレス](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#EmailAddress)
+ [構成員電話](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Phone)
+ [構成員ノート](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Note)
+ [構成員オンラインプレゼンス](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#OnlinePresence)
+ [構成員関係](https://developer.blackbaud.com/skyapi/renxt/constituent/entities#Relationship)
+ [イベント](https://developer.blackbaud.com/skyapi/renxt/event/entities#Event)
+ [イベント参加者](https://developer.blackbaud.com/skyapi/renxt/event/entities#Participant)
+ [アピール](https://developer.blackbaud.com/skyapi/renxt/fundraising/entities#Appeal)
+ [Campaign](https://developer.blackbaud.com/skyapi/renxt/fundraising/entities#Campaign)
+ [資金](https://developer.blackbaud.com/skyapi/renxt/fundraising/entities#Fund)
+ [パッケージ](https://developer.blackbaud.com/skyapi/renxt/fundraising/entities#Package)
+ [ギフト](https://developer.blackbaud.com/skyapi/renxt/gift/entities#Gift)
+ [ギフトカスタムフィールド](https://developer.blackbaud.com/skyapi/renxt/gift/entities#CustomField)
+ [ギフトバッチ](https://developer.blackbaud.com/skyapi/renxt/gift-batch/entities#GiftBatch)
+ [機会](https://developer.blackbaud.com/skyapi/renxt/opportunity/entities#Opportunity)
+ [構成員コード](https://developer.sky.blackbaud.com/api#api=56b76470069a0509c8f1c5b3)

**注記**  
構造体データ型とリストデータ型は、コネクタの応答で文字列データ型に変換され、DateTime データ型は Timestamp に変換されます。

## パーティショニングクエリ
<a name="blackbaud-reading-partitioning-queries"></a>

**フィールドベースのパーティション分割**:

Blackbaud Raiser's Edge NXT は、フィールドベースまたはレコードベースのパーティショニングをサポートしていません。

**レコードベースのパーティション分割**:

Spark で並行処理を使用する場合は、追加の Spark オプション `NUM_PARTITIONS` を指定できます。これらのパラメータを使用すると、元のクエリは Spark タスクで同時に実行できるサブクエリの `NUM_PARTITIONS` の数に分割されます。

レコードベースのパーティショニングでは、存在するレコードの合計数が Blackbaud Raiser's Edge NXT API からクエリされ、指定された `NUM_PARTITIONS` 数で割られます。その後、結果のレコード数は、各サブクエリによって同時に取得されます。
+ `NUM_PARTITIONS`: パーティション数。

例:

```
blackbaud_read = glueContext.create_dynamic_frame.from_options(
    connection_type="BLACKBAUD",
    connection_options={
        "connectionName": "connectionName",
        "ENTITY_NAME": "entityName",
        "API_VERSION": "v1",
        "NUM_PARTITIONS": "2",
        "SUBSCRIPTION_KEY": <Subscription key associated with one's developer account>
    }
```