| 50 | |
| 51 | |
| 52 | export interface Vector<T = any> { |
| 53 | length: number; |
| 54 | |
| 55 | /** |
| 56 | * Access the value by index (Like an array) |
| 57 | */ |
| 58 | get(index: number): T; |
| 59 | |
| 60 | /** |
| 61 | * Get the resutls as an array. |
| 62 | */ |
| 63 | toArray(): T[]; |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Apache arrow vectors are Read/Write |