@milaboratories/pl-model-common 1.25.1 → 1.25.3

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 (288) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +29 -0
  2. package/dist/author_marker.d.ts +9 -6
  3. package/dist/base32_encode.cjs +40 -46
  4. package/dist/base32_encode.cjs.map +1 -1
  5. package/dist/base32_encode.js +40 -45
  6. package/dist/base32_encode.js.map +1 -1
  7. package/dist/base64.cjs +5 -4
  8. package/dist/base64.cjs.map +1 -1
  9. package/dist/base64.d.ts +10 -6
  10. package/dist/base64.js +5 -3
  11. package/dist/base64.js.map +1 -1
  12. package/dist/block_state.d.ts +21 -23
  13. package/dist/bmodel/block_config.cjs +9 -10
  14. package/dist/bmodel/block_config.cjs.map +1 -1
  15. package/dist/bmodel/block_config.d.ts +53 -72
  16. package/dist/bmodel/block_config.js +9 -9
  17. package/dist/bmodel/block_config.js.map +1 -1
  18. package/dist/bmodel/code.cjs +7 -6
  19. package/dist/bmodel/code.cjs.map +1 -1
  20. package/dist/bmodel/code.d.ts +17 -13
  21. package/dist/bmodel/code.js +6 -4
  22. package/dist/bmodel/code.js.map +1 -1
  23. package/dist/bmodel/container.d.ts +46 -44
  24. package/dist/bmodel/index.cjs +3 -0
  25. package/dist/bmodel/index.d.ts +5 -6
  26. package/dist/bmodel/index.js +3 -0
  27. package/dist/bmodel/normalization.cjs +90 -106
  28. package/dist/bmodel/normalization.cjs.map +1 -1
  29. package/dist/bmodel/normalization.d.ts +7 -3
  30. package/dist/bmodel/normalization.js +90 -105
  31. package/dist/bmodel/normalization.js.map +1 -1
  32. package/dist/bmodel/types.d.ts +4 -1
  33. package/dist/branding.d.ts +5 -5
  34. package/dist/common_types.d.ts +19 -15
  35. package/dist/driver_kit.d.ts +25 -17
  36. package/dist/drivers/ChunkedStreamReader.cjs +168 -203
  37. package/dist/drivers/ChunkedStreamReader.cjs.map +1 -1
  38. package/dist/drivers/ChunkedStreamReader.d.ts +104 -100
  39. package/dist/drivers/ChunkedStreamReader.js +168 -202
  40. package/dist/drivers/ChunkedStreamReader.js.map +1 -1
  41. package/dist/drivers/blob.cjs +15 -17
  42. package/dist/drivers/blob.cjs.map +1 -1
  43. package/dist/drivers/blob.d.ts +35 -35
  44. package/dist/drivers/blob.js +14 -15
  45. package/dist/drivers/blob.js.map +1 -1
  46. package/dist/drivers/index.cjs +18 -0
  47. package/dist/drivers/index.d.ts +29 -9
  48. package/dist/drivers/index.js +18 -0
  49. package/dist/drivers/interfaces.d.ts +17 -14
  50. package/dist/drivers/log.cjs +4 -3
  51. package/dist/drivers/log.cjs.map +1 -1
  52. package/dist/drivers/log.d.ts +52 -49
  53. package/dist/drivers/log.js +4 -2
  54. package/dist/drivers/log.js.map +1 -1
  55. package/dist/drivers/ls.cjs +16 -19
  56. package/dist/drivers/ls.cjs.map +1 -1
  57. package/dist/drivers/ls.d.ts +73 -76
  58. package/dist/drivers/ls.js +16 -17
  59. package/dist/drivers/ls.js.map +1 -1
  60. package/dist/drivers/pframe/column_filter.d.ts +19 -15
  61. package/dist/drivers/pframe/data_info.cjs +201 -252
  62. package/dist/drivers/pframe/data_info.cjs.map +1 -1
  63. package/dist/drivers/pframe/data_info.d.ts +84 -109
  64. package/dist/drivers/pframe/data_info.js +201 -250
  65. package/dist/drivers/pframe/data_info.js.map +1 -1
  66. package/dist/drivers/pframe/data_types.cjs +38 -63
  67. package/dist/drivers/pframe/data_types.cjs.map +1 -1
  68. package/dist/drivers/pframe/data_types.d.ts +91 -93
  69. package/dist/drivers/pframe/data_types.js +38 -61
  70. package/dist/drivers/pframe/data_types.js.map +1 -1
  71. package/dist/drivers/pframe/driver.cjs +7 -0
  72. package/dist/drivers/pframe/driver.cjs.map +1 -0
  73. package/dist/drivers/pframe/driver.d.ts +50 -45
  74. package/dist/drivers/pframe/driver.js +6 -0
  75. package/dist/drivers/pframe/driver.js.map +1 -0
  76. package/dist/drivers/pframe/filter_spec.d.ts +127 -123
  77. package/dist/drivers/pframe/find_columns.d.ts +21 -17
  78. package/dist/drivers/pframe/index.cjs +15 -0
  79. package/dist/drivers/pframe/index.d.ts +23 -16
  80. package/dist/drivers/pframe/index.js +15 -0
  81. package/dist/drivers/pframe/linker_columns.cjs +184 -238
  82. package/dist/drivers/pframe/linker_columns.cjs.map +1 -1
  83. package/dist/drivers/pframe/linker_columns.d.ts +45 -38
  84. package/dist/drivers/pframe/linker_columns.js +184 -236
  85. package/dist/drivers/pframe/linker_columns.js.map +1 -1
  86. package/dist/drivers/pframe/pframe.d.ts +26 -21
  87. package/dist/drivers/pframe/query/index.cjs +1 -0
  88. package/dist/drivers/pframe/query/index.d.ts +3 -4
  89. package/dist/drivers/pframe/query/index.js +1 -0
  90. package/dist/drivers/pframe/query/query_common.d.ts +205 -247
  91. package/dist/drivers/pframe/query/query_data.d.ts +25 -23
  92. package/dist/drivers/pframe/query/query_spec.d.ts +30 -29
  93. package/dist/drivers/pframe/query/utils.cjs +164 -183
  94. package/dist/drivers/pframe/query/utils.cjs.map +1 -1
  95. package/dist/drivers/pframe/query/utils.d.ts +13 -12
  96. package/dist/drivers/pframe/query/utils.js +164 -181
  97. package/dist/drivers/pframe/query/utils.js.map +1 -1
  98. package/dist/drivers/pframe/spec/anchored.cjs +178 -216
  99. package/dist/drivers/pframe/spec/anchored.cjs.map +1 -1
  100. package/dist/drivers/pframe/spec/anchored.d.ts +53 -49
  101. package/dist/drivers/pframe/spec/anchored.js +176 -214
  102. package/dist/drivers/pframe/spec/anchored.js.map +1 -1
  103. package/dist/drivers/pframe/spec/filtered_column.cjs +8 -7
  104. package/dist/drivers/pframe/spec/filtered_column.cjs.map +1 -1
  105. package/dist/drivers/pframe/spec/filtered_column.d.ts +20 -17
  106. package/dist/drivers/pframe/spec/filtered_column.js +8 -6
  107. package/dist/drivers/pframe/spec/filtered_column.js.map +1 -1
  108. package/dist/drivers/pframe/spec/ids.cjs +16 -14
  109. package/dist/drivers/pframe/spec/ids.cjs.map +1 -1
  110. package/dist/drivers/pframe/spec/ids.d.ts +13 -8
  111. package/dist/drivers/pframe/spec/ids.js +14 -12
  112. package/dist/drivers/pframe/spec/ids.js.map +1 -1
  113. package/dist/drivers/pframe/spec/index.cjs +6 -0
  114. package/dist/drivers/pframe/spec/index.d.ts +6 -7
  115. package/dist/drivers/pframe/spec/index.js +6 -0
  116. package/dist/drivers/pframe/spec/native_id.cjs +16 -16
  117. package/dist/drivers/pframe/spec/native_id.cjs.map +1 -1
  118. package/dist/drivers/pframe/spec/native_id.d.ts +9 -4
  119. package/dist/drivers/pframe/spec/native_id.js +13 -13
  120. package/dist/drivers/pframe/spec/native_id.js.map +1 -1
  121. package/dist/drivers/pframe/spec/selectors.cjs +72 -112
  122. package/dist/drivers/pframe/spec/selectors.cjs.map +1 -1
  123. package/dist/drivers/pframe/spec/selectors.d.ts +99 -94
  124. package/dist/drivers/pframe/spec/selectors.js +72 -110
  125. package/dist/drivers/pframe/spec/selectors.js.map +1 -1
  126. package/dist/drivers/pframe/spec/spec.cjs +282 -324
  127. package/dist/drivers/pframe/spec/spec.cjs.map +1 -1
  128. package/dist/drivers/pframe/spec/spec.d.ts +263 -272
  129. package/dist/drivers/pframe/spec/spec.js +281 -322
  130. package/dist/drivers/pframe/spec/spec.js.map +1 -1
  131. package/dist/drivers/pframe/table.d.ts +28 -24
  132. package/dist/drivers/pframe/table_calculate.cjs +117 -147
  133. package/dist/drivers/pframe/table_calculate.cjs.map +1 -1
  134. package/dist/drivers/pframe/table_calculate.d.ts +219 -220
  135. package/dist/drivers/pframe/table_calculate.js +117 -145
  136. package/dist/drivers/pframe/table_calculate.js.map +1 -1
  137. package/dist/drivers/pframe/table_common.cjs +13 -14
  138. package/dist/drivers/pframe/table_common.cjs.map +1 -1
  139. package/dist/drivers/pframe/table_common.d.ts +24 -19
  140. package/dist/drivers/pframe/table_common.js +13 -13
  141. package/dist/drivers/pframe/table_common.js.map +1 -1
  142. package/dist/drivers/pframe/unique_values.d.ts +23 -18
  143. package/dist/drivers/upload.d.ts +21 -18
  144. package/dist/drivers/urls.cjs +5 -6
  145. package/dist/drivers/urls.cjs.map +1 -1
  146. package/dist/drivers/urls.d.ts +12 -9
  147. package/dist/drivers/urls.js +5 -5
  148. package/dist/drivers/urls.js.map +1 -1
  149. package/dist/errors.cjs +65 -86
  150. package/dist/errors.cjs.map +1 -1
  151. package/dist/errors.d.ts +36 -33
  152. package/dist/errors.js +65 -85
  153. package/dist/errors.js.map +1 -1
  154. package/dist/flags/block_flags.cjs +7 -6
  155. package/dist/flags/block_flags.cjs.map +1 -1
  156. package/dist/flags/block_flags.d.ts +12 -8
  157. package/dist/flags/block_flags.js +7 -5
  158. package/dist/flags/block_flags.js.map +1 -1
  159. package/dist/flags/flag_utils.cjs +69 -108
  160. package/dist/flags/flag_utils.cjs.map +1 -1
  161. package/dist/flags/flag_utils.d.ts +40 -42
  162. package/dist/flags/flag_utils.js +70 -107
  163. package/dist/flags/flag_utils.js.map +1 -1
  164. package/dist/flags/type_utils.d.ts +12 -11
  165. package/dist/httpAuth.cjs +16 -20
  166. package/dist/httpAuth.cjs.map +1 -1
  167. package/dist/httpAuth.d.ts +10 -7
  168. package/dist/httpAuth.js +16 -19
  169. package/dist/httpAuth.js.map +1 -1
  170. package/dist/index.cjs +176 -179
  171. package/dist/index.d.ts +58 -20
  172. package/dist/index.js +37 -34
  173. package/dist/json.cjs +10 -8
  174. package/dist/json.cjs.map +1 -1
  175. package/dist/json.d.ts +18 -18
  176. package/dist/json.js +8 -6
  177. package/dist/json.js.map +1 -1
  178. package/dist/navigation.cjs +3 -2
  179. package/dist/navigation.cjs.map +1 -1
  180. package/dist/navigation.d.ts +18 -21
  181. package/dist/navigation.js +3 -1
  182. package/dist/navigation.js.map +1 -1
  183. package/dist/plid.cjs +16 -20
  184. package/dist/plid.cjs.map +1 -1
  185. package/dist/plid.d.ts +11 -7
  186. package/dist/plid.js +15 -18
  187. package/dist/plid.js.map +1 -1
  188. package/dist/pool/entry.d.ts +11 -11
  189. package/dist/pool/index.d.ts +3 -4
  190. package/dist/pool/query.cjs +21 -43
  191. package/dist/pool/query.cjs.map +1 -1
  192. package/dist/pool/query.d.ts +25 -20
  193. package/dist/pool/query.js +20 -40
  194. package/dist/pool/query.js.map +1 -1
  195. package/dist/pool/spec.cjs +40 -47
  196. package/dist/pool/spec.cjs.map +1 -1
  197. package/dist/pool/spec.d.ts +33 -31
  198. package/dist/pool/spec.js +40 -45
  199. package/dist/pool/spec.js.map +1 -1
  200. package/dist/ref.cjs +51 -71
  201. package/dist/ref.cjs.map +1 -1
  202. package/dist/ref.d.ts +36 -33
  203. package/dist/ref.js +50 -69
  204. package/dist/ref.js.map +1 -1
  205. package/dist/utag.d.ts +18 -14
  206. package/dist/util.cjs +8 -7
  207. package/dist/util.cjs.map +1 -1
  208. package/dist/util.d.ts +5 -2
  209. package/dist/util.js +8 -6
  210. package/dist/util.js.map +1 -1
  211. package/dist/value_or_error.cjs +7 -3
  212. package/dist/value_or_error.cjs.map +1 -1
  213. package/dist/value_or_error.d.ts +9 -6
  214. package/dist/value_or_error.js +7 -2
  215. package/dist/value_or_error.js.map +1 -1
  216. package/package.json +6 -6
  217. package/src/flags/block_flags.ts +2 -1
  218. package/src/flags/flag_utils.ts +0 -22
  219. package/dist/author_marker.d.ts.map +0 -1
  220. package/dist/base32_encode.d.ts +0 -8
  221. package/dist/base32_encode.d.ts.map +0 -1
  222. package/dist/base64.d.ts.map +0 -1
  223. package/dist/block_state.d.ts.map +0 -1
  224. package/dist/bmodel/block_config.d.ts.map +0 -1
  225. package/dist/bmodel/code.d.ts.map +0 -1
  226. package/dist/bmodel/container.d.ts.map +0 -1
  227. package/dist/bmodel/index.d.ts.map +0 -1
  228. package/dist/bmodel/normalization.d.ts.map +0 -1
  229. package/dist/bmodel/types.d.ts.map +0 -1
  230. package/dist/branding.d.ts.map +0 -1
  231. package/dist/common_types.d.ts.map +0 -1
  232. package/dist/driver_kit.d.ts.map +0 -1
  233. package/dist/drivers/ChunkedStreamReader.d.ts.map +0 -1
  234. package/dist/drivers/blob.d.ts.map +0 -1
  235. package/dist/drivers/index.d.ts.map +0 -1
  236. package/dist/drivers/interfaces.d.ts.map +0 -1
  237. package/dist/drivers/log.d.ts.map +0 -1
  238. package/dist/drivers/ls.d.ts.map +0 -1
  239. package/dist/drivers/pframe/column_filter.d.ts.map +0 -1
  240. package/dist/drivers/pframe/data_info.d.ts.map +0 -1
  241. package/dist/drivers/pframe/data_types.d.ts.map +0 -1
  242. package/dist/drivers/pframe/driver.d.ts.map +0 -1
  243. package/dist/drivers/pframe/filter_spec.d.ts.map +0 -1
  244. package/dist/drivers/pframe/find_columns.d.ts.map +0 -1
  245. package/dist/drivers/pframe/index.d.ts.map +0 -1
  246. package/dist/drivers/pframe/linker_columns.d.ts.map +0 -1
  247. package/dist/drivers/pframe/pframe.d.ts.map +0 -1
  248. package/dist/drivers/pframe/query/index.d.ts.map +0 -1
  249. package/dist/drivers/pframe/query/query_common.d.ts.map +0 -1
  250. package/dist/drivers/pframe/query/query_data.d.ts.map +0 -1
  251. package/dist/drivers/pframe/query/query_spec.d.ts.map +0 -1
  252. package/dist/drivers/pframe/query/utils.d.ts.map +0 -1
  253. package/dist/drivers/pframe/spec/anchored.d.ts.map +0 -1
  254. package/dist/drivers/pframe/spec/filtered_column.d.ts.map +0 -1
  255. package/dist/drivers/pframe/spec/ids.d.ts.map +0 -1
  256. package/dist/drivers/pframe/spec/index.d.ts.map +0 -1
  257. package/dist/drivers/pframe/spec/native_id.d.ts.map +0 -1
  258. package/dist/drivers/pframe/spec/selectors.d.ts.map +0 -1
  259. package/dist/drivers/pframe/spec/spec.d.ts.map +0 -1
  260. package/dist/drivers/pframe/table.d.ts.map +0 -1
  261. package/dist/drivers/pframe/table_calculate.d.ts.map +0 -1
  262. package/dist/drivers/pframe/table_common.d.ts.map +0 -1
  263. package/dist/drivers/pframe/type_util.d.ts +0 -5
  264. package/dist/drivers/pframe/type_util.d.ts.map +0 -1
  265. package/dist/drivers/pframe/unique_values.d.ts.map +0 -1
  266. package/dist/drivers/upload.d.ts.map +0 -1
  267. package/dist/drivers/urls.d.ts.map +0 -1
  268. package/dist/errors.d.ts.map +0 -1
  269. package/dist/flags/block_flags.d.ts.map +0 -1
  270. package/dist/flags/flag_utils.d.ts.map +0 -1
  271. package/dist/flags/index.d.ts +0 -4
  272. package/dist/flags/index.d.ts.map +0 -1
  273. package/dist/flags/type_utils.d.ts.map +0 -1
  274. package/dist/httpAuth.d.ts.map +0 -1
  275. package/dist/index.cjs.map +0 -1
  276. package/dist/index.d.ts.map +0 -1
  277. package/dist/index.js.map +0 -1
  278. package/dist/json.d.ts.map +0 -1
  279. package/dist/navigation.d.ts.map +0 -1
  280. package/dist/plid.d.ts.map +0 -1
  281. package/dist/pool/entry.d.ts.map +0 -1
  282. package/dist/pool/index.d.ts.map +0 -1
  283. package/dist/pool/query.d.ts.map +0 -1
  284. package/dist/pool/spec.d.ts.map +0 -1
  285. package/dist/ref.d.ts.map +0 -1
  286. package/dist/utag.d.ts.map +0 -1
  287. package/dist/util.d.ts.map +0 -1
  288. package/dist/value_or_error.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+
2
+ //#region src/drivers/pframe/driver.ts
3
+ function assert() {}
4
+ assert();
5
+
6
+ //#endregion
7
+ //# sourceMappingURL=driver.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"driver.cjs","names":[],"sources":["../../../src/drivers/pframe/driver.ts"],"sourcesContent":["import type { Branded } from \"../../branding\";\nimport type { PTable } from \"./table\";\nimport type { PFrame } from \"./pframe\";\nimport type { AddParameterToAllMethods } from \"./type_util\";\nimport type { PTableShape, PTableVector, TableRange } from \"./data_types\";\nimport type { FindColumnsRequest, FindColumnsResponse } from \"./find_columns\";\nimport type { PObjectId } from \"../../pool\";\nimport type { PColumnIdAndSpec, PColumnSpec } from \"./spec/spec\";\nimport type { CalculateTableDataRequest, CalculateTableDataResponse } from \"./table_calculate\";\nimport type { UniqueValuesRequest, UniqueValuesResponse } from \"./unique_values\";\nimport type { PTableColumnSpec } from \"./table_common\";\n\n/** PFrame handle */\nexport type PFrameHandle = Branded<string, \"PFrame\">;\n\n/** PFrame handle */\nexport type PTableHandle = Branded<string, \"PTable\">;\n\n/** Allows to access main data layer features of platforma */\nexport interface PFrameDriver {\n //\n // PFrame methods\n //\n\n /**\n * Finds columns given filtering criteria on column name, annotations etc.\n * and a set of axes ids to find only columns with compatible specs.\n * */\n findColumns(handle: PFrameHandle, request: FindColumnsRequest): Promise<FindColumnsResponse>;\n\n /** Retrieve single column spec */\n getColumnSpec(handle: PFrameHandle, columnId: PObjectId): Promise<PColumnSpec | null>;\n\n /** Retrieve information about all columns currently added to the PFrame */\n listColumns(handle: PFrameHandle): Promise<PColumnIdAndSpec[]>;\n\n /** Calculates data for the table and returns complete data representation of it */\n calculateTableData(\n handle: PFrameHandle,\n request: CalculateTableDataRequest<PObjectId>,\n range?: TableRange,\n ): Promise<CalculateTableDataResponse>;\n\n /** Calculate set of unique values for a specific axis for the filtered set of records */\n getUniqueValues(\n handle: PFrameHandle,\n request: UniqueValuesRequest,\n ): Promise<UniqueValuesResponse>;\n\n //\n // PTable methods\n //\n\n /** Unified table shape */\n getShape(handle: PTableHandle): Promise<PTableShape>;\n\n /**\n * Returns ordered array of table axes specs (primary key \"columns\" in SQL\n * terms) and data column specs (regular \"columns\" in SQL terms).\n *\n * Data for a specific table column can be retrieved using unified indexing\n * corresponding to elements in this array.\n *\n * Axes are always listed first.\n * */\n getSpec(handle: PTableHandle): Promise<PTableColumnSpec[]>;\n\n /**\n * Retrieve the data from the table. To retrieve only data required, it can be\n * sliced both horizontally ({@link columnIndices}) and vertically\n * ({@link range}).\n *\n * @param columnIndices unified indices of columns to be retrieved\n * @param range optionally limit the range of records to retrieve\n * */\n getData(\n handle: PTableHandle,\n columnIndices: number[],\n range?: TableRange,\n ): Promise<PTableVector[]>;\n}\n\n//\n// The following keeps the PFrame driver from above to be in sync with\n// PFrame and PTable interfaces.\n//\n\ntype ExpectedPFrameDriverTypeF = AddParameterToAllMethods<PFrame, [handle: PFrameHandle]>;\ntype ExpectedPFrameDriverTypeT = AddParameterToAllMethods<PTable, [handle: PTableHandle]>;\ntype ExpectedPFrameDriverType = ExpectedPFrameDriverTypeF & ExpectedPFrameDriverTypeT;\n\ntype TypeEqualityGuard<A, B> = Exclude<A, B> | Exclude<B, A>;\nfunction assert<_T extends never>() {}\n\nassert<TypeEqualityGuard<PFrameDriver, ExpectedPFrameDriverType>>();\n"],"mappings":";;AA4FA,SAAS,SAA2B;AAEpC,QAAmE"}
@@ -1,50 +1,55 @@
1
- import type { Branded } from "../../branding";
2
- import type { PTableShape, PTableVector, TableRange } from "./data_types";
3
- import type { FindColumnsRequest, FindColumnsResponse } from "./find_columns";
4
- import type { PObjectId } from "../../pool";
5
- import type { PColumnIdAndSpec, PColumnSpec } from "./spec/spec";
6
- import type { CalculateTableDataRequest, CalculateTableDataResponse } from "./table_calculate";
7
- import type { UniqueValuesRequest, UniqueValuesResponse } from "./unique_values";
8
- import type { PTableColumnSpec } from "./table_common";
1
+ import { Branded } from "../../branding.js";
2
+ import { PObjectId } from "../../pool/spec.js";
3
+ import "../../pool/index.js";
4
+ import { PColumnIdAndSpec, PColumnSpec } from "./spec/spec.js";
5
+ import { PTableShape, PTableVector, TableRange } from "./data_types.js";
6
+ import { FindColumnsRequest, FindColumnsResponse } from "./find_columns.js";
7
+ import { PTableColumnSpec } from "./table_common.js";
8
+ import { CalculateTableDataRequest, CalculateTableDataResponse } from "./table_calculate.js";
9
+ import { UniqueValuesRequest, UniqueValuesResponse } from "./unique_values.js";
10
+
11
+ //#region src/drivers/pframe/driver.d.ts
9
12
  /** PFrame handle */
10
- export type PFrameHandle = Branded<string, "PFrame">;
13
+ type PFrameHandle = Branded<string, "PFrame">;
11
14
  /** PFrame handle */
12
- export type PTableHandle = Branded<string, "PTable">;
15
+ type PTableHandle = Branded<string, "PTable">;
13
16
  /** Allows to access main data layer features of platforma */
14
- export interface PFrameDriver {
15
- /**
16
- * Finds columns given filtering criteria on column name, annotations etc.
17
- * and a set of axes ids to find only columns with compatible specs.
18
- * */
19
- findColumns(handle: PFrameHandle, request: FindColumnsRequest): Promise<FindColumnsResponse>;
20
- /** Retrieve single column spec */
21
- getColumnSpec(handle: PFrameHandle, columnId: PObjectId): Promise<PColumnSpec | null>;
22
- /** Retrieve information about all columns currently added to the PFrame */
23
- listColumns(handle: PFrameHandle): Promise<PColumnIdAndSpec[]>;
24
- /** Calculates data for the table and returns complete data representation of it */
25
- calculateTableData(handle: PFrameHandle, request: CalculateTableDataRequest<PObjectId>, range?: TableRange): Promise<CalculateTableDataResponse>;
26
- /** Calculate set of unique values for a specific axis for the filtered set of records */
27
- getUniqueValues(handle: PFrameHandle, request: UniqueValuesRequest): Promise<UniqueValuesResponse>;
28
- /** Unified table shape */
29
- getShape(handle: PTableHandle): Promise<PTableShape>;
30
- /**
31
- * Returns ordered array of table axes specs (primary key "columns" in SQL
32
- * terms) and data column specs (regular "columns" in SQL terms).
33
- *
34
- * Data for a specific table column can be retrieved using unified indexing
35
- * corresponding to elements in this array.
36
- *
37
- * Axes are always listed first.
38
- * */
39
- getSpec(handle: PTableHandle): Promise<PTableColumnSpec[]>;
40
- /**
41
- * Retrieve the data from the table. To retrieve only data required, it can be
42
- * sliced both horizontally ({@link columnIndices}) and vertically
43
- * ({@link range}).
44
- *
45
- * @param columnIndices unified indices of columns to be retrieved
46
- * @param range optionally limit the range of records to retrieve
47
- * */
48
- getData(handle: PTableHandle, columnIndices: number[], range?: TableRange): Promise<PTableVector[]>;
17
+ interface PFrameDriver {
18
+ /**
19
+ * Finds columns given filtering criteria on column name, annotations etc.
20
+ * and a set of axes ids to find only columns with compatible specs.
21
+ * */
22
+ findColumns(handle: PFrameHandle, request: FindColumnsRequest): Promise<FindColumnsResponse>;
23
+ /** Retrieve single column spec */
24
+ getColumnSpec(handle: PFrameHandle, columnId: PObjectId): Promise<PColumnSpec | null>;
25
+ /** Retrieve information about all columns currently added to the PFrame */
26
+ listColumns(handle: PFrameHandle): Promise<PColumnIdAndSpec[]>;
27
+ /** Calculates data for the table and returns complete data representation of it */
28
+ calculateTableData(handle: PFrameHandle, request: CalculateTableDataRequest<PObjectId>, range?: TableRange): Promise<CalculateTableDataResponse>;
29
+ /** Calculate set of unique values for a specific axis for the filtered set of records */
30
+ getUniqueValues(handle: PFrameHandle, request: UniqueValuesRequest): Promise<UniqueValuesResponse>;
31
+ /** Unified table shape */
32
+ getShape(handle: PTableHandle): Promise<PTableShape>;
33
+ /**
34
+ * Returns ordered array of table axes specs (primary key "columns" in SQL
35
+ * terms) and data column specs (regular "columns" in SQL terms).
36
+ *
37
+ * Data for a specific table column can be retrieved using unified indexing
38
+ * corresponding to elements in this array.
39
+ *
40
+ * Axes are always listed first.
41
+ * */
42
+ getSpec(handle: PTableHandle): Promise<PTableColumnSpec[]>;
43
+ /**
44
+ * Retrieve the data from the table. To retrieve only data required, it can be
45
+ * sliced both horizontally ({@link columnIndices}) and vertically
46
+ * ({@link range}).
47
+ *
48
+ * @param columnIndices unified indices of columns to be retrieved
49
+ * @param range optionally limit the range of records to retrieve
50
+ * */
51
+ getData(handle: PTableHandle, columnIndices: number[], range?: TableRange): Promise<PTableVector[]>;
49
52
  }
53
+ //#endregion
54
+ export { PFrameDriver, PFrameHandle, PTableHandle };
50
55
  //# sourceMappingURL=driver.d.ts.map
@@ -0,0 +1,6 @@
1
+ //#region src/drivers/pframe/driver.ts
2
+ function assert() {}
3
+ assert();
4
+
5
+ //#endregion
6
+ //# sourceMappingURL=driver.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"driver.js","names":[],"sources":["../../../src/drivers/pframe/driver.ts"],"sourcesContent":["import type { Branded } from \"../../branding\";\nimport type { PTable } from \"./table\";\nimport type { PFrame } from \"./pframe\";\nimport type { AddParameterToAllMethods } from \"./type_util\";\nimport type { PTableShape, PTableVector, TableRange } from \"./data_types\";\nimport type { FindColumnsRequest, FindColumnsResponse } from \"./find_columns\";\nimport type { PObjectId } from \"../../pool\";\nimport type { PColumnIdAndSpec, PColumnSpec } from \"./spec/spec\";\nimport type { CalculateTableDataRequest, CalculateTableDataResponse } from \"./table_calculate\";\nimport type { UniqueValuesRequest, UniqueValuesResponse } from \"./unique_values\";\nimport type { PTableColumnSpec } from \"./table_common\";\n\n/** PFrame handle */\nexport type PFrameHandle = Branded<string, \"PFrame\">;\n\n/** PFrame handle */\nexport type PTableHandle = Branded<string, \"PTable\">;\n\n/** Allows to access main data layer features of platforma */\nexport interface PFrameDriver {\n //\n // PFrame methods\n //\n\n /**\n * Finds columns given filtering criteria on column name, annotations etc.\n * and a set of axes ids to find only columns with compatible specs.\n * */\n findColumns(handle: PFrameHandle, request: FindColumnsRequest): Promise<FindColumnsResponse>;\n\n /** Retrieve single column spec */\n getColumnSpec(handle: PFrameHandle, columnId: PObjectId): Promise<PColumnSpec | null>;\n\n /** Retrieve information about all columns currently added to the PFrame */\n listColumns(handle: PFrameHandle): Promise<PColumnIdAndSpec[]>;\n\n /** Calculates data for the table and returns complete data representation of it */\n calculateTableData(\n handle: PFrameHandle,\n request: CalculateTableDataRequest<PObjectId>,\n range?: TableRange,\n ): Promise<CalculateTableDataResponse>;\n\n /** Calculate set of unique values for a specific axis for the filtered set of records */\n getUniqueValues(\n handle: PFrameHandle,\n request: UniqueValuesRequest,\n ): Promise<UniqueValuesResponse>;\n\n //\n // PTable methods\n //\n\n /** Unified table shape */\n getShape(handle: PTableHandle): Promise<PTableShape>;\n\n /**\n * Returns ordered array of table axes specs (primary key \"columns\" in SQL\n * terms) and data column specs (regular \"columns\" in SQL terms).\n *\n * Data for a specific table column can be retrieved using unified indexing\n * corresponding to elements in this array.\n *\n * Axes are always listed first.\n * */\n getSpec(handle: PTableHandle): Promise<PTableColumnSpec[]>;\n\n /**\n * Retrieve the data from the table. To retrieve only data required, it can be\n * sliced both horizontally ({@link columnIndices}) and vertically\n * ({@link range}).\n *\n * @param columnIndices unified indices of columns to be retrieved\n * @param range optionally limit the range of records to retrieve\n * */\n getData(\n handle: PTableHandle,\n columnIndices: number[],\n range?: TableRange,\n ): Promise<PTableVector[]>;\n}\n\n//\n// The following keeps the PFrame driver from above to be in sync with\n// PFrame and PTable interfaces.\n//\n\ntype ExpectedPFrameDriverTypeF = AddParameterToAllMethods<PFrame, [handle: PFrameHandle]>;\ntype ExpectedPFrameDriverTypeT = AddParameterToAllMethods<PTable, [handle: PTableHandle]>;\ntype ExpectedPFrameDriverType = ExpectedPFrameDriverTypeF & ExpectedPFrameDriverTypeT;\n\ntype TypeEqualityGuard<A, B> = Exclude<A, B> | Exclude<B, A>;\nfunction assert<_T extends never>() {}\n\nassert<TypeEqualityGuard<PFrameDriver, ExpectedPFrameDriverType>>();\n"],"mappings":";AA4FA,SAAS,SAA2B;AAEpC,QAAmE"}
@@ -1,132 +1,136 @@
1
- import type { SUniversalPColumnId } from "./spec/ids";
2
- export type FilterSpecNode<Leaf, CommonNode = {}, CommonLeaf = {}> = (CommonLeaf & Leaf) | (CommonNode & {
3
- type: "not";
4
- filter: FilterSpecNode<Leaf, CommonNode, CommonLeaf>;
1
+ import { SUniversalPColumnId } from "./spec/ids.js";
2
+
3
+ //#region src/drivers/pframe/filter_spec.d.ts
4
+ type FilterSpecNode<Leaf, CommonNode = {}, CommonLeaf = {}> = (CommonLeaf & Leaf) | (CommonNode & {
5
+ type: "not";
6
+ filter: FilterSpecNode<Leaf, CommonNode, CommonLeaf>;
5
7
  }) | (CommonNode & {
6
- type: "or";
7
- filters: FilterSpecNode<Leaf, CommonNode, CommonLeaf>[];
8
+ type: "or";
9
+ filters: FilterSpecNode<Leaf, CommonNode, CommonLeaf>[];
8
10
  }) | (CommonNode & {
9
- type: "and";
10
- filters: FilterSpecNode<Leaf, CommonNode, CommonLeaf>[];
11
+ type: "and";
12
+ filters: FilterSpecNode<Leaf, CommonNode, CommonLeaf>[];
11
13
  });
12
- export type FilterSpecLeaf<T = SUniversalPColumnId> = {
13
- type: undefined;
14
- } | {
15
- type: "isNA";
16
- column: T;
17
- } | {
18
- type: "isNotNA";
19
- column: T;
20
- } | {
21
- type: "ifNa";
22
- column: T;
23
- replacement: string;
24
- } | {
25
- type: "patternEquals";
26
- column: T;
27
- value: string;
28
- } | {
29
- type: "patternNotEquals";
30
- column: T;
31
- value: string;
32
- } | {
33
- type: "patternContainSubsequence";
34
- column: T;
35
- value: string;
36
- } | {
37
- type: "patternNotContainSubsequence";
38
- column: T;
39
- value: string;
40
- } | {
41
- type: "patternMatchesRegularExpression";
42
- column: T;
43
- value: string;
44
- } | {
45
- type: "patternFuzzyContainSubsequence";
46
- column: T;
47
- value: string;
48
- maxEdits?: number;
49
- substitutionsOnly?: boolean;
50
- wildcard?: string;
51
- } | {
52
- type: "inSet";
53
- column: T;
54
- value: string[];
55
- } | {
56
- type: "notInSet";
57
- column: T;
58
- value: string[];
59
- } | {
60
- type: "topN";
61
- column: T;
62
- n: number;
63
- } | {
64
- type: "bottomN";
65
- column: T;
66
- n: number;
67
- } | {
68
- type: "equal";
69
- column: T;
70
- x: number;
71
- } | {
72
- type: "notEqual";
73
- column: T;
74
- x: number;
75
- } | {
76
- type: "lessThan";
77
- column: T;
78
- x: number;
79
- } | {
80
- type: "greaterThan";
81
- column: T;
82
- x: number;
83
- } | {
84
- type: "lessThanOrEqual";
85
- column: T;
86
- x: number;
87
- } | {
88
- type: "greaterThanOrEqual";
89
- column: T;
90
- x: number;
91
- } | {
92
- type: "equalToColumn";
93
- column: T;
94
- rhs: T;
95
- } | {
96
- type: "lessThanColumn";
97
- column: T;
98
- rhs: T;
99
- minDiff?: number;
100
- } | {
101
- type: "greaterThanColumn";
102
- column: T;
103
- rhs: T;
104
- minDiff?: number;
105
- } | {
106
- type: "lessThanColumnOrEqual";
107
- column: T;
108
- rhs: T;
109
- minDiff?: number;
110
- } | {
111
- type: "greaterThanColumnOrEqual";
112
- column: T;
113
- rhs: T;
114
- minDiff?: number;
14
+ type FilterSpecLeaf<T = SUniversalPColumnId> = {
15
+ type: undefined;
16
+ } | {
17
+ type: "isNA";
18
+ column: T;
19
+ } | {
20
+ type: "isNotNA";
21
+ column: T;
22
+ } | {
23
+ type: "ifNa";
24
+ column: T;
25
+ replacement: string;
26
+ } | {
27
+ type: "patternEquals";
28
+ column: T;
29
+ value: string;
30
+ } | {
31
+ type: "patternNotEquals";
32
+ column: T;
33
+ value: string;
34
+ } | {
35
+ type: "patternContainSubsequence";
36
+ column: T;
37
+ value: string;
38
+ } | {
39
+ type: "patternNotContainSubsequence";
40
+ column: T;
41
+ value: string;
42
+ } | {
43
+ type: "patternMatchesRegularExpression";
44
+ column: T;
45
+ value: string;
46
+ } | {
47
+ type: "patternFuzzyContainSubsequence";
48
+ column: T;
49
+ value: string;
50
+ maxEdits?: number;
51
+ substitutionsOnly?: boolean;
52
+ wildcard?: string;
53
+ } | {
54
+ type: "inSet";
55
+ column: T;
56
+ value: string[];
57
+ } | {
58
+ type: "notInSet";
59
+ column: T;
60
+ value: string[];
61
+ } | {
62
+ type: "topN";
63
+ column: T;
64
+ n: number;
65
+ } | {
66
+ type: "bottomN";
67
+ column: T;
68
+ n: number;
69
+ } | {
70
+ type: "equal";
71
+ column: T;
72
+ x: number;
73
+ } | {
74
+ type: "notEqual";
75
+ column: T;
76
+ x: number;
77
+ } | {
78
+ type: "lessThan";
79
+ column: T;
80
+ x: number;
81
+ } | {
82
+ type: "greaterThan";
83
+ column: T;
84
+ x: number;
85
+ } | {
86
+ type: "lessThanOrEqual";
87
+ column: T;
88
+ x: number;
89
+ } | {
90
+ type: "greaterThanOrEqual";
91
+ column: T;
92
+ x: number;
93
+ } | {
94
+ type: "equalToColumn";
95
+ column: T;
96
+ rhs: T;
97
+ } | {
98
+ type: "lessThanColumn";
99
+ column: T;
100
+ rhs: T;
101
+ minDiff?: number;
102
+ } | {
103
+ type: "greaterThanColumn";
104
+ column: T;
105
+ rhs: T;
106
+ minDiff?: number;
107
+ } | {
108
+ type: "lessThanColumnOrEqual";
109
+ column: T;
110
+ rhs: T;
111
+ minDiff?: number;
112
+ } | {
113
+ type: "greaterThanColumnOrEqual";
114
+ column: T;
115
+ rhs: T;
116
+ minDiff?: number;
115
117
  };
116
- export type FilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUniversalPColumnId>, CommonNode = {}, CommonLeaf = CommonNode> = FilterSpecNode<Leaf, CommonNode, CommonLeaf>;
117
- export type RootFilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUniversalPColumnId>, CommonNode = {}, CommonLeaf = CommonNode> = Extract<FilterSpec<Leaf, CommonNode, CommonLeaf>, {
118
- type: "or" | "and";
118
+ type FilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUniversalPColumnId>, CommonNode = {}, CommonLeaf = CommonNode> = FilterSpecNode<Leaf, CommonNode, CommonLeaf>;
119
+ type RootFilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUniversalPColumnId>, CommonNode = {}, CommonLeaf = CommonNode> = Extract<FilterSpec<Leaf, CommonNode, CommonLeaf>, {
120
+ type: "or" | "and";
119
121
  }>;
120
- export type FilterSpecType = Exclude<FilterSpec, {
121
- type: undefined;
122
+ type FilterSpecType = Exclude<FilterSpec, {
123
+ type: undefined;
122
124
  }>["type"];
123
- export type FilterSpecOfType<T extends FilterSpecType> = Extract<FilterSpec, {
124
- type: T;
125
+ type FilterSpecOfType<T extends FilterSpecType> = Extract<FilterSpec, {
126
+ type: T;
125
127
  }>;
126
- export type InferFilterSpecLeaf<T extends FilterSpec<FilterSpecLeaf<unknown>>> = T extends FilterSpecNode<infer Leaf, unknown, unknown> ? Leaf : never;
127
- export type InferFilterSpecLeafColumn<T extends FilterSpec<FilterSpecLeaf<unknown>>> = T extends FilterSpecNode<infer Leaf, unknown, unknown> ? Leaf extends {
128
- column: infer C;
128
+ type InferFilterSpecLeaf<T extends FilterSpec<FilterSpecLeaf<unknown>>> = T extends FilterSpecNode<infer Leaf, unknown, unknown> ? Leaf : never;
129
+ type InferFilterSpecLeafColumn<T extends FilterSpec<FilterSpecLeaf<unknown>>> = T extends FilterSpecNode<infer Leaf, unknown, unknown> ? Leaf extends {
130
+ column: infer C;
129
131
  } ? C : never : never;
130
- export type InferFilterSpecCommonNode<T extends FilterSpec<FilterSpecLeaf<unknown>, unknown, unknown>> = T extends FilterSpecNode<unknown, infer CommonNode, unknown> ? CommonNode : never;
131
- export type InferFilterSpecCommonLeaf<T extends FilterSpec<FilterSpecLeaf<unknown>, unknown, unknown>> = T extends FilterSpecNode<unknown, unknown, infer CommonLeaf> ? CommonLeaf : never;
132
+ type InferFilterSpecCommonNode<T extends FilterSpec<FilterSpecLeaf<unknown>, unknown, unknown>> = T extends FilterSpecNode<unknown, infer CommonNode, unknown> ? CommonNode : never;
133
+ type InferFilterSpecCommonLeaf<T extends FilterSpec<FilterSpecLeaf<unknown>, unknown, unknown>> = T extends FilterSpecNode<unknown, unknown, infer CommonLeaf> ? CommonLeaf : never;
134
+ //#endregion
135
+ export { FilterSpec, FilterSpecLeaf, FilterSpecNode, FilterSpecOfType, FilterSpecType, InferFilterSpecCommonLeaf, InferFilterSpecCommonNode, InferFilterSpecLeaf, InferFilterSpecLeafColumn, RootFilterSpec };
132
136
  //# sourceMappingURL=filter_spec.d.ts.map
@@ -1,27 +1,31 @@
1
- import type { ColumnFilter } from "./column_filter";
2
- import type { AxisId, PColumnIdAndSpec } from "./spec/spec";
1
+ import { AxisId, PColumnIdAndSpec } from "./spec/spec.js";
2
+ import { ColumnFilter } from "./column_filter.js";
3
+
4
+ //#region src/drivers/pframe/find_columns.d.ts
3
5
  /**
4
6
  * Request to search among existing columns in the PFrame. Two filtering
5
7
  * criteria can be used: (1) column ашдеук, to search for columns with
6
8
  * specific properties like name, annotations and domains, and (2) being
7
9
  * compatible with the given list of axis ids.
8
10
  * */
9
- export interface FindColumnsRequest {
10
- /** Basic column filter */
11
- readonly columnFilter: ColumnFilter;
12
- /** Will only search for columns compatible with these list of axis ids */
13
- readonly compatibleWith: AxisId[];
14
- /**
15
- * Defines what level of compatibility with provided list of axis ids is required.
16
- *
17
- * If true will search only for such columns which axes completely maps onto the
18
- * axes listed in the {@link compatibleWith} list.
19
- * */
20
- readonly strictlyCompatible: boolean;
11
+ interface FindColumnsRequest {
12
+ /** Basic column filter */
13
+ readonly columnFilter: ColumnFilter;
14
+ /** Will only search for columns compatible with these list of axis ids */
15
+ readonly compatibleWith: AxisId[];
16
+ /**
17
+ * Defines what level of compatibility with provided list of axis ids is required.
18
+ *
19
+ * If true will search only for such columns which axes completely maps onto the
20
+ * axes listed in the {@link compatibleWith} list.
21
+ * */
22
+ readonly strictlyCompatible: boolean;
21
23
  }
22
24
  /** Response for {@link FindColumnsRequest} */
23
- export interface FindColumnsResponse {
24
- /** Array of column ids found using request criteria. */
25
- readonly hits: PColumnIdAndSpec[];
25
+ interface FindColumnsResponse {
26
+ /** Array of column ids found using request criteria. */
27
+ readonly hits: PColumnIdAndSpec[];
26
28
  }
29
+ //#endregion
30
+ export { FindColumnsRequest, FindColumnsResponse };
27
31
  //# sourceMappingURL=find_columns.d.ts.map
@@ -0,0 +1,15 @@
1
+ const require_data_info = require('./data_info.cjs');
2
+ const require_spec = require('./spec/spec.cjs');
3
+ const require_data_types = require('./data_types.cjs');
4
+ const require_utils = require('./query/utils.cjs');
5
+ require('./query/index.cjs');
6
+ const require_table_calculate = require('./table_calculate.cjs');
7
+ const require_table_common = require('./table_common.cjs');
8
+ const require_ids = require('./spec/ids.cjs');
9
+ const require_anchored = require('./spec/anchored.cjs');
10
+ const require_filtered_column = require('./spec/filtered_column.cjs');
11
+ const require_selectors = require('./spec/selectors.cjs');
12
+ const require_native_id = require('./spec/native_id.cjs');
13
+ require('./spec/index.cjs');
14
+ require('./driver.cjs');
15
+ const require_linker_columns = require('./linker_columns.cjs');
@@ -1,16 +1,23 @@
1
- export * from "./column_filter";
2
- export * from "./data_info";
3
- export * from "./filter_spec";
4
- export * from "./data_types";
5
- export * from "./find_columns";
6
- export * from "./pframe";
7
- export * from "./spec/spec";
8
- export * from "./table";
9
- export * from "./table_calculate";
10
- export * from "./table_common";
11
- export * from "./unique_values";
12
- export * from "./query";
13
- export * from "./spec";
14
- export * from "./driver";
15
- export * from "./linker_columns";
16
- //# sourceMappingURL=index.d.ts.map
1
+ import { Annotation, AnnotationJson, AxesId, AxesSpec, AxisId, AxisSpec, AxisSpecNormalized, AxisTree, AxisValueType, ColumnValueType, Domain, DomainJson, Metadata, MetadataJson, PAxisName, PColumn, PColumnIdAndSpec, PColumnInfo, PColumnLazy, PColumnName, PColumnSpec, PColumnSpecId, PDataColumnSpec, PUniversalColumnSpec, ValueType, canonicalizeAxisId, canonicalizeAxisWithParents, getArrayFromAxisTree, getAxesId, getAxesTree, getAxisId, getColumnIdAndSpec, getDenormalizedAxesList, getNormalizedAxesList, getPColumnSpecId, getSetFromAxisTree, getTypeFromPColumnOrAxisSpec, isAxisId, isLabelColumn, isLinkerColumn, matchAxisId, readAnnotation, readAnnotationJson, readAnnotationJsonOrThrow, readDomain, readDomainJson, readDomainJsonOrThrow, readMetadata, readMetadataJson, readMetadataJsonOrThrow } from "./spec/spec.js";
2
+ import { ColumnFilter } from "./column_filter.js";
3
+ import { BinaryChunk, BinaryPartitionedDataInfo, BinaryPartitionedDataInfoEntries, DataInfo, DataInfoEntries, JsonDataInfo, JsonDataInfoEntries, JsonPartitionedDataInfo, JsonPartitionedDataInfoEntries, PColumnDataEntry, PColumnKey, PColumnValue, PColumnValues, PColumnValuesEntry, ParquetChunk, ParquetChunkMapping, ParquetChunkMappingAxis, ParquetChunkMappingColumn, ParquetChunkMetadata, ParquetChunkStats, ParquetPartitionedDataInfo, ParquetPartitionedDataInfoEntries, PartitionedDataInfoEntries, dataInfoToEntries, entriesToDataInfo, isDataInfo, isDataInfoEntries, isPartitionedDataInfoEntries, mapDataInfo, mapDataInfoEntries, visitDataInfo } from "./data_info.js";
4
+ import { AAxisSelector, ADomain, AnchorAxisIdOrRefBasic, AnchorAxisRef, AnchorAxisRefByIdx, AnchorAxisRefByMatcher, AnchorAxisRefByName, AnchorDomainRef, AnchoredColumnMatchStrategy, AnchoredPColumnId, AnchoredPColumnSelector, AxisSelector, PColumnSelector, SingleAxisSelector, isAnchoredPColumnId, matchAxis, matchPColumn, selectorsToPredicate } from "./spec/selectors.js";
5
+ import { AxisFilter, AxisFilterByIdx, AxisFilterByName, AxisFilterValue, FilteredPColumn, FilteredPColumnId, isFilteredPColumn } from "./spec/filtered_column.js";
6
+ import { SUniversalPColumnId, UniversalPColumnId, parseColumnId, stringifyColumnId } from "./spec/ids.js";
7
+ import { FilterSpec, FilterSpecLeaf, FilterSpecNode, FilterSpecOfType, FilterSpecType, InferFilterSpecCommonLeaf, InferFilterSpecCommonNode, InferFilterSpecLeaf, InferFilterSpecLeafColumn, RootFilterSpec } from "./filter_spec.js";
8
+ import { PTableAbsent, PTableNA, PTableShape, PTableValue, PTableValueAxis, PTableValueBranded, PTableValueData, PTableValueDataBranded, PTableValueDouble, PTableValueFloat, PTableValueInt, PTableValueLong, PTableValueString, PTableVector, PTableVectorTyped, PVectorData, PVectorDataBytes, PVectorDataDouble, PVectorDataFloat, PVectorDataInt, PVectorDataLong, PVectorDataString, PVectorDataTyped, TableRange, ValueTypeSupported, isPTableAbsent, isPTableNA, isPTableValueAxis, pTableValue, pTableValueBranded } from "./data_types.js";
9
+ import { FindColumnsRequest, FindColumnsResponse } from "./find_columns.js";
10
+ import { PTableColumnId, PTableColumnIdAxis, PTableColumnIdColumn, PTableColumnSpec, PTableColumnSpecAxis, PTableColumnSpecColumn, getPTableColumnId } from "./table_common.js";
11
+ import { AnchoredIdDeriver, ResolveAnchorsOptions, resolveAnchors } from "./spec/anchored.js";
12
+ import { NativePObjectId, deriveNativeId } from "./spec/native_id.js";
13
+ import "./spec/index.js";
14
+ import { SpecExprAxisRef, SpecExprColumnRef, SpecQuery, SpecQueryBooleanExpression, SpecQueryColumn, SpecQueryExpression, SpecQueryFilter, SpecQueryInlineColumn, SpecQueryJoinEntry, SpecQueryOuterJoin, SpecQuerySliceAxes, SpecQuerySort, SpecQuerySparseToDenseColumn, SpecQuerySymmetricJoin } from "./query/query_spec.js";
15
+ import { ArtificialColumnJoinEntry, CalculateTableDataRequest, CalculateTableDataResponse, ColumnJoinEntry, ConstantAxisFilter, FullJoin, FullPTableColumnData, InlineColumnJoinEntry, InnerJoin, JoinEntry, OuterJoin, PTableDef, PTableDefV2, PTableRecordFilter, PTableRecordSingleValueFilterV2, PTableSorting, SingleValueAndPredicateV2, SingleValueEqualPredicate, SingleValueGreaterOrEqualPredicate, SingleValueGreaterPredicate, SingleValueIEqualPredicate, SingleValueInSetPredicate, SingleValueIsNAPredicate, SingleValueLessOrEqualPredicate, SingleValueLessPredicate, SingleValueMatchesPredicate, SingleValueNotPredicateV2, SingleValueOrPredicateV2, SingleValuePredicateV2, SingleValueStringContainsFuzzyPredicate, SingleValueStringContainsPredicate, SingleValueStringIContainsFuzzyPredicate, SingleValueStringIContainsPredicate, SlicedColumnJoinEntry, mapJoinEntry, mapPTableDef, mapPTableDefV2, sortJoinEntry, sortPTableDef } from "./table_calculate.js";
16
+ import { UniqueValuesRequest, UniqueValuesResponse } from "./unique_values.js";
17
+ import { PFrame, PFrameDef } from "./pframe.js";
18
+ import { PTable } from "./table.js";
19
+ import { DataExprAxisRef, DataExprColumnRef, DataQuery, DataQueryBooleanExpression, DataQueryColumn, DataQueryExpression, DataQueryFilter, DataQueryInlineColumn, DataQueryJoinEntry, DataQueryOuterJoin, DataQuerySliceAxes, DataQuerySort, DataQuerySparseToDenseColumn, DataQuerySymmetricJoin } from "./query/query_data.js";
20
+ import { collectSpecQueryColumns, isBooleanExpression, mapSpecQueryColumns, sortSpecQuery, traverseQuerySpec } from "./query/utils.js";
21
+ import "./query/index.js";
22
+ import { PFrameDriver, PFrameHandle, PTableHandle } from "./driver.js";
23
+ import { CompositeLinkerMap, LinkerMap } from "./linker_columns.js";
@@ -0,0 +1,15 @@
1
+ import { dataInfoToEntries, entriesToDataInfo, isDataInfo, isDataInfoEntries, isPartitionedDataInfoEntries, mapDataInfo, mapDataInfoEntries, visitDataInfo } from "./data_info.js";
2
+ import { Annotation, AnnotationJson, Domain, DomainJson, PAxisName, PColumnName, ValueType, canonicalizeAxisId, canonicalizeAxisWithParents, getArrayFromAxisTree, getAxesId, getAxesTree, getAxisId, getColumnIdAndSpec, getDenormalizedAxesList, getNormalizedAxesList, getPColumnSpecId, getSetFromAxisTree, getTypeFromPColumnOrAxisSpec, isAxisId, isLabelColumn, isLinkerColumn, matchAxisId, readAnnotation, readAnnotationJson, readAnnotationJsonOrThrow, readDomain, readDomainJson, readDomainJsonOrThrow, readMetadata, readMetadataJson, readMetadataJsonOrThrow } from "./spec/spec.js";
3
+ import { PTableAbsent, PTableNA, isPTableAbsent, isPTableNA, isPTableValueAxis, pTableValue, pTableValueBranded } from "./data_types.js";
4
+ import { collectSpecQueryColumns, isBooleanExpression, mapSpecQueryColumns, sortSpecQuery, traverseQuerySpec } from "./query/utils.js";
5
+ import "./query/index.js";
6
+ import { mapJoinEntry, mapPTableDef, mapPTableDefV2, sortJoinEntry, sortPTableDef } from "./table_calculate.js";
7
+ import { getPTableColumnId } from "./table_common.js";
8
+ import { parseColumnId, stringifyColumnId } from "./spec/ids.js";
9
+ import { AnchoredIdDeriver, resolveAnchors } from "./spec/anchored.js";
10
+ import { isFilteredPColumn } from "./spec/filtered_column.js";
11
+ import { isAnchoredPColumnId, matchAxis, matchPColumn, selectorsToPredicate } from "./spec/selectors.js";
12
+ import { deriveNativeId } from "./spec/native_id.js";
13
+ import "./spec/index.js";
14
+ import "./driver.js";
15
+ import { LinkerMap } from "./linker_columns.js";