---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/vector/builder/interfaces/PlanSink.md
---

# Interface: PlanSink

Defined in: [batteries/vector/builder.ts:46](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/builder.ts#L46)

## Extended by

* [`VectorStore`](../../contract/interfaces/VectorStore.md)

## Methods

### executeDelete()

```ts
executeDelete(plan: DeletePlan): Promise<void>;
```

Defined in: [batteries/vector/builder.ts:49](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/builder.ts#L49)

#### Parameters

| Parameter | Type                                                |
| --------- | --------------------------------------------------- |
| `plan`    | [`DeletePlan`](../../plan/interfaces/DeletePlan.md) |

#### Returns

`Promise`<`void`>

***

### executeSearch()

```ts
executeSearch(plan: SearchPlan): Promise<VectorMatch[]>;
```

Defined in: [batteries/vector/builder.ts:47](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/builder.ts#L47)

#### Parameters

| Parameter | Type                                                |
| --------- | --------------------------------------------------- |
| `plan`    | [`SearchPlan`](../../plan/interfaces/SearchPlan.md) |

#### Returns

`Promise`<[`VectorMatch`](../../types/interfaces/VectorMatch.md)\[]>

***

### executeUpsert()

```ts
executeUpsert(plan: UpsertPlan): Promise<void>;
```

Defined in: [batteries/vector/builder.ts:48](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/builder.ts#L48)

#### Parameters

| Parameter | Type                                                |
| --------- | --------------------------------------------------- |
| `plan`    | [`UpsertPlan`](../../plan/interfaces/UpsertPlan.md) |

#### Returns

`Promise`<`void`>
