C# Class DevExpress.DataAccess.BigQuery.BigQueryConnection

Represents a connection to BigQuery.
Inheritance: System.Data.Common.DbConnection, ICloneable
Mostrar archivo Open project: DevExpress/BigQueryProvider Class Usage Examples

Private Properties

Property Type Description
CheckDisposed void
CheckOpen void
CreateServiceAsync Task
GetDataObjectNames string[]
ICloneable object
InitializeServiceAsync Task

Public Methods

Method Description
BigQueryConnection ( ) : System

Initializes a new instance of the BigQueryConnection class with default settings.

BigQueryConnection ( string connectionString ) : System

Initializes a new instance of the BigQueryConnection class with the specified connection string.

ChangeDatabase ( string databaseName ) : void

Changes the database for the current connection.

Close ( ) : void

Closes the current data connection.

CreateCommand ( ) : BigQueryCommand

Creates a new BigQuery command associated with the current data connection.

GetDataSetNames ( ) : string[]

Returns a list of datasets available in the current Google Cloud Platform project.

GetTableNames ( ) : string[]

Returns a list of tables available in the current BigQuery dataset.

GetViewNames ( ) : string[]

Returns a list of views available in the current BigQuery dataset.

Open ( ) : void

Opens a data connection.

OpenAsync ( CancellationToken cancellationToken ) : Task

Asynchronously opens a data connection.

Protected Methods

Method Description
BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
CreateDbCommand ( ) : DbCommand
Dispose ( bool disposing ) : void

Private Methods

Method Description
CheckDisposed ( ) : void
CheckOpen ( ) : void
CreateServiceAsync ( CancellationToken cancellationToken ) : Task
GetDataObjectNames ( string type ) : string[]
ICloneable ( ) : object
InitializeServiceAsync ( CancellationToken cancellationToken ) : Task

Method Details

BeginDbTransaction() protected method

protected BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
isolationLevel IsolationLevel
return System.Data.Common.DbTransaction

BigQueryConnection() public method

Initializes a new instance of the BigQueryConnection class with default settings.
public BigQueryConnection ( ) : System
return System

BigQueryConnection() public method

Initializes a new instance of the BigQueryConnection class with the specified connection string.
public BigQueryConnection ( string connectionString ) : System
connectionString string A System.String specifying a connection string.
return System

ChangeDatabase() public method

Changes the database for the current connection.
public ChangeDatabase ( string databaseName ) : void
databaseName string A System.String value specifying the database name.
return void

Close() public method

Closes the current data connection.
public Close ( ) : void
return void

CreateCommand() public method

Creates a new BigQuery command associated with the current data connection.
public CreateCommand ( ) : BigQueryCommand
return BigQueryCommand

CreateDbCommand() protected method

protected CreateDbCommand ( ) : DbCommand
return System.Data.Common.DbCommand

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetDataSetNames() public method

Returns a list of datasets available in the current Google Cloud Platform project.
public GetDataSetNames ( ) : string[]
return string[]

GetTableNames() public method

Returns a list of tables available in the current BigQuery dataset.
public GetTableNames ( ) : string[]
return string[]

GetViewNames() public method

Returns a list of views available in the current BigQuery dataset.
public GetViewNames ( ) : string[]
return string[]

Open() public method

Opens a data connection.
public Open ( ) : void
return void

OpenAsync() public method

Asynchronously opens a data connection.
public OpenAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken A cancellation token that can be used to cancel opening a data connection.
return Task