| 1 | [vectordb](../README.md) / [Exports](../modules.md) / MakeArrowTableOptions |
| 2 | |
| 3 | # Class: MakeArrowTableOptions |
| 4 | |
| 5 | Options to control the makeArrowTable call. |
| 6 | |
| 7 | ## Table of contents |
| 8 | |
| 9 | ### Constructors |
| 10 | |
| 11 | - [constructor](MakeArrowTableOptions.md#constructor) |
| 12 | |
| 13 | ### Properties |
| 14 | |
| 15 | - [dictionaryEncodeStrings](MakeArrowTableOptions.md#dictionaryencodestrings) |
| 16 | - [embeddings](MakeArrowTableOptions.md#embeddings) |
| 17 | - [schema](MakeArrowTableOptions.md#schema) |
| 18 | - [vectorColumns](MakeArrowTableOptions.md#vectorcolumns) |
| 19 | |
| 20 | ## Constructors |
| 21 | |
| 22 | ### constructor |
| 23 | |
| 24 | • **new MakeArrowTableOptions**(`values?`) |
| 25 | |
| 26 | #### Parameters |
| 27 | |
| 28 | | Name | Type | |
| 29 | | :------ | :------ | |
| 30 | | `values?` | `Partial`\<[`MakeArrowTableOptions`](MakeArrowTableOptions.md)\> | |
| 31 | |
| 32 | #### Defined in |
| 33 | |
| 34 | [arrow.ts:98](https://github.com/lancedb/lancedb/blob/92179835/node/src/arrow.ts#L98) |
| 35 | |
| 36 | ## Properties |
| 37 | |
| 38 | ### dictionaryEncodeStrings |
| 39 | |
| 40 | • **dictionaryEncodeStrings**: `boolean` = `false` |
| 41 | |
| 42 | If true then string columns will be encoded with dictionary encoding |
| 43 | |
| 44 | Set this to true if your string columns tend to repeat the same values |
| 45 | often. For more precise control use the `schema` property to specify the |
| 46 | data type for individual columns. |
| 47 | |
| 48 | If `schema` is provided then this property is ignored. |
| 49 | |
| 50 | #### Defined in |
| 51 | |
| 52 | [arrow.ts:96](https://github.com/lancedb/lancedb/blob/92179835/node/src/arrow.ts#L96) |
| 53 | |
| 54 | ___ |
| 55 | |
| 56 | ### embeddings |
| 57 | |
| 58 | • `Optional` **embeddings**: [`EmbeddingFunction`](../interfaces/EmbeddingFunction.md)\<`any`\> |
| 59 | |
| 60 | #### Defined in |
| 61 | |
| 62 | [arrow.ts:85](https://github.com/lancedb/lancedb/blob/92179835/node/src/arrow.ts#L85) |
| 63 | |
| 64 | ___ |
| 65 | |
| 66 | ### schema |
| 67 | |
| 68 | • `Optional` **schema**: `Schema`\<`any`\> |
| 69 | |
| 70 | #### Defined in |
| 71 | |
| 72 | [arrow.ts:63](https://github.com/lancedb/lancedb/blob/92179835/node/src/arrow.ts#L63) |
| 73 | |
| 74 | ___ |
| 75 | |
| 76 | ### vectorColumns |
| 77 | |
| 78 | • **vectorColumns**: `Record`\<`string`, `VectorColumnOptions`\> |
| 79 | |
| 80 | #### Defined in |
| 81 | |
| 82 | [arrow.ts:81](https://github.com/lancedb/lancedb/blob/92179835/node/src/arrow.ts#L81) |