GitHub Connector for CData Sync

Build 22.0.8479
  • GitHub
    • 接続の確立
    • 高度な機能
      • SSL の設定
      • ファイアウォールとプロキシ
    • データモデル
      • ビュー
        • Branches
        • CommitComments
        • Commits
        • Forks
        • IssueComments
        • Issues
        • Labels
        • LicenseConditions
        • LicenseLimitations
        • LicensePermissions
        • Licenses
        • Milestones
        • Organizations
        • ProjectColumns
        • Projects
        • PullRequestReviews
        • PullRequests
        • ReleaseAssets
        • Releases
        • Repositories
        • Topics
        • Users
        • Watchers
    • 接続文字列オプション
      • Connection
        • RepositoryName
        • UserLogin
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
      • SSL
        • SSLServerCert
      • Firewall
        • FirewallType
        • FirewallServer
        • FirewallPort
        • FirewallUser
        • FirewallPassword
      • Proxy
        • ProxyAutoDetect
        • ProxyServer
        • ProxyPort
        • ProxyAuthScheme
        • ProxyUser
        • ProxyPassword
        • ProxySSLType
        • ProxyExceptions
      • Logging
        • LogModules
      • Schema
        • Location
        • BrowsableSchemas
        • Tables
        • Views
      • Miscellaneous
        • MaxPointsPerCall
        • MaxRows
        • Other
        • PseudoColumns
        • Timeout
        • UserDefinedViews

GitHub Connector for CData Sync

概要

CData Sync App は、GitHub データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。

GitHub コネクタはCData Sync アプリケーションから使用可能で、GitHub からデータを取得して、サポートされている任意の同期先に移動できます。

GitHub Connector for CData Sync

接続の確立

Sync App アプリケーションの接続 ページに移動し、接続の追加 パネルで対応するアイコンを選択して、GitHub への接続を作成します。GitHub アイコンが利用できない場合は、Add More アイコンをクリックしてCData サイトからGitHub コネクタをダウンロードおよびインストールします。

必須プロパティは[設定]タブにリストされています。[Advanced]タブには、通常は必要ない接続プロパティが表示されます。

Connecting to GitHub

GitHub supports OAuth authentication only. AuthScheme must be set to OAuth in all OAuth flows.

Web Applications

When connecting via a Web application, you need to register a custom OAuth application with GitHub. You can then use the Sync App to get and manage the OAuth token values. See カスタムOAuth アプリの作成 for more information.

Get an OAuth Access Token

Set the following connection properties to obtain the OAuthAccessToken:

  • OAuthClientId: Set this to the client Id in your application settings.
  • OAuthClientSecret: Set this to the client secret in your application settings.

Then call stored procedures to complete the OAuth exchange:

  1. Call the GetOAuthAuthorizationURL stored procedure. Set the AuthMode input to WEB and the CallbackURL to the Redirect URI you specified in your application settings. The stored procedure returns the URL to the OAuth endpoint.
  2. Navigate to the URL that the stored procedure returned in Step 1. Log in and authorize the web application. You are redirected back to the callback URL.
  3. Call the GetOAuthAccessToken stored procedure. Set the AuthMode input to WEB. Set the Verifier input to the code parameter in the query string of the redirect URI.

After you have obtained the access and refresh tokens, you can connect to data and refresh the OAuth access token automatically.

Automatic Refresh of the OAuth Access Token

To have the Sync App automatically refresh the OAuth access token, set the following on the first data connection.

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: Set this to the client Id in your application settings.
  • OAuthClientSecret: Set this to the client secret in your application settings.
  • OAuthAccessToken: Set this to the access token returned by GetOAuthAccessToken.
  • OAuthSettingsLocation: Set this to the path where you want the Sync App to save the OAuth values, which persist across connections.

On subsequent data connections, set the following:

  • InitiateOAuth
  • OAuthSettingsLocation
  • UserLogin (optional);
  • RepositoryName (optional);

GitHub Connector for CData Sync

高度な機能

このセクションでは、GitHub Sync App の高度な機能を厳選して説明します。

ユーザー定義ビュー

Sync App を使用すると、事前設定されたクエリによって内容が決定されるユーザー定義ビューと呼ばれる仮想テーブルを定義できます。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。

SSL の設定

SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。 詳しくは、接続文字列オプションにあるSSLServerCert プロパティを参照してください。

ファイアウォールとプロキシ

Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。

クエリ処理

Sync App は、GitHub にできるだけ多くのSELECT ステートメント処理をオフロードし、残りのクエリをクライアント側のインメモリで処理します。

詳しくはクエリ処理 を参照してください。

ログ

CData ログを調整するために使用可能な設定の概要については、ログ を参照してください。基本的なロギングでは、 次の2つの接続プロパティを設定するだけです。LogModules 接続プロパティを使用してログに記録する情報のサブセットを選択できる、 より洗練されたロギングをサポートする多数の機能があります。

GitHub Connector for CData Sync

SSL の設定

SSL 設定のカスタマイズ

デフォルトでは、Sync App はサーバーの証明書をシステムの信頼できる証明書ストアと照合してSSL / TLS のネゴシエーションを試みます。

別の証明書を指定するには、利用可能なフォーマットについてSSLServerCert プロパティを参照してください。

GitHub Connector for CData Sync

ファイアウォールとプロキシ

Firewall またはProxy 経由の接続

HTTP プロキシ

Windows のシステムプロキシ経由の接続では、接続プロパティを追加で設定する必要はありません。他のプロキシに接続するには、ProxyAutoDetect をfalse に設定します。

さらにHTTP プロキシへの認証には、ProxyServer とProxyPort に加えてProxyAuthScheme、ProxyUser、およびProxyPassword を設定します。

その他のプロキシ

次のプロパティを設定します。

  • プロキシベースのファイヤーウォールを使用するには、FirewallType、FirewallServer、およびFirewallPort を設定します。
  • 接続をトンネルするには、FirewallType をTUNNEL に設定します。
  • 認証するには、FirewallUser とFirewallPassword を設定します。
  • SOCKS プロキシへの認証には、さらにFirewallType をSOCKS5 に設定します。

GitHub Connector for CData Sync

データモデル

CData Sync App は、GitHub API のエンティティをビューおよびストアドプロシージャにモデル化します。これらはスキーマファイルに定義されています。テキストベースのシンプルな設定ファイルです。

このセクションでは、API の制限および要件について説明します。既定のSupportEnhancedSQL 機能を使って、これらの制限の大半を回避できます。

ビュー

ビュー は、利用可能なビューについて説明します。ビューは、リポジトリ、コミット、プロジェクトなどをモデル化するために静的に定義されます。

ストアドプロシージャ

ストアドプロシージャ は、データソースへの関数形式のインターフェースです。これらを使用して、データソース内の情報を検索、更新、および変更できます。

GitHub Connector for CData Sync

ビュー

ビューは、カラムと疑似カラムで構成されます。ビューは、データを示すという点でテーブルに似ていますが、ビューでは更新はサポートされません。通常、ビューとして表されるエンティティは、読み取り専用のエンティティです。多くの場合、これらのデータはストアドプロシージャを使用することで更新できます(その機能がデータソースに適用できる場合)。

ビューに対しては、通常のテーブルと同じようにクエリを実行でき、このときに返されるデータも同様です。

ビューとして公開されるクエリなどの動的ビューや、project_team ワークアイテムの特定の組み合わせを検索するためのビューがサポートされています。

GitHub Connector for CData Sync ビュー

Name Description
Branches Lists information about branches in a repository.
CommitComments Lists information about comments which were made on a specific commit.
Commits Lists information about commits done in a repository .
Forks Lists information about forks of a repository.
IssueComments Lists information about comments which were made on a specific issue.
Issues Lists all project issues.
Labels Lists information about the different labels you can apply on an issue.
LicenseConditions The conditions set by the license.
LicenseLimitations The limitations set by the license.
LicensePermissions The permissions set by the license.
Licenses Lists the open source licenses.
Milestones Lists information about milestones in a repository.
Organizations Lists information about about the organizations of the logged in user.
ProjectColumns Lists information about project columns.
Projects Lists information about projects.
PullRequestReviews Lists information about pull request reviews in a repository.
PullRequests Lists information about pull requests in a repository.
ReleaseAssets List of releases assets which are dependent on a release.
Releases Lists information about the different releases of a repository.
Repositories Lists information about a user's repository.
Topics A list of applied repository-topic associations for this repository.
Users Lists information about GitHub users.
Watchers A list of users watching the repository.

GitHub Connector for CData Sync

Branches

Lists information about branches in a repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin and RepositoryName support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Branches WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the branch.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Name String The branch name.
Prefix String The branch prefix.

GitHub Connector for CData Sync

CommitComments

Lists information about comments which were made on a specific commit.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin and RepositoryName support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM CommitComments WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the commit comment.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
CommitId String Identifies the commit associated with the comment, if the commit exists.
Author String The username of the actor who authored the comment.
AuthorAssociation String Author's association with the subject of the comment.
Body String Identifies the comment body.
BodyHTML String The body rendered to HTML.
BodyText String The body rendered to text.
CreatedAt Datetime Identifies the date and time when the object was created.
CreatedViaEmail Boolean Check if this comment was created via an email reply.
Editor String The username of the actor who edited the comment.
IncludesCreatedEdit Boolean Check if this comment was edited and includes an edit with the creation data.
IsMinimized Boolean Returns whether or not a comment has been minimized.
LastEditedAt Datetime The moment the editor made the last edit.
MinimizedReason String Returns why the comment was minimized.
Path String Identifies the file path associated with the comment.
Position Int Identifies the line position associated with the comment.
PublishedAt Datetime Identifies when the comment was published at.
ResourcePath String The HTTP path permalink for this commit comment.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL permalink for this commit comment.
ViewerCanDelete Boolean Check if the current viewer can delete this object.
ViewerCanMinimize Boolean Check if the current viewer can minimize this object.
ViewerCanReact Boolean Can user react to this subject.
ViewerCanUpdate Boolean Check if the current viewer can update this object.
ViewerDidAuthor Boolean Did the viewer author this comment.

GitHub Connector for CData Sync

Commits

Lists information about commits done in a repository .

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, BranchName and RepositoryName support the following operator: =
  • CommittedDate supports the following operators: =,>=,>,<,<=
For example, the following queries are processed server side:
SELECT * FROM Commits WHERE RepositoryName = 'MyRepo'

SELECT * FROM Commits WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM Commits WHERE BranchName = 'master'

SELECT * FROM Commits WHERE RepositoryName = 'MyRepo' AND CommittedDate >= '2017-12-18 09:02:22.0' AND CommittedDate <= '2018-01-11 15:00:08.0'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the commit.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
BranchName [KEY] String The name of the branch.
Additions Int The number of additions in this commit.
AuthorEmail String The email of the commit author.
AuthorUserLogin String The GitHub user corresponding to the email field. Null if no such user exists.
AuthoredByCommitter Boolean Check if the committer and the author match.
AuthoredDate Datetime The datetime when this commit was authored.
CommitResourcePath String The HTTP path for this Git object.
CommitUrl String The HTTP URL for this Git object.
CommittedDate Datetime The datetime when this commit was committed.
CommittedViaWeb Boolean Check if committed via GitHub web UI.
CommitterEmail String The email of the committer.
CommitterUserLogin String The GitHub user corresponding to the email field. Null if no such user exists.
Deletions Int The number of deletions in this commit.
Message String The Git commit message.
MessageBody String The Git commit message body.
MessageBodyHTML String The commit message body rendered to HTML.
MessageHeadline String The Git commit message headline.
MessageHeadlineHTML String The commit message headline rendered to HTML.
OnBehalfOf String The organization's login name this commit was made on behalf of.
PushedDate Datetime The datetime when this commit was pushed.
ResourcePath String The HTTP path for this commit.
Signature String ASCII-armored signature header from object.
SignatureEmail String Email used to sign this object.
SignatureIsValid Boolean True if the signature is valid and verified by GitHub.
SignaturePayload String Payload for GPG signing object. Raw ODB object without the signature header.
SignatureSigner String GitHub user's login name corresponding to the email signing this commit.
SignatureState String The state of this signature. VALID if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
WasSignedByGitHub Boolean True if the signature was made with GitHub's signing key.
StatusState String The combined commit status.
StatusCheckRollupState String Check and Status rollup combined status state for this commit.
TarballUrl String Returns a URL to download a tarball archive for a repository. Note: For private repositories, these links are temporary and expire after five minutes.
TreeResourcePath String The HTTP path for the tree of this commit.
TreeUrl String The HTTP URL for the tree of this commit.
Url String The HTTP URL for this commit.
ViewerCanSubscribe Boolean Check if the viewer is able to change their subscription status for the repository.
ViewerSubscription String Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ZipballUrl String Returns a URL to download a zipball archive for a repository. Note: For private repositories, these links are temporary and expire after five minutes.

GitHub Connector for CData Sync

Forks

Lists information about forks of a repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, and IsLocked support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Forks WHERE IsLocked=true

Columns

Name Type OrderBySupport Description
Id [KEY] String The fork ID.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Name String True The name of the fork.
Description String The fork description.
DescriptionHTML String The fork HTML description.
CreatedAt Datetime True The creation date of the fork.
UpdatedAt Datetime True The date when the fork was last updated.
PushedAt Datetime True The date the fork was first pushed.
IsLocked Boolean Whether the fork is locked.
Url String The HTTP URL for this fork.
MirrorUrl String The mirror URL of the fork.

GitHub Connector for CData Sync

IssueComments

Lists information about comments which were made on a specific issue.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, and IssueNumber support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM IssueComments WHERE RepositoryName = 'MyRepo'

SELECT * FROM IssueComments WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM IssueComments WHERE IssueNumber = 5 AND RepositoryName = 'MyRepo'

Columns

Name Type OrderBySupport Description
Id [KEY] String The issue comment Id.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
IssueNumber Integer Identifies the issue number associated with the comment.
Author String The username of the actor who authored the comment.
AuthorAssociation String Author's association with the subject of the comment.
Body String The body as Markdown.
BodyHTML String The body rendered to HTML.
BodyText String The body rendered to text.
CreatedAt Datetime Identifies the date and time when the object was created.
CreatedViaEmail Boolean Check if this comment was created via an email reply.
DatabaseId Int Identifies the primary key from the database.
Editor String The username of the actor who edited the comment.
IncludesCreatedEdit Boolean Check if this comment was edited and includes an edit with the creation data.
IsMinimized Boolean Returns whether or not a comment has been minimized.
LastEditedAt Datetime The moment the editor made the last edit.
MinimizedReason String Returns why the comment was minimized.
PublishedAt Datetime Identifies when the comment was published at.
PullRequestId String Returns the Id of the pull request associated with the comment, if this comment was made on a pull request.
ResourcePath String The HTTP path for this issue comment.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL for this issue comment.
ViewerCanDelete Boolean Check if the current viewer can delete this object.
ViewerCanMinimize Boolean Check if the current viewer can minimize this object.
ViewerCanReact Boolean Can user react to this subject.
ViewerCanUpdate Boolean Check if the current viewer can update this object.
ViewerDidAuthor Boolean Did the viewer author this comment.

GitHub Connector for CData Sync

Issues

Lists all project issues.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin and State support the following operator: =
  • RepositoryName and Author support the following operators: =,!=
  • ClosedAt, CreatedAt, and UpdatedAt support the following operators: =,>,>=,<,<=
The following queries are processed server side.
SELECT * FROM Issues WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM Issues WHERE RepositoryName = 'test' AND UpdatedAt >= '2018-05-10 11:11:38.0'

Columns

Name Type OrderBySupport Description
Id [KEY] String The Issue ID.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
ActiveLockReason String Reason that the conversation was locked.
Author String The username of the actor who authored the comment.
AuthorAssociation String Author's association with the subject of the comment.
Body String Identifies the body of the issue.
BodyHTML String The body rendered to HTML.
BodyText String Identifies the body of the issue rendered to text.
Closed Boolean True if the object is closed (definition of closed may depend on type).
ClosedAt Datetime Identifies the date and time when the object was closed.
CreatedAt Datetime True Identifies the date and time when the object was created.
CreatedViaEmail Boolean Check if this comment was created via an email reply.
DatabaseId Int Identifies the primary key from the database.
Editor String The username of the actor who edited the comment.
IncludesCreatedEdit Boolean Check if this comment was edited and includes an edit with the creation data.
LastEditedAt Datetime The moment the editor made the last edit.
Locked Boolean True if the object is locked.
MilestoneId String Identifies the milestone associated with the issue.
Number Int Identifies the issue number.
PublishedAt Datetime Identifies when the comment was published at.
ResourcePath String The HTTP path for this issue.
State String Identifies the state of the issue.

使用できる値は次のとおりです。open, closed

Title String Identifies the issue title.
UpdatedAt Datetime True Identifies the date and time when the object was last updated.
Url String The HTTP URL for this issue.
ViewerCanReact Boolean Can user react to this subject.
ViewerCanSubscribe Boolean Check if the viewer is able to change their subscription status for the repository.
ViewerCanUpdate Boolean Check if the current viewer can update this object.
ViewerDidAuthor Boolean Did the viewer author this comment.
ViewerSubscription String Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Comments Integer You can search by the number of comments.
Interactions Integer You can filter issues by the number of interactions.
Reactions Integer You can filter issues by the number of reactions.
Mentions String You can find issues that mention a certain user.
Assignee String You can find find issues and pull requests that are assigned to a certain user.

GitHub Connector for CData Sync

Labels

Lists information about the different labels you can apply on an issue.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, and Name support the following operator: =
For example, the following queries are processed server side.
SELECT * FROM Labels WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM Labels WHERE Name = 'duplicate'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the label.
RepositoryName String The name of the repository.
UserLogin String The login name of the user.
Color String Identifies the label color.
CreatedAt Datetime True Identifies the date and time when the label was created.
Description String A brief description of this label.
IsDefault Boolean Indicates whether or not this is a default label.
Name String True Identifies the label name.
ResourcePath String The HTTP path for this label.
UpdatedAt Datetime Identifies the date and time when the label was last updated.
Url String The HTTP URL for this label.

GitHub Connector for CData Sync

LicenseConditions

The conditions set by the license.

Table-Specific Information

Select

You must specify the LicenseKey when executing a SELECT query against this table.

  • LicenseKey supports the following operator: =

SELECT * FROM LicenseConditions WHERE LicenseKey = 'mit'

Columns

Name Type OrderBySupport Description
Key [KEY] String The machine-readable condition key.
LicenseKey String The lowercased SPDX ID of the license.
Description String A description of the condition.
Label String The human-readable condition label.

GitHub Connector for CData Sync

LicenseLimitations

The limitations set by the license.

Table-Specific Information

Select

You must specify the LicenseKey when executing a SELECT query against this table.

  • LicenseKey supports the following operator: =

SELECT * FROM LicenseLimitations WHERE LicenseKey = 'mit'

Columns

Name Type OrderBySupport Description
Key [KEY] String The machine-readable limitation key.
LicenseKey String The lowercased SPDX ID of the license.
Description String A description of the limitation.
Label String The human-readable limitation label.

GitHub Connector for CData Sync

LicensePermissions

The permissions set by the license.

Table-Specific Information

Select

You must specify the LicenseKey when executing a SELECT query against this table.

  • LicenseKey supports the following operator: =

SELECT * FROM LicensePermissions WHERE LicenseKey = 'mit'

Columns

Name Type OrderBySupport Description
Key [KEY] String The machine-readable permission key.
LicenseKey String The lowercased SPDX ID of the license.
Description String A description of the permission.
Label String The human-readable permission label.

GitHub Connector for CData Sync

Licenses

Lists the open source licenses.

Table-Specific Information

Select

  • Key supports the following operator: =

SELECT * FROM Licenses

SELECT * FROM Licenses WHERE Key = 'mit'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the license.
Key String The lowercased SPDX ID of the license.
Body String The full text of the license.
Description String A human-readable description of the license.
Featured Boolean Whether the license should be featured.
Hidden Boolean Whether the license should be displayed in license pickers.
Implementation String Instructions on how to implement the license.
Name String The license full name specified by https://spdx.org/licenses.
Nickname String Customary short name if applicable (e.g, GPLv3).
PseudoLicense Boolean Whether the license is a pseudo-license placeholder (e.g., other, no-license).
SpdxId String Short identifier specified by https://spdx.org/licenses.
Url String URL to the license on https://choosealicense.com.

GitHub Connector for CData Sync

Milestones

Lists information about milestones in a repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, Number, and State support the following operator: =
For example, the following queries are executed server side:
SELECT * FROM Milestones WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'
   
SELECT * FROM Milestones WHERE State = 'all'

SELECT * FROM Milestones WHERE Number = 1

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the milestone.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Closed Boolean True if the object is closed (definition of closed may depend on type)
ClosedAt Datetime Identifies the date and time when the object was closed.
CreatedAt Datetime True Identifies the date and time when the object was created.
Description String Identifies the description of the milestone.
DueOn Datetime True Identifies the due date of the milestone.
Number Integer True Identifies the number of the milestone.
ResourcePath String The HTTP path for this milestone.
State String Identifies the state of the milestone.

使用できる値は次のとおりです。OPEN, CLOSED

Title String Identifies the title of the milestone.
UpdatedAt Datetime True Identifies the date and time when the object was last updated.
Url String The HTTP URL for this milestone.
ProgressPercentage Float Progress Percentage for this milestone.

GitHub Connector for CData Sync

Organizations

Lists information about about the organizations of the logged in user.

View-Specific Information

By default this view will only return information about the organizations of the logged in user.

Columns

Name Type OrderBySupport Description
Id [KEY] String The id of the organization.
AnyPinnableItems Boolean Determine if this repository owner has any items that can be pinned to their profile. Arguments type (PinnableItemType) Filter to only a particular kind of pinnable item.
AvatarUrl String A URL pointing to the organization's public avatar. Arguments size (Int) The size of the resulting square image.
CreatedAt Datetime Identifies the date and time when the object was created.
DatabaseId Int Identifies the primary key from the database.
Description String The organization's public profile description.
DescriptionHTML String The organization's public profile description rendered to HTML.
Email String The organization's public email.
IpAllowListEnabledSetting String The setting value for whether the organization has an IP allow list enabled.
IsVerified Boolean Whether the organization has verified its profile email and website.
Location String The organization's public profile location.
Login String The organization's login name.
Name String The organization's public profile name.
NewTeamResourcePath String The HTTP path creating a new team.
NewTeamUrl String The HTTP URL creating a new team.
OrganizationBillingEmail String The billing email for the organization.
PinnedItemsRemaining Int Returns how many more items this profile owner can pin to their profile.
ProjectsResourcePath String The HTTP path listing organization's projects.
ProjectsUrl String The HTTP URL listing organization's projects.
RequiresTwoFactorAuthentication Boolean When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication.
ResourcePath String The HTTP path for this organization.
TeamsResourcePath String The HTTP path listing organization's teams.
TeamsUrl String The HTTP URL listing organization's teams.
TwitterUsername String The organization's Twitter username.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL for this organization.
ViewerCanAdminister Boolean Organization is adminable by the viewer.
ViewerCanChangePinnedItems Boolean Can the viewer pin repositories and gists to the profile?
ViewerCanCreateProjects Boolean Can the current viewer create new projects on this owner?
ViewerCanCreateRepositories Boolean Viewer can create repositories on this organization.
ViewerCanCreateTeams Boolean Viewer can create teams on this organization.
ViewerIsAMember Boolean Viewer is an active member of this organization.
WebsiteUrl String The organization's public profile URL.

GitHub Connector for CData Sync

ProjectColumns

Lists information about project columns.

Table-Specific Information

Select

  • UserLogin, RepositoryName, and ProjectNumber support the following operator: =

You can specify the ProjectNumber column to list all columns for a specific project.

SELECT * FROM ProjectColumns WHERE RepositoryName = 'test' AND ProjectNumber = '108'
  

Columns

Name Type OrderBySupport Description
Id [KEY] String The project column ID.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
ProjectNumber Integer The number of the project that contains this column.
Name String The project column's name.
Purpose String The semantic purpose of the column.
ResourcePath String The HTTP path for this project column.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL for this project column

GitHub Connector for CData Sync

Projects

Lists information about projects.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, Number, and State support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Projects WHERE UserLogin = 'MyUserLogin' AND RepositoryName = 'MyRepo'

SELECT * FROM Projects WHERE Number=2

SELECT * FROM Projects WHERE State = 'all'

Columns

Name Type OrderBySupport Description
Id [KEY] String The project ID.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Body String The project's description body.
BodyHTML String The projects description body rendered to HTML.
Closed Boolean true if the object is closed (definition of closed may depend on type).
ClosedAt Datetime Identifies the date and time when the object was closed.
CreatedAt Datetime True Identifies the date and time when the object was created.
Creator String The actor's login name who originally created the project.
Name String True The project's name.
Number Integer The project's number.
ResourcePath String The HTTP path for this project.
State String Whether the project is open or closed.

使用できる値は次のとおりです。OPEN, CLOSED

UpdatedAt Datetime True Identifies the date and time when the object was last updated.
Url String The HTTP URL for this project.
ViewerCanUpdate Boolean Check if the current viewer can update this object.

GitHub Connector for CData Sync

PullRequestReviews

Lists information about pull request reviews in a repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, PullRequestNumber, Author, and State support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM PullRequestReviews WHERE RepositoryName = 'test'

SELECT * FROM PullRequestReviews WHERE RepositoryName = 'test' AND Author = 'testaccount71'

SELECT * FROM PullRequestReviews WHERE RepositoryName='test' AND State IN ('PENDING','DISMISSED')

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the pull request review.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
PullRequestNumber Integer Identifies the pull request associated with this pull request review.
Body String Identifies the pull request review body.
BodyHTML String The body rendered to HTML.
BodyText String The body of this review rendered as plain text.
CreatedAt Datetime Identifies the date and time when the object was created.
CreatedViaEmail Boolean Check if this comment was created via an email reply.
IncludesCreatedEdit Boolean Check if this comment was edited and includes an edit with the creation data.
LastEditedAt Datetime The moment the editor made the last edit.
PublishedAt Datetime Identifies when the comment was published at.
Author String The actor's username login who authored the comment.
ResourcePath String The HTTP path permalink for this PullRequestReview.
CommitId String Identifies the commit associated with this pull request review.
State String Identifies the current state of the pull request review.

使用できる値は次のとおりです。PENDING, COMMENTED, APPROVED, CHANGES_REQUESTED, DISMISSED

SubmittedAt Datetime Identifies when the Pull Request Review was submitted.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL permalink for this PullRequestReview.
ViewerCanDelete Boolean Check if the current viewer can delete this object.
ViewerCanReact Boolean Can user react to this subject.
ViewerCanUpdate Boolean Check if the current viewer can update this object.
ViewerDidAuthor Boolean Did the viewer author this comment.

GitHub Connector for CData Sync

PullRequests

Lists information about pull requests in a repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, BaseRefName, HeadRefName, Number, and State support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM PullRequests WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM PullRequests WHERE Number = 8
  
SELECT * FROM PullRequests WHERE State = 'all'

SELECT * FROM PullRequests WHERE BaseRefName = 'newbranch'

SELECT * FROM PullRequests WHERE HeadRefName = 'master'

SELECT * FROM PullRequests WHERE RepositoryName='MyRepo' AND State IN ('OPEN','MERGED')

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the pull request.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
ActiveLockReason String Reason that the conversation was locked.
Additions Int The number of additions in this pull request.
Author String The actor's login name who authored the comment.
AuthorAssociation String Author's association with the subject of the comment.
BaseRefPrefix String Identifies the prefix of the base Ref associated with the pull request.
BaseRefName String Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.
BaseRefOid String Identifies the OID of the base ref associated with the pull request, even if the ref has been deleted.
Body String The body as Markdown.
BodyHTML String The body rendered to HTML.
BodyText String The body rendered to text.
ChangedFiles Int The number of changed files in this pull request.
ChecksResourcePath String The HTTP path for the checks of this pull request.
ChecksUrl String The HTTP URL for the checks of this pull request.
Closed Boolean true if the pull request is closed.
ClosedAt Datetime Identifies the date and time when the object was closed.
CreatedAt Datetime True Identifies the date and time when the object was created.
CreatedViaEmail Boolean Check if this comment was created via an email reply.
DatabaseId Int Identifies the primary key from the database.
Deletions Int The number of deletions in this pull request.
Editor String The actor's login name who edited this pull request's body.
HeadRefPrefix String Identifies the prefix of the head Ref associated with the pull request.
HeadRefName String Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.
HeadRefOid String Identifies the OID of the head ref associated with the pull request, even if the ref has been deleted.
HeadRepositoryOwner String The owner's login name of the repository associated with this pull request's head Ref.
IncludesCreatedEdit Boolean Check if this comment was edited and includes an edit with the creation data.
IsCrossRepository Boolean The head and base repositories are different.
IsDraft Boolean Identifies if the pull request is a draft.
LastEditedAt Datetime The moment the editor made the last edit.
Locked Boolean true if the pull request is locked.
MaintainerCanModify Boolean Indicates whether maintainers can modify the pull request.
MergeCommitId String The commit ID that was created when this pull request was merged.
Mergeable String Whether or not the pull request can be merged based on the existence of merge conflicts.
Merged Boolean Whether or not the pull request was merged.
MergedAt Datetime The date and time that the pull request was merged.
MergedBy String The actor's login name who merged the pull request.
MilestoneId String Identifies the milestone's ID associated with the pull request.
Number Integer Identifies the pull request number.
Permalink String The permalink to the pull request.
PotentialMergeCommitId String The commit ID that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the mergeable field for more details on the mergeability of the pull request.
PublishedAt Datetime Identifies when the comment was published at.
ResourcePath String The HTTP path for this pull request.
RevertResourcePath String The HTTP path for reverting this pull request.
RevertUrl String The HTTP URL for reverting this pull request.
ReviewDecision String The current status of this pull request with respect to code review.
State String Identifies the state of the pull request.

使用できる値は次のとおりです。OPEN, CLOSED, MERGED

Title String Identifies the pull request title.
UpdatedAt Datetime True Identifies the date and time when the object was last updated.
Url String The HTTP URL for this pull request.
ViewerCanApplySuggestion Boolean Whether or not the viewer can apply suggestion.
ViewerCanReact Boolean Can user react to this subject.
ViewerCanSubscribe Boolean Check if the viewer is able to change their subscription status for the repository.
ViewerCanUpdate Boolean Check if the current viewer can update this object.
ViewerDidAuthor Boolean Did the viewer author this comment.
ViewerSubscription String Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

GitHub Connector for CData Sync

ReleaseAssets

List of releases assets which are dependent on a release.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, ReleaseTagName, and Name support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM ReleaseAssets WHERE RepositoryName = 'test'

SELECT * FROM ReleaseAssets WHERE RepositoryName = 'test' AND ReleaseTagName = 'value8888'

SELECT * FROM ReleaseAssets WHERE RepositoryName = 'test' AND Name = 'hola21.zip'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the asset.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
ReleaseTagName String The ID of the release that the asset is associated with.
ContentType String The asset's content-type.
CreatedAt Datetime Identifies the date and time when the object was created.
DownloadCount Int The number of times this asset was downloaded.
DownloadUrl String Identifies the URL where you can download the release asset via the browser.
Name String Identifies the title of the release asset.
Size Int The size (in bytes) of the asset.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
UploadedBy String The user login name that performed the upload.
Url String Identifies the URL of the release asset.

GitHub Connector for CData Sync

Releases

Lists information about the different releases of a repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin value.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, RepositoryName, and TagName support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Releases

SELECT * FROM Releases WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

SELECT * FROM Releases WHERE RepositoryName = 'test' AND TagName = 'value8888'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the release.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Author String The author's login name of the release.
CreatedAt Datetime True Identifies the date and time when the object was created.
Description String The description of the release.
DescriptionHTML String The description of this release rendered to HTML.
IsDraft Boolean Whether or not the release is a draft.
IsPrerelease Boolean Whether or not the release is a prerelease.
Name String True The title of the release.
PublishedAt Datetime Identifies the date and time when the release was created.
ResourcePath String The HTTP path for this issue.
ShortDescriptionHTML String A description of the release, rendered to HTML without any links in it. Arguments limit (Int) How many characters to return. The default value is 200.
TagName String The name of the release's Git tag.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL for this issue.

GitHub Connector for CData Sync

Repositories

Lists information about a user's repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin, IsArchived, IsFork, IsMirror, and IsPrivate support the following operator: =
  • Name, LicenseKey, and LanguageName support the following operators: =,!=
  • CreatedAt, PushedAt, and ForkCountsupport the following operators: =,>,>=,<,<=
For example, the following queries are processed server side:
SELECT * FROM Repositories WHERE UserLogin = 'MyUser'

SELECT * FROM Repositories WHERE Name = 'aName'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the repository.
UserLogin String The login name of the user.
OwnerLogin String The repository's owner username to login.
OwnerId String The repository's owner ID.
Name String The name of the repository.
Description String The description of the repository.
Url String The HTTP URL for this repository.
CreatedAt Datetime Identifies the date and time when the object was created.
UpdatedAt Datetime True Identifies the date and time when the object was last updated.
PushedAt Datetime Identifies when the repository was last pushed to.
DeleteBranchOnMerge Bool Whether or not branches are automatically deleted when merged in this repository.
DescriptionHTML String The description of the repository rendered to HTML.
DiskUsage Integer The number of kilobytes this repository occupies on disk.
ForkCount Integer Returns how many forks there are of this repository in the whole network.
LicenseKey String The key of the license associated with the repository.
HasIssuesEnabled Bool Indicates if the repository has issues feature enabled.
HasProjectsEnabled Bool Indicates if the repository has the Projects feature enabled.
HasWikiEnabled Bool Indicates if the repository has wiki feature enabled.
HomepageUrl String The repository's URL.
IsArchived Bool Indicates if the repository is unmaintained.
IsDisabled Bool Returns whether or not this repository disabled.
IsFork Bool Identifies if the repository is a fork.
IsLocked Bool Indicates if the repository has been locked or not.
IsMirror Bool Identifies if the repository is a mirror.
IsPrivate Bool Identifies if the repository is private.
IsTemplate Bool Identifies if the repository is a template that can be used to generate new repositories.
MergeCommitAllowed Bool Whether or not PRs are merged with a merge commit on this repository.
ParentId String The repository parent ID, if this is a fork.
TemplateRepositoryId String The ID of the repository from which this repository was generated, if any.
LockReason String The reason the repository has been locked.

使用できる値は次のとおりです。BILLING, MIGRATING, MOVING, RENAME

MirrorUrl String The repository's original mirror URL.
OpenGraphImageUrl String The image used to represent this repository in Open Graph data.
LanguageId String The ID of the current primary language.
LanguageName String The name defined for the current language.
LanguageColor String The color defined for the current language.
ProjectsResourcePath String The HTTP path listing the repository's projects.
ProjectsUrl String The HTTP URL listing the repository's projects.
SSHUrl String The SSH URL to clone this repository.
RebaseMergeAllowed Bool Whether or not rebase-merging is enabled on this repository.
ResourcePath String The HTTP path for this repository.
ShortDescriptionHTML String A description of the repository, rendered to HTML without any links in it.
ViewerPermission String The users permission level on the repository. Will return null if authenticated as an GitHub App.

使用できる値は次のとおりです。ADMIN, MAINTAIN, READ, TRIAGE, WRITE

ViewerSubscription String Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

使用できる値は次のとおりです。IGNORED, SUBSCRIBED, UNSUBSCRIBED

SquashMergeAllowed Bool Whether or not squash-merging is enabled on this repository.
UsesCustomOpenGraphImage Bool Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
ViewerCanAdminister Bool Indicates whether the viewer has admin permissions on this repository.
ViewerCanCreateProjects Bool Can the current viewer create new projects on this owner.
ViewerCanSubscribe Bool Check if the viewer is able to change their subscription status for the repository.
ViewerCanUpdateTopics Bool Indicates whether the viewer can update the topics of this repository.
ViewerHasStarred Bool Returns a boolean indicating whether the viewing user has starred this starrable.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Topic String You can find all of the repositories that are classified with a particular topic.
Topics Integer You can search repositories by the number of topics that have been applied to them.
Stars Integer You can search repositories based on the number of stars a repository has.
Followers Integer You can filter repositories based on the number of followers that they have.
Size Integer You can filter repositories based on their sizes (in kilobytes).

GitHub Connector for CData Sync

Topics

A list of applied repository-topic associations for this repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin and RepositoryName support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Topics WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

Columns

Name Type OrderBySupport Description
Id [KEY] String The id of the topic.
UserLogin String The login name of the user.
RepositoryName String The name of the repository.
Name String The topic's name.
ViewerHasStarred Bool Returns a boolean indicating whether the viewing user has starred this starrable.
URL String The HTTP URL for this repository-topic.
ResourcePath String The HTTP path for this repository-topic.

GitHub Connector for CData Sync

Users

Lists information about GitHub users.

View-Specific Information

Select

By default view will return information about all the registered users in GitHub. Note: This can be quite slow since GitHub has more than 20 million registered users.

If you specify the Login column, this view will only return information about the specified user.

The Sync App uses the GitHub API to process search criteria that refer to UserLogin. The Sync App processes other filters client-side within the Sync App. For example, the following queries are processed server side. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refers to other columns will cause an error.

  • Login and Location support the following operator: =,!=
  • CreatedAt supports the following operators: =,>,>=,<,<=

SELECT * FROM Users WHERE Login = 'MyUser'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the user.
Login String The username used to login.
AnyPinnableItems Boolean Determine if this repository owner has any items that can be pinned to their profile. Arguments type (PinnableItemType) Filter to only a particular kind of pinnable item.
AvatarUrl String A URL pointing to the user's public avatar. Arguments size (Int) The size of the resulting square image.
Bio String The user's public profile bio.
BioHTML String The user's public profile bio as HTML.
Company String The user's public profile company.
CompanyHTML String The user's public profile company as HTML.
CreatedAt Datetime Identifies the date and time when the object was created.
DatabaseId Int Identifies the primary key from the database.
Email String The user's publicly visible profile email.
IsBountyHunter Boolean Whether or not this user is a participant in the GitHub Security Bug Bounty.
IsCampusExpert Boolean Whether or not this user is a participant in the GitHub Campus Experts Program.
IsDeveloperProgramMember Boolean Whether or not this user is a GitHub Developer Program member.
IsEmployee Boolean Whether or not this user is a GitHub employee.
IsHireable Boolean Whether or not the user has marked themselves as for hire.
IsSiteAdmin Boolean Whether or not this user is a site administrator.
IsViewer Boolean Whether or not this user is the viewing user.
Location String The user's public profile location.
Name String The user's public profile name.
PinnedItemsRemaining Int Returns how many more items this profile owner can pin to their profile.
ProjectsResourcePath String The HTTP path listing user's projects.
ProjectsUrl String The HTTP URL listing user's projects.
ResourcePath String The HTTP path for this user.
TwitterUsername String The user's Twitter username.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
Url String The HTTP URL for this user.
ViewerCanChangePinnedItems Boolean Can the viewer pin repositories and gists to the profile?.
ViewerCanCreateProjects Boolean Can the current viewer create new projects on this owner.
ViewerCanFollow Boolean Whether or not the viewer is able to follow the user.
ViewerIsFollowing Boolean Whether or not this user is followed by the viewer.
WebsiteUrl String A URL pointing to the user's public website/blog.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Repositories Integer You can filter users based on the number of repositories they own.
Language String You can search for users based on the languages of repositories they own.
Followers Integer You can filter users based on the number of followers that they have.

GitHub Connector for CData Sync

Watchers

A list of users watching the repository.

View-Specific Information

You must specify the UserLogin when executing a SELECT query against this view. You can specify the values in the WHERE clause or as connection properties. A value specified in the WHERE clause takes precedence over the connection property.

If you do not specify a UserLogin value, the Sync App will use the login name of the authenticated user.

Select

The Sync App uses the GitHub API to restrict results to the specified UserLogin and RepositoryName values.

The Sync App processes other filters client-side within the Sync App. You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any search criteria that refer to other columns will cause an error.

  • UserLogin and RepositoryName support the following operator: =
For example, the following queries are processed server side:
SELECT * FROM Watchers WHERE RepositoryName = 'MyRepo'

SELECT * FROM Watchers WHERE UserLogin = 'MyUser' AND RepositoryName = 'MyRepo'

Columns

Name Type OrderBySupport Description
Id [KEY] String The ID of the user.
UserLogin String The login name of the user.
RepositoryName [KEY] String The name of the repository.
Name String The user's public profile name.
Company String The user's public profile company.
CompanyHTML String The user's public profile company as HTML.
CreatedAt Datetime Identifies the date and time when the object was created.
Email String The user's publicly visible profile email.
IsBountyHunter Bool Whether or not this user is a participant in the GitHub Security Bug Bounty.
IsCampusExpert Bool Whether or not this user is a participant in the GitHub Campus Experts Program.
IsDeveloperProgramMember Bool Whether or not this user is a GitHub Developer Program member.
IsEmployee Bool Whether or not this user is a GitHub employee.
IsHireable Bool Whether or not the user has marked themselves as for hire.
IsSiteAdmin Bool Whether or not this user is a site administrator.
IsViewer Bool Whether or not this user is the viewing user.
Location String The user's public profile location.
PinnedItemsRemaining Integer Returns how many more items this profile owner can pin to their profile.
ProjectsUrl String The HTTP URL listing user's projects.
ResourcePath String The HTTP path for this user.
TwitterUsername String The user's Twitter username.
UpdatedAt Datetime Identifies the date and time when the object was last updated.
URL String The HTTP URL for this user.
ViewerCanChangePinnedItems Bool Can the viewer pin repositories and gists to the profile?.
ViewerCanCreateProjects Bool Can the current viewer create new projects on this owner.
ViewerCanFollow Bool Whether or not the viewer is able to follow the user.
ViewerIsFollowing Bool Whether or not this user is followed by the viewer.
WebsiteUrl String A URL pointing to the user's public website/blog.

GitHub Connector for CData Sync

接続文字列オプション

接続文字列プロパティは、接続を確立するために使用できるさまざまなオプションです。このセクションでは、本プロバイダーの接続文字列で設定できるオプションの一覧を示します。詳細については各リンクをクリックしてください。

接続を確立する方法について詳しくは、接続の確立を参照してください。

Connection


プロパティ説明
RepositoryNameRestrict query results by the repository name.
UserLoginRestrict query results by UserLogin.

OAuth


プロパティ説明
OAuthClientIdOAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。
OAuthClientSecretOAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。

SSL


プロパティ説明
SSLServerCertTLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。

Firewall


プロパティ説明
FirewallTypeプロキシベースのファイアウォールで使われるプロトコル。
FirewallServerプロキシベースのファイアウォールの名前もしくはIP アドレス。
FirewallPortプロキシベースのファイアウォールのTCP ポート。
FirewallUserプロキシベースのファイアウォールに認証するために使うユーザー名。
FirewallPasswordプロキシベースのファイアウォールへの認証に使われるパスワード。

Proxy


プロパティ説明
ProxyAutoDetectこれは、システムプロキシ設定を使用するかどうかを示します。これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。
ProxyServerHTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。
ProxyPortProxyServer プロキシが起動しているTCP ポート。
ProxyAuthSchemeProxyServer プロキシへの認証で使われる認証タイプ。
ProxyUserProxyServer プロキシへの認証に使われるユーザー名。
ProxyPasswordProxyServer プロキシへの認証に使われるパスワード。
ProxySSLTypeProxyServer プロキシへの接続時に使用するSSL タイプ。
ProxyExceptionsProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。

Logging


プロパティ説明
LogModulesログファイルに含めるコアモジュール。

Schema


プロパティ説明
Locationテーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。
BrowsableSchemasこのプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Tablesこのプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。
Views使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。

Miscellaneous


プロパティ説明
MaxPointsPerCallSpecifies how many points a call will cost.
MaxRowsクエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。
Otherこれらの隠しプロパティは特定のユースケースでのみ使用されます。
PseudoColumnsこのプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
Timeoutタイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
UserDefinedViewsカスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。
GitHub Connector for CData Sync

Connection

このセクションでは、本プロバイダーの接続文字列で設定可能なConnection プロパティの全リストを提供します。


プロパティ説明
RepositoryNameRestrict query results by the repository name.
UserLoginRestrict query results by UserLogin.
GitHub Connector for CData Sync

RepositoryName

Restrict query results by the repository name.

解説

Optional when creating a new connection. However, this table is required to query some tables.

Where RepositoryName is required, you must also specify UserLogin.

GitHub Connector for CData Sync

UserLogin

Restrict query results by UserLogin.

解説

You can set this connection property to restrict query results by UserLogin.

This property is optional when creating a connection; you can also specify the UserLogin pseudo column in your query to override the value set in the connection. The driver uses the currently authenticated user's UserLogin if one is not explicitly specified as a connection property or as a criteria.

GitHub Connector for CData Sync

OAuth

このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。


プロパティ説明
OAuthClientIdOAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。
OAuthClientSecretOAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。
GitHub Connector for CData Sync

OAuthClientId

OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。

解説

OAuth アプリケーションの登録の一環として、コンシューマキーとも呼ばれるOAuthClientId 値、およびクライアントシークレットOAuthClientSecret が提供されます。

GitHub Connector for CData Sync

OAuthClientSecret

OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。

解説

OAuth アプリケーションの登録の一環として、コンシューマキーとも呼ばれるOAuthClientId が提供されます。また、コンシューマーシークレットと呼ばれるクライアントシークレットも提供されます。クライアントシークレットをOAuthClientSecret プロパティに設定します。

GitHub Connector for CData Sync

SSL

このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。


プロパティ説明
SSLServerCertTLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。
GitHub Connector for CData Sync

SSLServerCert

TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。

解説

TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。

このプロパティは、次のフォームを取ります:

説明 例
フルPEM 証明書(例では省略されています) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
証明書を保有するローカルファイルへのパス。 C:\cert.cer
公開鍵(例では省略されています) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) ecadbdda5a1529c58a1e9e09828d70e4
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) 34a929226ae0819f2ec14b4a3d904f801cbb150d

これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。

すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。

GitHub Connector for CData Sync

Firewall

このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。


プロパティ説明
FirewallTypeプロキシベースのファイアウォールで使われるプロトコル。
FirewallServerプロキシベースのファイアウォールの名前もしくはIP アドレス。
FirewallPortプロキシベースのファイアウォールのTCP ポート。
FirewallUserプロキシベースのファイアウォールに認証するために使うユーザー名。
FirewallPasswordプロキシベースのファイアウォールへの認証に使われるパスワード。
GitHub Connector for CData Sync

FirewallType

プロキシベースのファイアウォールで使われるプロトコル。

解説

このプロパティは、Sync App がFirewallServer プロキシ経由でトンネルトラフィックを使うためのプロトコルを指定します。デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し次のプロキシタイプのどれかで接続するには、ProxyAutoDetect をfalse に設定します。

タイプ デフォルトポート 説明
TUNNEL 80 これが設定されている場合、Sync App はGitHub への接続を開き、プロキシを経由して通信が行われます。
SOCKS4 1080 これが設定されている場合、Sync App はデータをFirewallServer およびFirewallPort で指定されたSOCS 4 プロキシ経由で送信し、接続リクエストが許容されるかどうかを決定します。
SOCKS5 1080 これが設定されている場合、Sync App はデータをFirewallServer およびFirewallPort で指定されたSOCS 5 プロキシ経由で送信します。プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。

HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。

GitHub Connector for CData Sync

FirewallServer

プロキシベースのファイアウォールの名前もしくはIP アドレス。

解説

ファイアウォールトラバーサルを許容するために設定するIP アドレス、DNS 名、もしくはプロキシホスト名を指定するプロパティです。プロトコルはFirewallType で指定されます。このプロパティとFirewallServer を使って、SOCKS 経由での接続、もしくはトンネリングが可能です。HTTP プロキシへの接続には、ProxyServer を使用します。

Sync App はデフォルトでシステムプロキシを使うので注意してください。他のプロキシを使う場合には、ProxyAutoDetect をfalse に設定してください。

GitHub Connector for CData Sync

FirewallPort

プロキシベースのファイアウォールのTCP ポート。

解説

ファイアウォールトラバーサルを許容するために設定するプロキシベースのファイアウォールのTCP ポート。名前もしくはIP アドレスを指定するには、FirewallServer を使います。FirewallType でプロトコルを指定します。

GitHub Connector for CData Sync

FirewallUser

プロキシベースのファイアウォールに認証するために使うユーザー名。

解説

FirewallUser およびFirewallPassword プロパティは、FirewallType により指定された認証方式に則り、FirewallServer、およびFirewallPort で指定されたプロキシに対しての認証に使われます。

GitHub Connector for CData Sync

FirewallPassword

プロキシベースのファイアウォールへの認証に使われるパスワード。

解説

このプロパティは、FirewallType により指定された認証メソッドに則り、FirewallServer およびFirewallPort で指定されたプロキシに渡されます。

GitHub Connector for CData Sync

Proxy

このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。


プロパティ説明
ProxyAutoDetectこれは、システムプロキシ設定を使用するかどうかを示します。これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。
ProxyServerHTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。
ProxyPortProxyServer プロキシが起動しているTCP ポート。
ProxyAuthSchemeProxyServer プロキシへの認証で使われる認証タイプ。
ProxyUserProxyServer プロキシへの認証に使われるユーザー名。
ProxyPasswordProxyServer プロキシへの認証に使われるパスワード。
ProxySSLTypeProxyServer プロキシへの接続時に使用するSSL タイプ。
ProxyExceptionsProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。
GitHub Connector for CData Sync

ProxyAutoDetect

これは、システムプロキシ設定を使用するかどうかを示します。これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。

解説

これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。

HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。

GitHub Connector for CData Sync

ProxyServer

HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。

解説

HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。HTTP プロキシへの認証には、Sync App はHTTP、Windows(NTLM)、もしくはKerberos 認証タイプを使用することができます。

SOCKS プロキシを経由して接続する、もしくは接続をトンネルするには、FirewallType を参照してください。

デフォルトで、Sync App はsystem プロキシを使います。他のプロキシを使う場合には、ProxyAutoDetect をfalse に設定します。

GitHub Connector for CData Sync

ProxyPort

ProxyServer プロキシが起動しているTCP ポート。

解説

HTTP トラフィックをリダイレクトするHTTP プロキシが実行されているポート。ProxyServer でHTTP プロキシを指定します。その他のプロキシタイプについては、FirewallType を参照してください。

GitHub Connector for CData Sync

ProxyAuthScheme

ProxyServer プロキシへの認証で使われる認証タイプ。

解説

この値は、ProxyServer およびProxyPort で指定されるHTTP プロキシに認証するために使われる認証タイプを指定します。

Sync App は、デフォルトでsystem proxy settings を使い、追加での設定が不要です。他のプロキシへの接続をする場合には、ProxyServer およびProxyPort に加え、ProxyAutoDetect をfalse に設定します。認証するには、ProxyAuthScheme を設定し、必要な場合にはProxyUser およびProxyPassword を設定します。

認証タイプは、次のどれかになります。

  • BASIC: Sync App はHTTP BASIC 認証を行います。
  • DIGEST: Sync App はHTTP DIGEST 認証を行います。
  • NEGOTIATE: Sync App は認証において有効なプロトコルに応じて、NTLM もしくはKereros トークンを取得します。
  • PROPRIETARY: Sync App はNTLM もしくはKerberos トークンを発行しません。このトークンを、HTTP リクエストのAuthorization ヘッダーに含める必要があります。

SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。

GitHub Connector for CData Sync

ProxyUser

ProxyServer プロキシへの認証に使われるユーザー名。

解説

ProxyUser および ProxyPassword オプションは、ProxyServer で指定されたHTTP プロキシに対して接続および認証するために使用されます。

ProxyAuthScheme で使用可能な認証タイプを選択することができます。HTTP 認証を使う場合、これをHTTP プロキシで識別可能なユーザーのユーザー名に設定します。Windows もしくはKerberos 認証を使用する場合、このプロパティを次の形式のどれかでユーザー名に設定します。

user@domain
domain\user

GitHub Connector for CData Sync

ProxyPassword

ProxyServer プロキシへの認証に使われるパスワード。

解説

このプロパティは、NTLM(Windows)、Kerberos、もしくはHTTP 認証をサポートするHTTP プロキシサーバーに認証するために使われます。HTTP プロキシを指定するためには、ProxyServer およびProxyPort を設定します。認証タイプを指定するためにはProxyAuthScheme を設定します。

HTTP 認証を使う場合、さらにHTTP プロキシにProxyUser およびProxyPassword を設定します。

NTLM 認証を使う場合、Windows パスワードにProxyUser およびProxyPassword を設定します。Kerberos 認証には、これらを入力する必要があります。

SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。

デフォルトで、Sync App はsystem プロキシを使います。他のプロキシに接続する場合には、これをfalse に設定します。

GitHub Connector for CData Sync

ProxySSLType

ProxyServer プロキシへの接続時に使用するSSL タイプ。

解説

このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この値は、AUTO、ALWAYS、NEVER、TUNNEL のいずれかです。有効な値は次のとおりです。

AUTOデフォルト設定。URL がHTTPS URL の場合、Sync App は、TUNNEL オプションを使います。URL がHTTP URL の場合、コンポーネントはNEVER オプションを使います。
ALWAYS接続は、常にSSL 有効となります。
NEVER接続は、SSL 有効になりません。
TUNNEL接続は、トンネリングプロキシを経由します。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。

GitHub Connector for CData Sync

ProxyExceptions

ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。

解説

ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。

Sync App は、追加設定なしにデフォルトでシステムのプロキシ設定を使います。この接続のプロキシ例外を明示的に構成するには、ProxyAutoDetect をfalse に設定して、ProxyServer およびProxyPort を設定する必要があります。認証するには、ProxyAuthScheme を設定し、必要な場合にはProxyUser およびProxyPassword を設定します。

GitHub Connector for CData Sync

Logging

このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。


プロパティ説明
LogModulesログファイルに含めるコアモジュール。
GitHub Connector for CData Sync

LogModules

ログファイルに含めるコアモジュール。

解説

指定された(';' で区切られた)モジュールのみがログファイルに含まれます。デフォルトではすべてのモジュールが含まれます。

概要はログ ページを参照してください。

GitHub Connector for CData Sync

Schema

このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。


プロパティ説明
Locationテーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。
BrowsableSchemasこのプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Tablesこのプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。
Views使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。
GitHub Connector for CData Sync

Location

テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。

解説

Sync App のスキーマファイル(テーブルとビューの場合は.rsd ファイル、ストアドプロシージャの場合は.rsb ファイル)を含むディレクトリへのパス。このフォルダの場所は、実行ファイルの場所からの相対パスにすることができます。Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。

指定しない場合、デフォルトの場所は"%APPDATA%\\CData\\GitHub Data Provider\\Schema" となり、%APPDATA% はユーザーのコンフィギュレーションディレクトリに設定されます:

GitHub Connector for CData Sync

BrowsableSchemas

このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

解説

スキーマをデータベースからリストすると、負荷がかかる可能性があります。接続文字列でスキーマのリストを提供すると、 パフォーマンスが向上します。

GitHub Connector for CData Sync

Tables

このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。

解説

テーブルを複数のデータベースからリストすると、負荷がかかる可能性があります。接続文字列でテーブルのリストを提供すると、Sync App のパフォーマンスが向上します。

このプロパティは、作業したいビューがすでにわかっていて、ビューが多すぎる場合に、ビューを自動的にリストする代わりに使用することもできます。

カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。

複数のスキーマまたはカタログを持つデータソースに接続する場合は、複数のカタログやスキーマに存在するテーブル間の曖昧さを避けるため、最後の例のように、このプロパティにテーブルの完全修飾名を指定する必要があることに注意してください。

GitHub Connector for CData Sync

Views

使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。

解説

ビューを複数のデータベースからリストすると、負荷がかかる可能性があります。接続文字列でビューのリストを提供すると、Sync App のパフォーマンスが向上します。

このプロパティは、作業したいビューがすでにわかっていて、ビューが多すぎる場合に、ビューを自動的にリストする代わりに使用することもできます。

カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。

複数のスキーマまたはカタログを持つデータソースに接続する場合は、複数のカタログやスキーマに存在するテーブル間の曖昧さを避けるため、最後の例のように、このプロパティにテーブルの完全修飾名を指定する必要があることに注意してください。

GitHub Connector for CData Sync

Miscellaneous

このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。


プロパティ説明
MaxPointsPerCallSpecifies how many points a call will cost.
MaxRowsクエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。
Otherこれらの隠しプロパティは特定のユースケースでのみ使用されます。
PseudoColumnsこのプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
Timeoutタイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
UserDefinedViewsカスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。
GitHub Connector for CData Sync

MaxPointsPerCall

Specifies how many points a call will cost.

解説

The GraphQL API v4 rate limit is 5,000 points per hour.

GitHub Connector for CData Sync

MaxRows

クエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。

解説

クエリで集計またはグループ化を使用しない場合に返される行数を制限します。これにより、設計時にパフォーマンスの問題を回避できます。

GitHub Connector for CData Sync

Other

これらの隠しプロパティは特定のユースケースでのみ使用されます。

解説

以下にリストされているプロパティは、特定のユースケースで使用可能です。通常のドライバーのユースケースおよび機能では、これらのプロパティは必要ありません。

複数のプロパティをセミコロン区切りリストで指定します。

統合およびフォーマット

DefaultColumnSizeデータソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。
ConvertDateTimeToGMT日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換するかどうかを決定します。
RecordToFile=filename基底のソケットデータ転送を指定のファイルに記録します。

GitHub Connector for CData Sync

PseudoColumns

このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。

解説

Entity Framework ではテーブルカラムでない疑似カラムに値を設定できないため、この設定はEntity Framework で特に便利です。この接続設定の値は、"Table1=Column1, Table1=Column2, Table2=Column3" の形式です。"*=*" のように"*" 文字を使用して、すべてのテーブルとすべてのカラムを含めることができます。

GitHub Connector for CData Sync

Timeout

タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。

解説

Timeout が0に設定されている場合は、操作がタイムアウトしません。処理が正常に完了するか、エラー状態になるまで実行されます。

Timeout の有効期限が切れても処理が完了していない場合は、Sync App は例外をスローします。

GitHub Connector for CData Sync

UserDefinedViews

カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。

解説

ユーザー定義ビューは、UserDefinedViews.json というJSON 形式のコンフィギュレーションファイルで定義されています。Sync App は、このファイルで指定されたビューを自動的に検出します。

また、複数のビュー定義を持ち、UserDefinedViews 接続プロパティを使用して制御することも可能です。このプロパティを使用すると、指定されたビューのみがSync App によって検知されます。

このユーザー定義ビューのコンフィギュレーションファイルは、次のようにフォーマットされています。

  • 各ルートエレメントはビューの名前を定義します。
  • 各ルートエレメントには、query と呼ばれる子エレメントが含まれており、この子エレメントにはビューのカスタムSQL クエリが含まれています。

次に例を示します。

{
	"MyView": {
		"query": "SELECT * FROM Users WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}
UserDefinedViews 接続プロパティを使用して、JSON コンフィギュレーションファイルの場所を指定します。次に例を示します。
"UserDefinedViews", "C:\\Users\\yourusername\\Desktop\\tmp\\UserDefinedViews.json"

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479