@query-farm/vgi 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/LICENSE +134 -0
  2. package/README.md +494 -0
  3. package/dist/__dbg.test-d.d.ts +1 -0
  4. package/dist/arguments/argument-spec.d.ts +51 -0
  5. package/dist/arguments/arguments.d.ts +13 -0
  6. package/dist/arrow/codec/branded.d.ts +83 -0
  7. package/dist/arrow/codec/registry.d.ts +29 -0
  8. package/dist/arrow/codec/repr.d.ts +23 -0
  9. package/dist/arrow/codec/type-descriptors.d.ts +109 -0
  10. package/dist/arrow/impl-arrowjs/build.d.ts +19 -0
  11. package/dist/arrow/impl-arrowjs/canonical.d.ts +15 -0
  12. package/dist/arrow/impl-arrowjs/empty.d.ts +7 -0
  13. package/dist/arrow/impl-arrowjs/filter.d.ts +11 -0
  14. package/dist/arrow/impl-arrowjs/index.d.ts +11 -0
  15. package/dist/arrow/impl-arrowjs/ipc.d.ts +24 -0
  16. package/dist/arrow/impl-arrowjs/iterate.d.ts +39 -0
  17. package/dist/arrow/impl-arrowjs/project.d.ts +10 -0
  18. package/dist/arrow/impl-arrowjs/schema.d.ts +62 -0
  19. package/dist/arrow/impl-arrowjs/statistics.d.ts +13 -0
  20. package/dist/arrow/impl-flechette/build.d.ts +14 -0
  21. package/dist/arrow/impl-flechette/canonical.d.ts +18 -0
  22. package/dist/arrow/impl-flechette/empty.d.ts +9 -0
  23. package/dist/arrow/impl-flechette/filter.d.ts +10 -0
  24. package/dist/arrow/impl-flechette/index.d.ts +11 -0
  25. package/dist/arrow/impl-flechette/ipc.d.ts +33 -0
  26. package/dist/arrow/impl-flechette/iterate.d.ts +29 -0
  27. package/dist/arrow/impl-flechette/message-meta.d.ts +10 -0
  28. package/dist/arrow/impl-flechette/normalize-type.d.ts +11 -0
  29. package/dist/arrow/impl-flechette/project.d.ts +3 -0
  30. package/dist/arrow/impl-flechette/schema.d.ts +47 -0
  31. package/dist/arrow/impl-flechette/statistics.d.ts +13 -0
  32. package/dist/arrow/index.d.ts +11 -0
  33. package/dist/arrow/predicates.d.ts +47 -0
  34. package/dist/arrow/repr.test-d.d.ts +52 -0
  35. package/dist/arrow/schema-types.d.ts +71 -0
  36. package/dist/arrow/types.d.ts +57 -0
  37. package/dist/catalog/attach-option.d.ts +33 -0
  38. package/dist/catalog/attach-options.d.ts +30 -0
  39. package/dist/catalog/composite.d.ts +33 -0
  40. package/dist/catalog/descriptors.d.ts +154 -0
  41. package/dist/catalog/interface.d.ts +239 -0
  42. package/dist/catalog/read-only.d.ts +33 -0
  43. package/dist/client/client.d.ts +189 -0
  44. package/dist/client/errors.d.ts +26 -0
  45. package/dist/client/helpers.d.ts +12 -0
  46. package/dist/client/protocol.d.ts +16 -0
  47. package/dist/client/types.d.ts +125 -0
  48. package/dist/client-entry.d.ts +11 -0
  49. package/dist/client-entry.js +48 -0
  50. package/dist/client-entry.js.map +9 -0
  51. package/dist/codec/asd.d.ts +25 -0
  52. package/dist/crypto.d.ts +36 -0
  53. package/dist/errors.d.ts +24 -0
  54. package/dist/filter-pushdown/collector.d.ts +32 -0
  55. package/dist/filter-pushdown/deserialize.d.ts +16 -0
  56. package/dist/filter-pushdown/evaluate.d.ts +51 -0
  57. package/dist/filter-pushdown/index.d.ts +4 -0
  58. package/dist/filter-pushdown/types.d.ts +84 -0
  59. package/dist/functions/aggregate.d.ts +129 -0
  60. package/dist/functions/copy-from.d.ts +81 -0
  61. package/dist/functions/copy-to.d.ts +121 -0
  62. package/dist/functions/registry.d.ts +16 -0
  63. package/dist/functions/scalar.d.ts +98 -0
  64. package/dist/functions/storage-cf-do.d.ts +47 -0
  65. package/dist/functions/storage.d.ts +86 -0
  66. package/dist/functions/table-buffering.d.ts +99 -0
  67. package/dist/functions/table-in-out.d.ts +64 -0
  68. package/dist/functions/table.d.ts +118 -0
  69. package/dist/functions/types.d.ts +157 -0
  70. package/dist/generated/vgi-client.d.ts +466 -0
  71. package/dist/generated/vgi-protocol-schemas.d.ts +115 -0
  72. package/dist/index.core.d.ts +42 -0
  73. package/dist/index.d.ts +2 -0
  74. package/dist/index.js +10888 -0
  75. package/dist/index.js.map +85 -0
  76. package/dist/metadata/resolve.d.ts +3 -0
  77. package/dist/metadata/serialize.d.ts +12 -0
  78. package/dist/metadata/types.d.ts +47 -0
  79. package/dist/protocol/dispatch.d.ts +23 -0
  80. package/dist/protocol/handlers/aggregate.d.ts +3 -0
  81. package/dist/protocol/handlers/catalog/admin.d.ts +3 -0
  82. package/dist/protocol/handlers/catalog/index.d.ts +3 -0
  83. package/dist/protocol/handlers/catalog/index_methods.d.ts +3 -0
  84. package/dist/protocol/handlers/catalog/macro.d.ts +3 -0
  85. package/dist/protocol/handlers/catalog/shared.d.ts +70 -0
  86. package/dist/protocol/handlers/catalog/table.d.ts +3 -0
  87. package/dist/protocol/handlers/catalog/view.d.ts +3 -0
  88. package/dist/protocol/handlers/function.d.ts +8 -0
  89. package/dist/protocol/handlers/shared.d.ts +31 -0
  90. package/dist/protocol/handlers/table-buffering.d.ts +3 -0
  91. package/dist/protocol/serialize.d.ts +4 -0
  92. package/dist/protocol/serializers/arguments.d.ts +3 -0
  93. package/dist/protocol/serializers/bind.d.ts +9 -0
  94. package/dist/protocol/serializers/cardinality.d.ts +7 -0
  95. package/dist/protocol/serializers/init.d.ts +9 -0
  96. package/dist/protocol/serializers/shared.d.ts +12 -0
  97. package/dist/protocol/state-serializer.d.ts +23 -0
  98. package/dist/protocol/types.d.ts +129 -0
  99. package/dist/secrets/helpers.d.ts +15 -0
  100. package/dist/types.d.ts +52 -0
  101. package/dist/util/arrow/index.d.ts +1 -0
  102. package/dist/util/bytes.d.ts +2 -0
  103. package/dist/util/statistics.d.ts +7 -0
  104. package/dist/worker-cf-entry.d.ts +30 -0
  105. package/dist/worker-cf-entry.js +8767 -0
  106. package/dist/worker-cf-entry.js.map +74 -0
  107. package/dist/worker.d.ts +36 -0
  108. package/package.json +96 -0
  109. package/src/arguments/argument-spec.ts +200 -0
  110. package/src/arguments/arguments.ts +81 -0
  111. package/src/arrow/codec/branded.ts +206 -0
  112. package/src/arrow/codec/registry.ts +674 -0
  113. package/src/arrow/codec/repr.ts +181 -0
  114. package/src/arrow/codec/type-descriptors.ts +137 -0
  115. package/src/arrow/impl-arrowjs/build.ts +88 -0
  116. package/src/arrow/impl-arrowjs/canonical.ts +509 -0
  117. package/src/arrow/impl-arrowjs/empty.ts +72 -0
  118. package/src/arrow/impl-arrowjs/filter.ts +53 -0
  119. package/src/arrow/impl-arrowjs/index.ts +54 -0
  120. package/src/arrow/impl-arrowjs/ipc.ts +67 -0
  121. package/src/arrow/impl-arrowjs/iterate.ts +159 -0
  122. package/src/arrow/impl-arrowjs/project.ts +73 -0
  123. package/src/arrow/impl-arrowjs/schema.ts +256 -0
  124. package/src/arrow/impl-arrowjs/statistics.ts +185 -0
  125. package/src/arrow/impl-flechette/build.ts +65 -0
  126. package/src/arrow/impl-flechette/canonical.ts +289 -0
  127. package/src/arrow/impl-flechette/empty.ts +20 -0
  128. package/src/arrow/impl-flechette/filter.ts +42 -0
  129. package/src/arrow/impl-flechette/index.ts +54 -0
  130. package/src/arrow/impl-flechette/ipc.ts +110 -0
  131. package/src/arrow/impl-flechette/iterate.ts +121 -0
  132. package/src/arrow/impl-flechette/message-meta.ts +175 -0
  133. package/src/arrow/impl-flechette/normalize-type.ts +99 -0
  134. package/src/arrow/impl-flechette/project.ts +64 -0
  135. package/src/arrow/impl-flechette/schema.ts +202 -0
  136. package/src/arrow/impl-flechette/statistics.ts +198 -0
  137. package/src/arrow/index.ts +129 -0
  138. package/src/arrow/predicates.ts +66 -0
  139. package/src/arrow/repr.test-d.ts +189 -0
  140. package/src/arrow/schema-types.ts +213 -0
  141. package/src/arrow/types.ts +74 -0
  142. package/src/catalog/attach-option.ts +107 -0
  143. package/src/catalog/attach-options.ts +79 -0
  144. package/src/catalog/composite.ts +180 -0
  145. package/src/catalog/descriptors.ts +164 -0
  146. package/src/catalog/interface.ts +721 -0
  147. package/src/catalog/read-only.ts +909 -0
  148. package/src/client/client.ts +1348 -0
  149. package/src/client/errors.ts +69 -0
  150. package/src/client/helpers.ts +56 -0
  151. package/src/client/protocol.ts +33 -0
  152. package/src/client/types.ts +140 -0
  153. package/src/client-entry.ts +112 -0
  154. package/src/codec/asd.ts +147 -0
  155. package/src/crypto.ts +143 -0
  156. package/src/errors.ts +61 -0
  157. package/src/filter-pushdown/collector.ts +147 -0
  158. package/src/filter-pushdown/deserialize.ts +253 -0
  159. package/src/filter-pushdown/evaluate.ts +591 -0
  160. package/src/filter-pushdown/index.ts +28 -0
  161. package/src/filter-pushdown/types.ts +91 -0
  162. package/src/functions/aggregate.ts +384 -0
  163. package/src/functions/copy-from.ts +282 -0
  164. package/src/functions/copy-to.ts +319 -0
  165. package/src/functions/registry.ts +258 -0
  166. package/src/functions/scalar.ts +356 -0
  167. package/src/functions/storage-cf-do.ts +303 -0
  168. package/src/functions/storage.ts +521 -0
  169. package/src/functions/table-buffering.ts +562 -0
  170. package/src/functions/table-in-out.ts +373 -0
  171. package/src/functions/table.ts +521 -0
  172. package/src/functions/types.ts +192 -0
  173. package/src/generated/vgi-client.ts +560 -0
  174. package/src/generated/vgi-protocol-schemas.ts +864 -0
  175. package/src/index.core.ts +267 -0
  176. package/src/index.ts +11 -0
  177. package/src/metadata/resolve.ts +109 -0
  178. package/src/metadata/serialize.ts +242 -0
  179. package/src/metadata/types.ts +60 -0
  180. package/src/protocol/dispatch.ts +52 -0
  181. package/src/protocol/handlers/aggregate.ts +355 -0
  182. package/src/protocol/handlers/catalog/admin.ts +368 -0
  183. package/src/protocol/handlers/catalog/index.ts +25 -0
  184. package/src/protocol/handlers/catalog/index_methods.ts +65 -0
  185. package/src/protocol/handlers/catalog/macro.ts +114 -0
  186. package/src/protocol/handlers/catalog/shared.ts +291 -0
  187. package/src/protocol/handlers/catalog/table.ts +401 -0
  188. package/src/protocol/handlers/catalog/view.ts +119 -0
  189. package/src/protocol/handlers/function.ts +302 -0
  190. package/src/protocol/handlers/shared.ts +80 -0
  191. package/src/protocol/handlers/table-buffering.ts +207 -0
  192. package/src/protocol/serialize.ts +23 -0
  193. package/src/protocol/serializers/arguments.ts +160 -0
  194. package/src/protocol/serializers/bind.ts +212 -0
  195. package/src/protocol/serializers/cardinality.ts +45 -0
  196. package/src/protocol/serializers/init.ts +247 -0
  197. package/src/protocol/serializers/shared.ts +46 -0
  198. package/src/protocol/state-serializer.ts +181 -0
  199. package/src/protocol/types.ts +153 -0
  200. package/src/secrets/helpers.ts +70 -0
  201. package/src/types.ts +71 -0
  202. package/src/util/arrow/index.ts +23 -0
  203. package/src/util/bytes.ts +14 -0
  204. package/src/util/statistics.ts +40 -0
  205. package/src/worker-cf-entry.ts +172 -0
  206. package/src/worker.ts +212 -0
@@ -0,0 +1,115 @@
1
+ export declare const CatalogInfoSchema: import("../index.core.js").VgiSchema;
2
+ export declare const SchemaInfoSchema: import("../index.core.js").VgiSchema;
3
+ export declare const TableInfoSchema: import("../index.core.js").VgiSchema;
4
+ export declare const ViewInfoSchema: import("../index.core.js").VgiSchema;
5
+ export declare const FunctionInfoSchema: import("../index.core.js").VgiSchema;
6
+ export declare const MacroInfoSchema: import("../index.core.js").VgiSchema;
7
+ export declare const IndexInfoSchema: import("../index.core.js").VgiSchema;
8
+ export declare const CopyFromFormatInfoSchema: import("../index.core.js").VgiSchema;
9
+ export declare const ScanFunctionResultSchema: import("../index.core.js").VgiSchema;
10
+ export declare const ScanBranchesResultSchema: import("../index.core.js").VgiSchema;
11
+ export declare const ScanBranchSchema: import("../index.core.js").VgiSchema;
12
+ export declare const AggregateBindResultSchema: import("../index.core.js").VgiSchema;
13
+ export declare const AggregateCombineResultSchema: import("../index.core.js").VgiSchema;
14
+ export declare const AggregateDestructorResultSchema: import("../index.core.js").VgiSchema;
15
+ export declare const AggregateFinalizeResultSchema: import("../index.core.js").VgiSchema;
16
+ export declare const AggregateStreamingChunkResultSchema: import("../index.core.js").VgiSchema;
17
+ export declare const AggregateStreamingCloseResultSchema: import("../index.core.js").VgiSchema;
18
+ export declare const AggregateStreamingOpenResultSchema: import("../index.core.js").VgiSchema;
19
+ export declare const AggregateUpdateResultSchema: import("../index.core.js").VgiSchema;
20
+ export declare const AggregateWindowResultSchema: import("../index.core.js").VgiSchema;
21
+ export declare const AggregateWindowBatchResultSchema: import("../index.core.js").VgiSchema;
22
+ export declare const AggregateWindowDestructorResultSchema: import("../index.core.js").VgiSchema;
23
+ export declare const AggregateWindowInitResultSchema: import("../index.core.js").VgiSchema;
24
+ export declare const BindResultSchema: import("../index.core.js").VgiSchema;
25
+ export declare const CatalogAttachResultSchema: import("../index.core.js").VgiSchema;
26
+ export declare const CatalogCatalogsResultSchema: import("../index.core.js").VgiSchema;
27
+ export declare const CatalogCopyFromFormatsResultSchema: import("../index.core.js").VgiSchema;
28
+ export declare const CatalogIndexGetResultSchema: import("../index.core.js").VgiSchema;
29
+ export declare const CatalogMacroGetResultSchema: import("../index.core.js").VgiSchema;
30
+ export declare const CatalogSchemaContentsFunctionsResultSchema: import("../index.core.js").VgiSchema;
31
+ export declare const CatalogSchemaContentsIndexesResultSchema: import("../index.core.js").VgiSchema;
32
+ export declare const CatalogSchemaContentsMacrosResultSchema: import("../index.core.js").VgiSchema;
33
+ export declare const CatalogSchemaContentsTablesResultSchema: import("../index.core.js").VgiSchema;
34
+ export declare const CatalogSchemaContentsViewsResultSchema: import("../index.core.js").VgiSchema;
35
+ export declare const CatalogSchemaGetResultSchema: import("../index.core.js").VgiSchema;
36
+ export declare const CatalogSchemasResultSchema: import("../index.core.js").VgiSchema;
37
+ export declare const CatalogTableGetResultSchema: import("../index.core.js").VgiSchema;
38
+ export declare const CatalogTransactionBeginResultSchema: import("../index.core.js").VgiSchema;
39
+ export declare const CatalogVersionResultSchema: import("../index.core.js").VgiSchema;
40
+ export declare const CatalogViewGetResultSchema: import("../index.core.js").VgiSchema;
41
+ export declare const TableBufferingCombineResultSchema: import("../index.core.js").VgiSchema;
42
+ export declare const TableBufferingDestructorResultSchema: import("../index.core.js").VgiSchema;
43
+ export declare const TableBufferingProcessResultSchema: import("../index.core.js").VgiSchema;
44
+ export declare const TableFunctionCardinalityResultSchema: import("../index.core.js").VgiSchema;
45
+ export declare const TableFunctionDynamicToStringResultSchema: import("../index.core.js").VgiSchema;
46
+ export declare const AggregateBindParamsSchema: import("../index.core.js").VgiSchema;
47
+ export declare const AggregateCombineParamsSchema: import("../index.core.js").VgiSchema;
48
+ export declare const AggregateDestructorParamsSchema: import("../index.core.js").VgiSchema;
49
+ export declare const AggregateFinalizeParamsSchema: import("../index.core.js").VgiSchema;
50
+ export declare const AggregateStreamingChunkParamsSchema: import("../index.core.js").VgiSchema;
51
+ export declare const AggregateStreamingCloseParamsSchema: import("../index.core.js").VgiSchema;
52
+ export declare const AggregateStreamingOpenParamsSchema: import("../index.core.js").VgiSchema;
53
+ export declare const AggregateUpdateParamsSchema: import("../index.core.js").VgiSchema;
54
+ export declare const AggregateWindowParamsSchema: import("../index.core.js").VgiSchema;
55
+ export declare const AggregateWindowBatchParamsSchema: import("../index.core.js").VgiSchema;
56
+ export declare const AggregateWindowDestructorParamsSchema: import("../index.core.js").VgiSchema;
57
+ export declare const AggregateWindowInitParamsSchema: import("../index.core.js").VgiSchema;
58
+ export declare const BindParamsSchema: import("../index.core.js").VgiSchema;
59
+ export declare const CatalogAttachParamsSchema: import("../index.core.js").VgiSchema;
60
+ export declare const CatalogCatalogsParamsSchema: import("../index.core.js").VgiSchema;
61
+ export declare const CatalogCopyFromFormatsParamsSchema: import("../index.core.js").VgiSchema;
62
+ export declare const CatalogCreateParamsSchema: import("../index.core.js").VgiSchema;
63
+ export declare const CatalogDetachParamsSchema: import("../index.core.js").VgiSchema;
64
+ export declare const CatalogDropParamsSchema: import("../index.core.js").VgiSchema;
65
+ export declare const CatalogIndexCreateParamsSchema: import("../index.core.js").VgiSchema;
66
+ export declare const CatalogIndexDropParamsSchema: import("../index.core.js").VgiSchema;
67
+ export declare const CatalogIndexGetParamsSchema: import("../index.core.js").VgiSchema;
68
+ export declare const CatalogMacroCreateParamsSchema: import("../index.core.js").VgiSchema;
69
+ export declare const CatalogMacroDropParamsSchema: import("../index.core.js").VgiSchema;
70
+ export declare const CatalogMacroGetParamsSchema: import("../index.core.js").VgiSchema;
71
+ export declare const CatalogSchemaContentsFunctionsParamsSchema: import("../index.core.js").VgiSchema;
72
+ export declare const CatalogSchemaContentsIndexesParamsSchema: import("../index.core.js").VgiSchema;
73
+ export declare const CatalogSchemaContentsMacrosParamsSchema: import("../index.core.js").VgiSchema;
74
+ export declare const CatalogSchemaContentsTablesParamsSchema: import("../index.core.js").VgiSchema;
75
+ export declare const CatalogSchemaContentsViewsParamsSchema: import("../index.core.js").VgiSchema;
76
+ export declare const CatalogSchemaCreateParamsSchema: import("../index.core.js").VgiSchema;
77
+ export declare const CatalogSchemaDropParamsSchema: import("../index.core.js").VgiSchema;
78
+ export declare const CatalogSchemaGetParamsSchema: import("../index.core.js").VgiSchema;
79
+ export declare const CatalogSchemasParamsSchema: import("../index.core.js").VgiSchema;
80
+ export declare const CatalogTableColumnAddParamsSchema: import("../index.core.js").VgiSchema;
81
+ export declare const CatalogTableColumnCommentSetParamsSchema: import("../index.core.js").VgiSchema;
82
+ export declare const CatalogTableColumnDefaultDropParamsSchema: import("../index.core.js").VgiSchema;
83
+ export declare const CatalogTableColumnDefaultSetParamsSchema: import("../index.core.js").VgiSchema;
84
+ export declare const CatalogTableColumnDropParamsSchema: import("../index.core.js").VgiSchema;
85
+ export declare const CatalogTableColumnRenameParamsSchema: import("../index.core.js").VgiSchema;
86
+ export declare const CatalogTableColumnStatisticsGetParamsSchema: import("../index.core.js").VgiSchema;
87
+ export declare const CatalogTableColumnTypeChangeParamsSchema: import("../index.core.js").VgiSchema;
88
+ export declare const CatalogTableCommentSetParamsSchema: import("../index.core.js").VgiSchema;
89
+ export declare const CatalogTableCreateParamsSchema: import("../index.core.js").VgiSchema;
90
+ export declare const CatalogTableDeleteFunctionGetParamsSchema: import("../index.core.js").VgiSchema;
91
+ export declare const CatalogTableDropParamsSchema: import("../index.core.js").VgiSchema;
92
+ export declare const CatalogTableGetParamsSchema: import("../index.core.js").VgiSchema;
93
+ export declare const CatalogTableInsertFunctionGetParamsSchema: import("../index.core.js").VgiSchema;
94
+ export declare const CatalogTableNotNullDropParamsSchema: import("../index.core.js").VgiSchema;
95
+ export declare const CatalogTableNotNullSetParamsSchema: import("../index.core.js").VgiSchema;
96
+ export declare const CatalogTableRenameParamsSchema: import("../index.core.js").VgiSchema;
97
+ export declare const CatalogTableScanBranchesGetParamsSchema: import("../index.core.js").VgiSchema;
98
+ export declare const CatalogTableScanFunctionGetParamsSchema: import("../index.core.js").VgiSchema;
99
+ export declare const CatalogTableUpdateFunctionGetParamsSchema: import("../index.core.js").VgiSchema;
100
+ export declare const CatalogTransactionBeginParamsSchema: import("../index.core.js").VgiSchema;
101
+ export declare const CatalogTransactionCommitParamsSchema: import("../index.core.js").VgiSchema;
102
+ export declare const CatalogTransactionRollbackParamsSchema: import("../index.core.js").VgiSchema;
103
+ export declare const CatalogVersionParamsSchema: import("../index.core.js").VgiSchema;
104
+ export declare const CatalogViewCommentSetParamsSchema: import("../index.core.js").VgiSchema;
105
+ export declare const CatalogViewCreateParamsSchema: import("../index.core.js").VgiSchema;
106
+ export declare const CatalogViewDropParamsSchema: import("../index.core.js").VgiSchema;
107
+ export declare const CatalogViewGetParamsSchema: import("../index.core.js").VgiSchema;
108
+ export declare const CatalogViewRenameParamsSchema: import("../index.core.js").VgiSchema;
109
+ export declare const InitParamsSchema: import("../index.core.js").VgiSchema;
110
+ export declare const TableBufferingCombineParamsSchema: import("../index.core.js").VgiSchema;
111
+ export declare const TableBufferingDestructorParamsSchema: import("../index.core.js").VgiSchema;
112
+ export declare const TableBufferingProcessParamsSchema: import("../index.core.js").VgiSchema;
113
+ export declare const TableFunctionCardinalityParamsSchema: import("../index.core.js").VgiSchema;
114
+ export declare const TableFunctionDynamicToStringParamsSchema: import("../index.core.js").VgiSchema;
115
+ export declare const TableFunctionStatisticsParamsSchema: import("../index.core.js").VgiSchema;
@@ -0,0 +1,42 @@
1
+ export { defineScalarFunction, type ScalarFunctionConfig, type ScalarBindParameters, type ScalarParameterDef } from "./functions/scalar.js";
2
+ export { defineTableFunction, type TableFunctionConfig, type TableBindParams, type TableProcessParams } from "./functions/table.js";
3
+ export { defineAggregate, GROUP_COLUMN_NAME, type AggregateFunctionConfig, type AggregateBindParams, type AggregateUpdateParams, type AggregateFinalizeParams, } from "./functions/aggregate.js";
4
+ export { defineTableInOutFunction, type TableInOutConfig, type TableInOutBindParams, type TableInOutProcessParams } from "./functions/table-in-out.js";
5
+ export { defineTableBufferingFunction, type TableBufferingConfig, type TableBufferingBindParams, type TableBufferingParams, type TableBufferingVgiFunction, } from "./functions/table-buffering.js";
6
+ export { defineCopyFromFunction, type CopyFromFunctionConfig, type CopyFromOption, type CopyFromReadParams, } from "./functions/copy-from.js";
7
+ export { defineCopyToFunction, type CopyToFunctionConfig, type CopyToOption, type CopyToWriteParams, type CopyToCloseParams, } from "./functions/copy-to.js";
8
+ export type { VgiFunction, FunctionMeta, StreamHandlers, FunctionExample, HandlerState } from "./functions/types.js";
9
+ export { CatalogInterface, type CatalogAttachResult, type SchemaInfo, encodeSchemaInfo, decodeSchemaInfo, type TableInfo, encodeTableInfo, decodeTableInfo, type ViewInfo, encodeViewInfo, decodeViewInfo, type CatalogInfo, encodeCatalogInfo, decodeCatalogInfo, type FunctionInfo, encodeFunctionInfo, decodeFunctionInfo, type FunctionInfoOptions, type MacroInfo, encodeMacroInfo, decodeMacroInfo, type MacroType, type CopyFromFormatInfo, encodeCopyFromFormatInfo, type AttachOpaqueData, type TransactionOpaqueData, buildScanBranchesResult, type ScanBranchInput } from "./catalog/interface.js";
10
+ export type { CatalogDescriptor, SchemaDescriptor, TableDescriptor, ViewDescriptor, MacroDescriptor, SettingDescriptor, SecretTypeDescriptor, ForeignKeyDef, DefaultValue } from "./catalog/descriptors.js";
11
+ export { ReadOnlyCatalogInterface } from "./catalog/read-only.js";
12
+ export { CompositeCatalogInterface } from "./catalog/composite.js";
13
+ export { FunctionRegistry } from "./functions/registry.js";
14
+ export { FunctionType, FunctionStability, NullHandling, OrderPreservation, OrderDependence, DistinctDependence, TableInOutPhase, DEFAULT_MAX_WORKERS, } from "./types.js";
15
+ export type { BindRequest, BindResponse, CopyFromContext, CopyToContext, InitRequest, GlobalInitResponse, TableCardinality, } from "./protocol/types.js";
16
+ export { Arguments } from "./arguments/arguments.js";
17
+ export { type ArgumentSpec, argumentSpecsToSchema, schemaToArgumentSpecs, macroArgumentsSchema, macroParameterDocsFromSchema } from "./arguments/argument-spec.js";
18
+ export { VgiError, RowCountMismatchError, FunctionNotFoundError, CatalogReadOnlyError, CatalogNotFoundError, CatalogAlreadyExistsError, ArgumentValidationError, NoCatalogError, } from "./errors.js";
19
+ export type { ResolvedMetadata, ParameterInfo } from "./metadata/types.js";
20
+ export { CatalogFunctionType } from "./metadata/types.js";
21
+ export { resolveMetadata } from "./metadata/resolve.js";
22
+ export { metadatasToArrow, arrowToMetadatas } from "./metadata/serialize.js";
23
+ export { PushdownFilters, FilteringOutputCollector, deserializeFilters, buildJoinKeysLookup, ComparisonOp, type Filter, type ConstantFilter, type IsNullFilter, type IsNotNullFilter, type InFilter, type AndFilter, type OrFilter, type StructFilter, formatPushedFilters, reprPushedFilters, } from "./filter-pushdown/index.js";
24
+ export { arrowStateSerializer, EXCHANGE_STATE_SCHEMA, serializeUserState, deserializeUserState } from "./protocol/state-serializer.js";
25
+ export { buildVgiProtocol, type ProtocolConfig } from "./protocol/dispatch.js";
26
+ export { BindResultSchema, ScanFunctionResultSchema } from "./generated/vgi-protocol-schemas.js";
27
+ export { type AttachOptionSpec, serializeAttachOptionSpec, serializeAttachOptionSpecs } from "./catalog/attach-option.js";
28
+ export { type ColumnStatistics, serializeColumnStatistics } from "./util/statistics.js";
29
+ export { toUint8Array } from "./util/bytes.js";
30
+ export { iterRows, batchFromRows, batchFromColumns, emptyBatch, filterBatch, projectSchema, projectBatch, batchToScalarDict, batchToSecretDict, safeNumber, } from "./util/arrow/index.js";
31
+ export { type SecretFields, type SecretsDict, secretType, secretsOfType, secretForScope, secretForScopeOfType, } from "./secrets/helpers.js";
32
+ export { serializeSchema, deserializeSchema, serializeBatch, deserializeBatch, } from "./util/arrow/index.js";
33
+ export { schema, field, nullType, int8, int16, int64, uint8, uint16, uint32, uint64, float16, float64, utf8, binary, fixedSizeBinary, decimal, decimal128, decimal256, date, dateDay, dateMillisecond, time, timeSecond, timeMillisecond, timeMicrosecond, timeNanosecond, timestamp, duration, interval, timestampSeconds, timestampMillis, timestampMicros, timestampNanos, durationSeconds, durationMillis, durationMicros, durationNanos, list, fixedSizeList, struct, map, dictionary, union, sparseUnion, denseUnion, TimeUnit, DateUnit, IntervalUnit, UnionMode, codecFor, asDate32, asDate64Ms, asTime32S, asTime32Ms, asTime64Us, asTime64Ns, asTimestampSeconds, asTimestampMillis, asTimestampMicros, asTimestampNanos, asDurationSeconds, asDurationMillis, asDurationMicros, asDurationNanos, asUnscaledDecimal, asInt64, asUint64, fromBranded, fromBrandedNumber, fromBrandedBigInt, TypeId, isNull, isInt, isFloat, isBinary, isUtf8, isBool, isDecimal, isDate, isTime, isTimestamp, isInterval, isList, isStruct, isUnion, isFixedSizeBinary, isFixedSizeList, isMap, isDuration, isDictionary, isBatch, readCanonicalValue, columnFromArray, decodeDictValue, backend, } from "./arrow/index.js";
34
+ export type { VgiTypeId, VgiDataType, VgiField, VgiSchema, VgiColumn, VgiColumnData, VgiBatch, VgiBackendInfo, TaggedUnion, NullDescriptor, BoolType, IntType, Int8Type, Int16Type, Int32Type, Int64Type, Uint8Type, Uint16Type, Uint32Type, Uint64Type, FloatType, Utf8Type, LargeUtf8Type, BinaryType, LargeBinaryType, FixedSizeBinaryType, DecimalType, Date32Type, Date64Type, Time32Type, Time64Type, TimestampType, DurationType, IntervalType, ListType, FixedSizeListType, StructType, MapType, DictionaryType, UnionType, TypedField, TUnit, RichValue, RawValue, ValueFor, Repr, Codec, Branded, Date32, Date64Ms, Time32S, Time32Ms, Time64Us, Time64Ns, TimestampSeconds, TimestampMillis, TimestampMicros, TimestampNanos, DurationSeconds, DurationMillis, DurationMicros, DurationNanos, UnscaledDecimal, Int64Raw, Uint64Raw, } from "./arrow/index.js";
35
+ export type { ScalarComputeRow, ScalarOutputValue, ScalarComputeResult } from "./functions/scalar.js";
36
+ export { type FunctionStorage, FunctionStorageSqlite, BoundStorage, UnknownInvocationError, resolveStorageFromEnv, setStorage, storage as functionStorage, } from "./functions/storage.js";
37
+ export { FunctionStorageCfDo, type FetchLike } from "./functions/storage-cf-do.js";
38
+ export { VgiClient, VgiClientError } from "./client/client.js";
39
+ export type { VgiClientOptions, TableFunctionOptions, ScalarFunctionOptions, TableInOutFunctionOptions, OnCreateConflict, CatalogFunctionType as ClientCatalogFunctionType, CatalogAttachOptions, AttachOptionValue, } from "./client/types.js";
40
+ export { str, bytes, int, int32, float, float32, bool, toSchema, OutputCollector, AuthContext } from "@query-farm/vgi-rpc";
41
+ export { subprocessConnect, httpConnect, tcpConnect } from "@query-farm/vgi-rpc";
42
+ export type { RpcClient, StreamSession, LogMessage } from "@query-farm/vgi-rpc";
@@ -0,0 +1,2 @@
1
+ export * from "./index.core.js";
2
+ export { Worker, type WorkerConfig } from "./worker.js";