Skip to contents

Delta Sharing client

Delta Sharing client

Details

A reusable client that owns a parsed profile and its authentication context. Discovery and table handles are created from the client. Download concurrency is configured on each table handle; query options live on its snapshot and changes readers.

Most users call sharing_client() rather than SharingClient$new().

Methods


Method new()

Create a client from a profile.

Usage

SharingClient$new(profile)

Arguments

profile

Profile path or parsed list.


Method endpoint()

The configured profile endpoint.

Usage

SharingClient$endpoint()

Returns

The endpoint URL string.


Method list_shares()

List available shares.

Usage

SharingClient$list_shares()

Returns

A printable list of share records.


Method list_schemas()

List schemas in a share.

Usage

SharingClient$list_schemas(share)

Arguments

share

Share name.

Returns

A printable list of schema records.


Method list_tables()

List tables in a share, optionally within one schema.

Usage

SharingClient$list_tables(share, schema = NULL)

Arguments

share

Share name.

schema

Optional schema name.

Returns

A printable list of table records.


Method table()

Create a reusable table handle.

Usage

SharingClient$table(name, schema = NULL, share = NULL, concurrency = 4L)

Arguments

name

Table name, or a "share.schema.name" string when share and schema are omitted.

schema

Schema name when using explicit components.

share

Share name when using explicit components.

concurrency

Maximum number of data files downloaded concurrently.

Returns

A SharingTable.


Method print()

Print the client.

Usage

SharingClient$print(...)

Arguments

...

Ignored.