> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: VirtualTableClient<Schema>

> One client controller over the native retained-query lifecycle.

[browser](/api/modules/browser).VirtualTableClient

One client controller over the native retained-query lifecycle.

## Type parameters

| Name | Type |
| :- | :- |
| `Schema` | extends [`GenericSchema`](/api/modules/server#genericschema) = [`GenericSchema`](/api/modules/server#genericschema) |

## Constructors

### constructor

• **new VirtualTableClient**\<`Schema`>(`transport`)

#### Type parameters

| Name | Type |
| :- | :- |
| `Schema` | extends [`GenericSchema`](/api/modules/server#genericschema) = [`GenericSchema`](/api/modules/server#genericschema) |

#### Parameters

| Name | Type |
| :- | :- |
| `transport` | [`VirtualTableTransport`](/api/interfaces/browser.VirtualTableTransport) |

## Methods

### prepare

▸ **prepare**\<`Plan`>(`query`, `bounds?`): `Promise`\<[`PreparedVirtualTable`](/api/classes/browser.PreparedVirtualTable)\<[`VirtualTableRow`](/api/modules/server#virtualtablerow)\<`Schema`, `Plan`>>>

#### Type parameters

| Name |
| :- |
| `Plan` |

#### Parameters

| Name | Type |
| :- | :- |
| `query` | `ValidViewQuery`\<`Schema`, `Plan`> |
| `bounds` | [`VirtualTableBounds`](/api/modules/browser#virtualtablebounds) |

#### Returns

`Promise`\<[`PreparedVirtualTable`](/api/classes/browser.PreparedVirtualTable)\<[`VirtualTableRow`](/api/modules/server#virtualtablerow)\<`Schema`, `Plan`>>>

***

### resume

▸ **resume**\<`Row`>(`executionId`): [`VirtualTableHandle`](/api/classes/browser.VirtualTableHandle)\<`Row`>

#### Type parameters

| Name | Type |
| :- | :- |
| `Row` | `Record`\<`string`, [`Value`](/api/modules/values#value)> |

#### Parameters

| Name | Type |
| :- | :- |
| `executionId` | [`VirtualTableExecutionId`](/api/modules/server#virtualtableexecutionid)\<`Row`> |

#### Returns

[`VirtualTableHandle`](/api/classes/browser.VirtualTableHandle)\<`Row`>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.