データモデル
CData Tableau Connector for Dropbox は、テーブル、ビュー、ストアドプロシージャを使用してDropbox データを使いやすいSQL データベースとしてモデル化します。 これらは、スキーマファイルで定義されます。スキーマファイルは、データの構造と構成を定義する、シンプルで読みやすいテキストファイルです。 一部のDropbox データは他のデータと関連しています。例えば、テーブル内では、外部キー(ID の一致など)によって異なるレコード同士の関係が示されます。
テーブル
テーブル セクションには標準SQL テーブルの詳細が、ビュー セクションには読み取り専用SQL テーブルの一覧が記載されています。これらには、Dropbox アカウントでのアクセスを想定したサンプルが含まれています。
以下のテーブルおよびビューはconnector に同梱されています。
| テーブル | 説明 |
| FileLinks | Lists all shared links associated with files in a user's Dropbox, enabling insight into external sharing activity. |
| Files | Provides detailed information about all files stored in a user's Dropbox, including metadata such as size, path, and last modified time. |
| FolderLinks | Displays shared links for folders in a user's Dropbox, allowing you to audit folder-level sharing. |
| Folders | Lists folders within a user's Dropbox account, along with metadata including folder paths and creation details. |
| DeletedResources | Displays files or folders that have been deleted from a user's Dropbox account, useful for tracking removals or recovering data. |
| Events | Captures activity logs for a Dropbox Business team, including file sharing, edits, logins, and permission changes. |
| FileRequests | Shows active and past file requests initiated by the user, including requester details and file submissions. |
| FileSharedMembers | Returns a list of users who have access to a specific shared file, including their permissions and roles. |
| FolderSharedMembers | Returns users who have been granted access to a shared folder, along with their permission levels. |
| SharedFiles | Provides a list of files the user has shared with others, including file paths, access settings, and shared link info. |
| SharedLinkMetadata | Retrieves metadata about a shared link, such as link visibility, expiration date, and associated resource details. |
| TeamMembers | Lists all members of a Dropbox Business team, including account details, status, and assigned roles. |
| Teams | Returns metadata about the current Dropbox Business team, such as team ID, name, and sharing policies. |
| Users | Retrieves account information for multiple users, helpful for team administration or access audits. |
ストアドプロシージャ
ストアドプロシージャ は、標準的なCRUD 操作を超える機能を持つSQL スクリプトです。 これらのストアドプロシージャにより、非同期ジョブのステータス監視、共有ファイルへのメンバー追加によるアクセス管理、OAuth 認証およびトークン管理などの高度な操作が可能になります。