@finos/legend-graph 31.1.10 → 31.2.1

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 (299) hide show
  1. package/lib/graph/helpers/DSL_Mapping_Helper.d.ts +3 -1
  2. package/lib/graph/helpers/DSL_Mapping_Helper.d.ts.map +1 -1
  3. package/lib/graph/helpers/DSL_Mapping_Helper.js +17 -0
  4. package/lib/graph/helpers/DSL_Mapping_Helper.js.map +1 -1
  5. package/lib/graph/metamodel/pure/executionPlan/nodes/AllocationExecutionNode.d.ts +1 -1
  6. package/lib/graph/metamodel/pure/executionPlan/nodes/AllocationExecutionNode.d.ts.map +1 -1
  7. package/lib/graph/metamodel/pure/executionPlan/nodes/AllocationExecutionNode.js.map +1 -1
  8. package/lib/graph/metamodel/pure/executionPlan/nodes/ExecutionNode.d.ts +2 -6
  9. package/lib/graph/metamodel/pure/executionPlan/nodes/ExecutionNode.d.ts.map +1 -1
  10. package/lib/graph/metamodel/pure/executionPlan/nodes/ExecutionNode.js +0 -5
  11. package/lib/graph/metamodel/pure/executionPlan/nodes/ExecutionNode.js.map +1 -1
  12. package/lib/graph/metamodel/pure/executionPlan/nodes/GlobalGraphFetchExecutionNode.d.ts +29 -0
  13. package/lib/graph/metamodel/pure/executionPlan/nodes/GlobalGraphFetchExecutionNode.d.ts.map +1 -0
  14. package/lib/graph/metamodel/pure/executionPlan/nodes/GlobalGraphFetchExecutionNode.js +27 -0
  15. package/lib/graph/metamodel/pure/executionPlan/nodes/GlobalGraphFetchExecutionNode.js.map +1 -0
  16. package/lib/graph/metamodel/pure/executionPlan/nodes/GraphFetchExecutionNode.d.ts +25 -0
  17. package/lib/graph/metamodel/pure/executionPlan/nodes/GraphFetchExecutionNode.d.ts.map +1 -0
  18. package/lib/graph/metamodel/pure/executionPlan/nodes/GraphFetchExecutionNode.js +23 -0
  19. package/lib/graph/metamodel/pure/executionPlan/nodes/GraphFetchExecutionNode.js.map +1 -0
  20. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryGraphFetchExecutionNode.d.ts +20 -0
  21. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryGraphFetchExecutionNode.d.ts.map +1 -0
  22. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryGraphFetchExecutionNode.js +20 -0
  23. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryGraphFetchExecutionNode.js.map +1 -0
  24. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryPropertyGraphFetchExecutionNode.d.ts +19 -0
  25. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryPropertyGraphFetchExecutionNode.d.ts.map +1 -0
  26. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryPropertyGraphFetchExecutionNode.js +19 -0
  27. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryPropertyGraphFetchExecutionNode.js.map +1 -0
  28. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryRootGraphFetchExecutionNode.d.ts +22 -0
  29. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryRootGraphFetchExecutionNode.d.ts.map +1 -0
  30. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryRootGraphFetchExecutionNode.js +22 -0
  31. package/lib/graph/metamodel/pure/executionPlan/nodes/InMemoryRootGraphFetchExecutionNode.js.map +1 -0
  32. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromResultSetAsValueTuplesTempTableStrategy.d.ts +20 -0
  33. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromResultSetAsValueTuplesTempTableStrategy.d.ts.map +1 -0
  34. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromResultSetAsValueTuplesTempTableStrategy.js +20 -0
  35. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromResultSetAsValueTuplesTempTableStrategy.js.map +1 -0
  36. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromSubQueryTempTableStrategy.d.ts +19 -0
  37. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromSubQueryTempTableStrategy.d.ts.map +1 -0
  38. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromSubQueryTempTableStrategy.js +19 -0
  39. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromSubQueryTempTableStrategy.js.map +1 -0
  40. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromTempFileTempTableStrategy.d.ts +19 -0
  41. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromTempFileTempTableStrategy.d.ts.map +1 -0
  42. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromTempFileTempTableStrategy.js +19 -0
  43. package/lib/graph/metamodel/pure/executionPlan/nodes/LoadFromTempFileTempTableStrategy.js.map +1 -0
  44. package/lib/graph/metamodel/pure/executionPlan/nodes/LocalGraphFetchExecutionNode.d.ts +23 -0
  45. package/lib/graph/metamodel/pure/executionPlan/nodes/LocalGraphFetchExecutionNode.d.ts.map +1 -0
  46. package/lib/graph/metamodel/pure/executionPlan/nodes/LocalGraphFetchExecutionNode.js +22 -0
  47. package/lib/graph/metamodel/pure/executionPlan/nodes/LocalGraphFetchExecutionNode.js.map +1 -0
  48. package/lib/graph/metamodel/pure/executionPlan/nodes/PureExpressionPlatformExecutionNode.d.ts +21 -0
  49. package/lib/graph/metamodel/pure/executionPlan/nodes/PureExpressionPlatformExecutionNode.d.ts.map +1 -0
  50. package/lib/graph/metamodel/pure/executionPlan/nodes/PureExpressionPlatformExecutionNode.js +20 -0
  51. package/lib/graph/metamodel/pure/executionPlan/nodes/PureExpressionPlatformExecutionNode.js.map +1 -0
  52. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalClassQueryTempTableGraphFetchExecutionNode.d.ts +19 -0
  53. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalClassQueryTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  54. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalClassQueryTempTableGraphFetchExecutionNode.js +19 -0
  55. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalClassQueryTempTableGraphFetchExecutionNode.js.map +1 -0
  56. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalCrossRootQueryTempTableGraphFetchExecutionNode.d.ts +25 -0
  57. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalCrossRootQueryTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  58. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalCrossRootQueryTempTableGraphFetchExecutionNode.js +23 -0
  59. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalCrossRootQueryTempTableGraphFetchExecutionNode.js.map +1 -0
  60. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalGraphFetchExecutionNode.d.ts +20 -0
  61. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalGraphFetchExecutionNode.d.ts.map +1 -0
  62. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalGraphFetchExecutionNode.js +20 -0
  63. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalGraphFetchExecutionNode.js.map +1 -0
  64. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalRootQueryTempTableGraphFetchExecutionNode.d.ts +21 -0
  65. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalRootQueryTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  66. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalRootQueryTempTableGraphFetchExecutionNode.js +21 -0
  67. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalRootQueryTempTableGraphFetchExecutionNode.js.map +1 -0
  68. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalTempTableGraphFetchExecutionNode.d.ts +25 -0
  69. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  70. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalTempTableGraphFetchExecutionNode.js +23 -0
  71. package/lib/graph/metamodel/pure/executionPlan/nodes/RelationalTempTableGraphFetchExecutionNode.js.map +1 -0
  72. package/lib/graph/metamodel/pure/executionPlan/nodes/StoreMappingGlobalGraphFetchExecutionNode.d.ts +24 -0
  73. package/lib/graph/metamodel/pure/executionPlan/nodes/StoreMappingGlobalGraphFetchExecutionNode.d.ts.map +1 -0
  74. package/lib/graph/metamodel/pure/executionPlan/nodes/StoreMappingGlobalGraphFetchExecutionNode.js +23 -0
  75. package/lib/graph/metamodel/pure/executionPlan/nodes/StoreMappingGlobalGraphFetchExecutionNode.js.map +1 -0
  76. package/lib/graph/metamodel/pure/executionPlan/nodes/TempTableStrategy.d.ts +22 -0
  77. package/lib/graph/metamodel/pure/executionPlan/nodes/TempTableStrategy.d.ts.map +1 -0
  78. package/lib/graph/metamodel/pure/executionPlan/nodes/TempTableStrategy.js +21 -0
  79. package/lib/graph/metamodel/pure/executionPlan/nodes/TempTableStrategy.js.map +1 -0
  80. package/lib/graph/metamodel/pure/executionPlan/result/ClassResultType.d.ts +21 -0
  81. package/lib/graph/metamodel/pure/executionPlan/result/ClassResultType.d.ts.map +1 -0
  82. package/lib/graph/metamodel/pure/executionPlan/result/ClassResultType.js +20 -0
  83. package/lib/graph/metamodel/pure/executionPlan/result/ClassResultType.js.map +1 -0
  84. package/lib/graph/metamodel/pure/executionPlan/result/PartialClassResultType.d.ts +21 -0
  85. package/lib/graph/metamodel/pure/executionPlan/result/PartialClassResultType.d.ts.map +1 -0
  86. package/lib/graph/metamodel/pure/executionPlan/result/PartialClassResultType.js +20 -0
  87. package/lib/graph/metamodel/pure/executionPlan/result/PartialClassResultType.js.map +1 -0
  88. package/lib/graph/metamodel/pure/executionPlan/result/PropertyMapping.d.ts +21 -0
  89. package/lib/graph/metamodel/pure/executionPlan/result/PropertyMapping.d.ts.map +1 -0
  90. package/lib/graph/metamodel/pure/executionPlan/result/PropertyMapping.js +21 -0
  91. package/lib/graph/metamodel/pure/executionPlan/result/PropertyMapping.js.map +1 -0
  92. package/lib/graph/metamodel/pure/executionPlan/result/PropertyWithParameters.d.ts +21 -0
  93. package/lib/graph/metamodel/pure/executionPlan/result/PropertyWithParameters.d.ts.map +1 -0
  94. package/lib/graph/metamodel/pure/executionPlan/result/PropertyWithParameters.js +20 -0
  95. package/lib/graph/metamodel/pure/executionPlan/result/PropertyWithParameters.js.map +1 -0
  96. package/lib/graph/metamodel/pure/executionPlan/result/SetImplementationPtr.d.ts +23 -0
  97. package/lib/graph/metamodel/pure/executionPlan/result/SetImplementationPtr.d.ts.map +1 -0
  98. package/lib/graph/metamodel/pure/executionPlan/result/SetImplementationPtr.js +22 -0
  99. package/lib/graph/metamodel/pure/executionPlan/result/SetImplementationPtr.js.map +1 -0
  100. package/lib/graph/metamodel/pure/executionPlan/result/VoidResultType.d.ts +19 -0
  101. package/lib/graph/metamodel/pure/executionPlan/result/VoidResultType.d.ts.map +1 -0
  102. package/lib/graph/metamodel/pure/executionPlan/result/VoidResultType.js +19 -0
  103. package/lib/graph/metamodel/pure/executionPlan/result/VoidResultType.js.map +1 -0
  104. package/lib/graph/metamodel/pure/packageableElements/mapping/xStore/XStorePropertyFetchDetails.d.ts +26 -0
  105. package/lib/graph/metamodel/pure/packageableElements/mapping/xStore/XStorePropertyFetchDetails.d.ts.map +1 -0
  106. package/lib/graph/metamodel/pure/packageableElements/mapping/xStore/XStorePropertyFetchDetails.js +26 -0
  107. package/lib/graph/metamodel/pure/packageableElements/mapping/xStore/XStorePropertyFetchDetails.js.map +1 -0
  108. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_AllocationExecutionNode.d.ts +1 -1
  109. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_AllocationExecutionNode.d.ts.map +1 -1
  110. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_AllocationExecutionNode.js.map +1 -1
  111. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_ExecutionNode.d.ts +3 -6
  112. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_ExecutionNode.d.ts.map +1 -1
  113. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_ExecutionNode.js +1 -5
  114. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_ExecutionNode.js.map +1 -1
  115. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GlobalGraphFetchExecutionNode.d.ts +29 -0
  116. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GlobalGraphFetchExecutionNode.d.ts.map +1 -0
  117. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GlobalGraphFetchExecutionNode.js +27 -0
  118. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GlobalGraphFetchExecutionNode.js.map +1 -0
  119. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GraphFetchExecutionNode.d.ts +25 -0
  120. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GraphFetchExecutionNode.d.ts.map +1 -0
  121. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GraphFetchExecutionNode.js +23 -0
  122. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GraphFetchExecutionNode.js.map +1 -0
  123. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryGraphFetchExecutionNode.d.ts +20 -0
  124. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryGraphFetchExecutionNode.d.ts.map +1 -0
  125. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryGraphFetchExecutionNode.js +20 -0
  126. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryGraphFetchExecutionNode.js.map +1 -0
  127. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryPropertyGraphFetchExecutionNode.d.ts +19 -0
  128. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryPropertyGraphFetchExecutionNode.d.ts.map +1 -0
  129. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryPropertyGraphFetchExecutionNode.js +19 -0
  130. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryPropertyGraphFetchExecutionNode.js.map +1 -0
  131. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryRootGraphFetchExecutionNode.d.ts +22 -0
  132. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryRootGraphFetchExecutionNode.d.ts.map +1 -0
  133. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryRootGraphFetchExecutionNode.js +22 -0
  134. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryRootGraphFetchExecutionNode.js.map +1 -0
  135. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromResultSetAsValueTuplesTempTableStrategy.d.ts +20 -0
  136. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromResultSetAsValueTuplesTempTableStrategy.d.ts.map +1 -0
  137. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromResultSetAsValueTuplesTempTableStrategy.js +20 -0
  138. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromResultSetAsValueTuplesTempTableStrategy.js.map +1 -0
  139. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromSubQueryTempTableStrategy.d.ts +19 -0
  140. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromSubQueryTempTableStrategy.d.ts.map +1 -0
  141. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromSubQueryTempTableStrategy.js +19 -0
  142. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromSubQueryTempTableStrategy.js.map +1 -0
  143. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromTempFileTempTableStrategy.d.ts +19 -0
  144. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromTempFileTempTableStrategy.d.ts.map +1 -0
  145. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromTempFileTempTableStrategy.js +19 -0
  146. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromTempFileTempTableStrategy.js.map +1 -0
  147. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LocalGraphFetchExecutionNode.d.ts +23 -0
  148. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LocalGraphFetchExecutionNode.d.ts.map +1 -0
  149. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LocalGraphFetchExecutionNode.js +22 -0
  150. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LocalGraphFetchExecutionNode.js.map +1 -0
  151. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_PureExpressionPlatformExecutionNode.d.ts +21 -0
  152. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_PureExpressionPlatformExecutionNode.d.ts.map +1 -0
  153. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_PureExpressionPlatformExecutionNode.js +20 -0
  154. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_PureExpressionPlatformExecutionNode.js.map +1 -0
  155. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalClassQueryTempTableGraphFetchExecutionNode.d.ts +19 -0
  156. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalClassQueryTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  157. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalClassQueryTempTableGraphFetchExecutionNode.js +19 -0
  158. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalClassQueryTempTableGraphFetchExecutionNode.js.map +1 -0
  159. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode.d.ts +25 -0
  160. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  161. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode.js +23 -0
  162. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode.js.map +1 -0
  163. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalGraphFetchExecutionNode.d.ts +20 -0
  164. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalGraphFetchExecutionNode.d.ts.map +1 -0
  165. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalGraphFetchExecutionNode.js +20 -0
  166. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalGraphFetchExecutionNode.js.map +1 -0
  167. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalRootQueryTempTableGraphFetchExecutionNode.d.ts +21 -0
  168. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalRootQueryTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  169. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalRootQueryTempTableGraphFetchExecutionNode.js +21 -0
  170. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalRootQueryTempTableGraphFetchExecutionNode.js.map +1 -0
  171. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalTempTableGraphFetchExecutionNode.d.ts +25 -0
  172. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalTempTableGraphFetchExecutionNode.d.ts.map +1 -0
  173. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalTempTableGraphFetchExecutionNode.js +23 -0
  174. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalTempTableGraphFetchExecutionNode.js.map +1 -0
  175. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_StoreMappingGlobalGraphFetchExecutionNode.d.ts +24 -0
  176. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_StoreMappingGlobalGraphFetchExecutionNode.d.ts.map +1 -0
  177. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_StoreMappingGlobalGraphFetchExecutionNode.js +23 -0
  178. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_StoreMappingGlobalGraphFetchExecutionNode.js.map +1 -0
  179. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_TempTableStrategy.d.ts +22 -0
  180. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_TempTableStrategy.d.ts.map +1 -0
  181. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_TempTableStrategy.js +21 -0
  182. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_TempTableStrategy.js.map +1 -0
  183. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_ClassResultType.d.ts +22 -0
  184. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_ClassResultType.d.ts.map +1 -0
  185. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_ClassResultType.js +21 -0
  186. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_ClassResultType.js.map +1 -0
  187. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PartialClassResultType.d.ts +21 -0
  188. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PartialClassResultType.d.ts.map +1 -0
  189. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PartialClassResultType.js +20 -0
  190. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PartialClassResultType.js.map +1 -0
  191. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyMapping.d.ts +21 -0
  192. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyMapping.d.ts.map +1 -0
  193. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyMapping.js +21 -0
  194. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyMapping.js.map +1 -0
  195. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyWithParameters.d.ts +21 -0
  196. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyWithParameters.d.ts.map +1 -0
  197. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyWithParameters.js +20 -0
  198. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyWithParameters.js.map +1 -0
  199. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_SetImplementationPtr.d.ts +23 -0
  200. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_SetImplementationPtr.d.ts.map +1 -0
  201. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_SetImplementationPtr.js +22 -0
  202. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_SetImplementationPtr.js.map +1 -0
  203. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_VoidResultType.d.ts +19 -0
  204. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_VoidResultType.d.ts.map +1 -0
  205. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_VoidResultType.js +19 -0
  206. package/lib/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_VoidResultType.js.map +1 -0
  207. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/xStore/V1_XStorePropertyFetchDetails.d.ts +26 -0
  208. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/xStore/V1_XStorePropertyFetchDetails.d.ts.map +1 -0
  209. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/xStore/V1_XStorePropertyFetchDetails.js +26 -0
  210. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/xStore/V1_XStorePropertyFetchDetails.js.map +1 -0
  211. package/lib/graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedFunction.d.ts +1 -0
  212. package/lib/graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedFunction.d.ts.map +1 -1
  213. package/lib/graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedFunction.js +1 -1
  214. package/lib/graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedFunction.js.map +1 -1
  215. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/executionPlan/V1_ExecutionPlanTransformer.d.ts.map +1 -1
  216. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/executionPlan/V1_ExecutionPlanTransformer.js +289 -1
  217. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/from/executionPlan/V1_ExecutionPlanTransformer.js.map +1 -1
  218. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ExecutionPlanBuilder.d.ts.map +1 -1
  219. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ExecutionPlanBuilder.js +316 -2
  220. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ExecutionPlanBuilder.js.map +1 -1
  221. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.d.ts +5 -3
  222. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.d.ts.map +1 -1
  223. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js +72 -21
  224. package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js.map +1 -1
  225. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.d.ts +3 -0
  226. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.d.ts.map +1 -1
  227. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.js +3 -2
  228. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.js.map +1 -1
  229. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.d.ts +18 -2
  230. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.d.ts.map +1 -1
  231. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.js +317 -20
  232. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.js.map +1 -1
  233. package/lib/index.d.ts +14 -0
  234. package/lib/index.d.ts.map +1 -1
  235. package/lib/index.js +14 -0
  236. package/lib/index.js.map +1 -1
  237. package/lib/package.json +1 -1
  238. package/package.json +1 -1
  239. package/src/graph/helpers/DSL_Mapping_Helper.ts +24 -1
  240. package/src/graph/metamodel/pure/executionPlan/nodes/AllocationExecutionNode.ts +1 -1
  241. package/src/graph/metamodel/pure/executionPlan/nodes/ExecutionNode.ts +2 -6
  242. package/src/graph/metamodel/pure/executionPlan/nodes/GlobalGraphFetchExecutionNode.ts +30 -0
  243. package/src/graph/metamodel/pure/executionPlan/nodes/GraphFetchExecutionNode.ts +26 -0
  244. package/src/graph/metamodel/pure/executionPlan/nodes/InMemoryGraphFetchExecutionNode.ts +21 -0
  245. package/src/graph/metamodel/pure/executionPlan/nodes/InMemoryPropertyGraphFetchExecutionNode.ts +19 -0
  246. package/src/graph/metamodel/pure/executionPlan/nodes/InMemoryRootGraphFetchExecutionNode.ts +23 -0
  247. package/src/graph/metamodel/pure/executionPlan/nodes/LoadFromResultSetAsValueTuplesTempTableStrategy.ts +21 -0
  248. package/src/graph/metamodel/pure/executionPlan/nodes/LoadFromSubQueryTempTableStrategy.ts +19 -0
  249. package/src/graph/metamodel/pure/executionPlan/nodes/LoadFromTempFileTempTableStrategy.ts +19 -0
  250. package/src/graph/metamodel/pure/executionPlan/nodes/LocalGraphFetchExecutionNode.ts +24 -0
  251. package/src/graph/metamodel/pure/executionPlan/nodes/PureExpressionPlatformExecutionNode.ts +22 -0
  252. package/src/graph/metamodel/pure/executionPlan/nodes/RelationalClassQueryTempTableGraphFetchExecutionNode.ts +19 -0
  253. package/src/graph/metamodel/pure/executionPlan/nodes/RelationalCrossRootQueryTempTableGraphFetchExecutionNode.ts +26 -0
  254. package/src/graph/metamodel/pure/executionPlan/nodes/RelationalGraphFetchExecutionNode.ts +21 -0
  255. package/src/graph/metamodel/pure/executionPlan/nodes/RelationalRootQueryTempTableGraphFetchExecutionNode.ts +22 -0
  256. package/src/graph/metamodel/pure/executionPlan/nodes/RelationalTempTableGraphFetchExecutionNode.ts +26 -0
  257. package/src/graph/metamodel/pure/executionPlan/nodes/StoreMappingGlobalGraphFetchExecutionNode.ts +25 -0
  258. package/src/graph/metamodel/pure/executionPlan/nodes/TempTableStrategy.ts +23 -0
  259. package/src/graph/metamodel/pure/executionPlan/result/ClassResultType.ts +22 -0
  260. package/src/graph/metamodel/pure/executionPlan/result/PartialClassResultType.ts +22 -0
  261. package/src/graph/metamodel/pure/executionPlan/result/PropertyMapping.ts +21 -0
  262. package/src/graph/metamodel/pure/executionPlan/result/PropertyWithParameters.ts +22 -0
  263. package/src/graph/metamodel/pure/executionPlan/result/SetImplementationPtr.ts +24 -0
  264. package/src/graph/metamodel/pure/executionPlan/result/VoidResultType.ts +19 -0
  265. package/src/graph/metamodel/pure/packageableElements/mapping/xStore/XStorePropertyFetchDetails.ts +26 -0
  266. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_AllocationExecutionNode.ts +1 -1
  267. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_ExecutionNode.ts +3 -6
  268. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GlobalGraphFetchExecutionNode.ts +30 -0
  269. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_GraphFetchExecutionNode.ts +26 -0
  270. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryGraphFetchExecutionNode.ts +21 -0
  271. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryPropertyGraphFetchExecutionNode.ts +19 -0
  272. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_InMemoryRootGraphFetchExecutionNode.ts +23 -0
  273. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromResultSetAsValueTuplesTempTableStrategy.ts +21 -0
  274. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromSubQueryTempTableStrategy.ts +19 -0
  275. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LoadFromTempFileTempTableStrategy.ts +19 -0
  276. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_LocalGraphFetchExecutionNode.ts +24 -0
  277. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_PureExpressionPlatformExecutionNode.ts +22 -0
  278. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalClassQueryTempTableGraphFetchExecutionNode.ts +19 -0
  279. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode.ts +26 -0
  280. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalGraphFetchExecutionNode.ts +21 -0
  281. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalRootQueryTempTableGraphFetchExecutionNode.ts +22 -0
  282. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_RelationalTempTableGraphFetchExecutionNode.ts +26 -0
  283. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_StoreMappingGlobalGraphFetchExecutionNode.ts +25 -0
  284. package/src/graph-manager/protocol/pure/v1/model/executionPlan/nodes/V1_TempTableStrategy.ts +23 -0
  285. package/src/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_ClassResultType.ts +23 -0
  286. package/src/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PartialClassResultType.ts +22 -0
  287. package/src/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyMapping.ts +21 -0
  288. package/src/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_PropertyWithParameters.ts +22 -0
  289. package/src/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_SetImplementationPtr.ts +24 -0
  290. package/src/graph-manager/protocol/pure/v1/model/executionPlan/results/V1_VoidResultType.ts +19 -0
  291. package/src/graph-manager/protocol/pure/v1/model/packageableElements/mapping/xStore/V1_XStorePropertyFetchDetails.ts +26 -0
  292. package/src/graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedFunction.ts +1 -1
  293. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/from/executionPlan/V1_ExecutionPlanTransformer.ts +538 -1
  294. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ExecutionPlanBuilder.ts +605 -2
  295. package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.ts +142 -14
  296. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.ts +8 -2
  297. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.ts +610 -23
  298. package/src/index.ts +14 -0
  299. package/tsconfig.json +48 -0
@@ -33,6 +33,7 @@ import {
33
33
  usingConstantValueSchema,
34
34
  UnsupportedOperationError,
35
35
  customList,
36
+ optionalCustomList,
36
37
  } from '@finos/legend-shared';
37
38
  import type { V1_ExecutionPlan } from '../../../../model/executionPlan/V1_ExecutionPlan.js';
38
39
  import { V1_SimpleExecutionPlan } from '../../../../model/executionPlan/V1_SimpleExecutionPlan.js';
@@ -59,13 +60,40 @@ import { V1_INTERNAL__UnknownExecutionNode } from '../../../../model/executionPl
59
60
  import type { V1_ExecutionNode } from '../../../../model/executionPlan/nodes/V1_ExecutionNode.js';
60
61
  import { V1_JavaPlatformImplementation } from '../../../../model/executionPlan/nodes/V1_JavaPlatformImplementation.js';
61
62
  import { V1_JavaClass } from '../../../../model/executionPlan/nodes/V1_JavaClass.js';
62
- import { V1_variableModelSchema } from '../V1_ValueSpecificationSerializer.js';
63
+ import {
64
+ V1_variableModelSchema,
65
+ V1_deserializeGraphFetchTree,
66
+ V1_deserializeValueSpecification,
67
+ V1_serializeGraphFetchTree,
68
+ V1_serializeValueSpecification,
69
+ } from '../V1_ValueSpecificationSerializer.js';
70
+ import { V1_StoreMappingGlobalGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_StoreMappingGlobalGraphFetchExecutionNode.js';
71
+ import { V1_SetImplementationPtr } from '../../../../model/executionPlan/results/V1_SetImplementationPtr.js';
72
+ import { V1_PropertyMapping } from '../../../../model/executionPlan/results/V1_PropertyMapping.js';
73
+ import { V1_PropertyWithParameters } from '../../../../model/executionPlan/results/V1_PropertyWithParameters.js';
74
+ import { V1_PartialClassResultType } from '../../../../model/executionPlan/results/V1_PartialClassResultType.js';
75
+ import { V1_GlobalGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_GlobalGraphFetchExecutionNode.js';
76
+ import { V1_RelationalClassQueryTempTableGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_RelationalClassQueryTempTableGraphFetchExecutionNode.js';
77
+ import { V1_RelationalRootQueryTempTableGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_RelationalRootQueryTempTableGraphFetchExecutionNode.js';
78
+ import type { V1_TempTableStrategy } from '../../../../model/executionPlan/nodes/V1_TempTableStrategy.js';
79
+ import { V1_PureExpressionPlatformExecutionNode } from '../../../../model/executionPlan/nodes/V1_PureExpressionPlatformExecutionNode.js';
80
+ import { V1_InMemoryPropertyGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_InMemoryPropertyGraphFetchExecutionNode.js';
81
+ import { V1_InMemoryRootGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_InMemoryRootGraphFetchExecutionNode.js';
82
+ import { V1_LoadFromResultSetAsValueTuplesTempTableStrategy } from '../../../../model/executionPlan/nodes/V1_LoadFromResultSetAsValueTuplesTempTableStrategy.js';
83
+ import { V1_LoadFromSubQueryTempTableStrategy } from '../../../../model/executionPlan/nodes/V1_LoadFromSubQueryTempTableStrategy.js';
84
+ import { V1_LoadFromTempFileTempTableStrategy } from '../../../../model/executionPlan/nodes/V1_LoadFromTempFileTempTableStrategy.js';
85
+ import { V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode } from '../../../../model/executionPlan/nodes/V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode.js';
86
+ import { V1_XStorePropertyFetchDetails } from '../../../../model/packageableElements/mapping/xStore/V1_XStorePropertyFetchDetails.js';
87
+ import type { V1_ValueSpecification } from '../../../../model/valueSpecification/V1_ValueSpecification.js';
63
88
 
64
89
  // ---------------------------------------- Result Type ----------------------------------------
65
90
 
66
91
  export enum V1_ExecutionResultTypeType {
67
92
  DATA_TYPE = 'dataType',
68
93
  TDS = 'tds',
94
+ CLASS = 'class',
95
+ PARTIAL_CLASS = 'partialClass',
96
+ VOID = 'void',
69
97
  }
70
98
 
71
99
  const dataTypeResultTypeModelSchema = createModelSchema(V1_DataTypeResultType, {
@@ -89,6 +117,52 @@ const TDSResultTypeModelSchema = createModelSchema(V1_TDSResultType, {
89
117
  tdsColumns: list(usingModelSchema(TDSColumnModelSchema)),
90
118
  });
91
119
 
120
+ const propertyMappingModelSchema = createModelSchema(V1_PropertyMapping, {
121
+ type: optional(primitive()),
122
+ property: optional(primitive()),
123
+ enumMapping: optionalCustom(
124
+ (val) => serializeMap(val, (v) => v),
125
+ (val) => deserializeMap(val, (v) => v),
126
+ ),
127
+ });
128
+
129
+ const propertyWithParametersModelSchema = createModelSchema(
130
+ V1_PropertyWithParameters,
131
+ {
132
+ property: optional(primitive()),
133
+ parameters: optionalCustomList(
134
+ (value: V1_ValueSpecification) =>
135
+ V1_serializeValueSpecification(value, []),
136
+ (value) => V1_deserializeValueSpecification(value, []),
137
+ {
138
+ INTERNAL__forceReturnEmptyInTest: true,
139
+ },
140
+ ),
141
+ },
142
+ );
143
+
144
+ const setImplementationPtrModelSchema = createModelSchema(
145
+ V1_SetImplementationPtr,
146
+ {
147
+ class: primitive(),
148
+ id: optional(primitive()),
149
+ mapping: optional(primitive()),
150
+ propertyMappings: list(usingModelSchema(propertyMappingModelSchema)),
151
+ },
152
+ );
153
+
154
+ const partialClassResultTypeModelSchema = createModelSchema(
155
+ V1_PartialClassResultType,
156
+ {
157
+ _type: usingConstantValueSchema(V1_ExecutionResultTypeType.PARTIAL_CLASS),
158
+ class: primitive(),
159
+ setImplementations: list(usingModelSchema(setImplementationPtrModelSchema)),
160
+ propertiesWithParameters: list(
161
+ usingModelSchema(propertyWithParametersModelSchema),
162
+ ),
163
+ },
164
+ );
165
+
92
166
  const V1_serializeResultType = (
93
167
  protocol: V1_ResultType,
94
168
  ): PlainObject<V1_ResultType> => {
@@ -98,6 +172,8 @@ const V1_serializeResultType = (
98
172
  return serialize(dataTypeResultTypeModelSchema, protocol);
99
173
  } else if (protocol instanceof V1_TDSResultType) {
100
174
  return serialize(TDSResultTypeModelSchema, protocol);
175
+ } else if (protocol instanceof V1_PartialClassResultType) {
176
+ return serialize(partialClassResultTypeModelSchema, protocol);
101
177
  }
102
178
  throw new UnsupportedOperationError(
103
179
  `Can't serialize execution result type`,
@@ -113,6 +189,8 @@ const V1_deserializeResultType = (
113
189
  return deserialize(dataTypeResultTypeModelSchema, json);
114
190
  case V1_ExecutionResultTypeType.TDS:
115
191
  return deserialize(TDSResultTypeModelSchema, json);
192
+ case V1_ExecutionResultTypeType.PARTIAL_CLASS:
193
+ return deserialize(partialClassResultTypeModelSchema, json);
116
194
  default: {
117
195
  // Fall back to create unknown stub if not supported
118
196
  const protocol = new V1_INTERNAL__UnknownResultType();
@@ -127,10 +205,18 @@ const V1_deserializeResultType = (
127
205
  export enum V1_ExecutionNodeType {
128
206
  RELATIONAL_TDS_INSTANTIATION = 'relationalTdsInstantiation',
129
207
  SQL = 'sql',
208
+ GLOBAL_GRAPH_FETCH = 'graphFetchExecutionNode',
209
+ STORE_MAPPING_GLOBAL_GRAPH_FETCH = 'storeMappingGlobalGraphFetchExecutionNode',
210
+ RELATIONAL_CROSS_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH = 'relationalCrossRootQueryTempTableGraphFetch',
211
+ RELATIONAL_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH = 'relationalRootQueryTempTableGraphFetch',
212
+ RELATIONAL_CLASS_QUERY_TEMP_TABLE_GRAPH_FETCH = 'relationalClassQueryTempTableGraphFetch',
213
+ PURE_EXPRESSION_PLATFORM = 'platform',
130
214
  FUNCTION_PARAMETERS_VALIDATION = 'function-parameters-validation',
131
215
  ALLOCATION = 'allocation',
132
216
  CONSTANT = 'constant',
133
217
  SEQUENCE = 'sequence',
218
+ IN_MEMORY_PROPERTY_GRAPH_FETCH = 'inMemoryPropertyGraphFetch',
219
+ IN_MEMORY_ROOT_GRAPH_FETCH = 'inMemoryRootGraphFetch',
134
220
  }
135
221
 
136
222
  const enum V1_PlatformImplementationType {
@@ -143,6 +229,7 @@ const relationalTDSInstantationExecutionNodeModelSchema = createModelSchema(
143
229
  _type: usingConstantValueSchema(
144
230
  V1_ExecutionNodeType.RELATIONAL_TDS_INSTANTIATION,
145
231
  ),
232
+ authDependent: optional(primitive()),
146
233
  executionNodes: list(
147
234
  custom(V1_serializeExecutionNode, V1_deserializeExecutionNode),
148
235
  ),
@@ -156,8 +243,32 @@ const SQLResultColumnModelSchema = createModelSchema(V1_SQLResultColumn, {
156
243
  label: primitive(),
157
244
  });
158
245
 
246
+ const javaClassModelSchema = createModelSchema(V1_JavaClass, {
247
+ byteCode: optional(primitive()),
248
+ name: primitive(),
249
+ package: primitive(),
250
+ source: primitive(),
251
+ });
252
+
253
+ const javaPlatformImplementationModelSchema = createModelSchema(
254
+ V1_JavaPlatformImplementation,
255
+ {
256
+ _type: usingConstantValueSchema(V1_PlatformImplementationType.JAVA),
257
+ classes: optionalCustomList(
258
+ (value: V1_JavaClass) => serialize(javaClassModelSchema, value),
259
+ (value) => deserialize(javaClassModelSchema, value),
260
+ {
261
+ INTERNAL__forceReturnEmptyInTest: true,
262
+ },
263
+ ),
264
+ executionClassFullName: optional(primitive()),
265
+ executionMethodName: optional(primitive()),
266
+ },
267
+ );
268
+
159
269
  const SQLExecutionNodeModelSchema = createModelSchema(V1_SQLExecutionNode, {
160
270
  _type: usingConstantValueSchema(V1_ExecutionNodeType.SQL),
271
+ authDependent: optional(primitive()),
161
272
  connection: custom(
162
273
  V1_serializeDatabaseConnectionValue,
163
274
  V1_deserializeDatabaseConnectionValue,
@@ -166,7 +277,9 @@ const SQLExecutionNodeModelSchema = createModelSchema(V1_SQLExecutionNode, {
166
277
  V1_serializeExecutionNode,
167
278
  V1_deserializeExecutionNode,
168
279
  ),
169
- implementation: raw(),
280
+ implementation: optional(
281
+ usingModelSchema(javaPlatformImplementationModelSchema),
282
+ ),
170
283
  onConnectionCloseCommitQuery: optional(primitive()),
171
284
  onConnectionCloseRollbackQuery: optional(primitive()),
172
285
  resultColumns: list(usingModelSchema(SQLResultColumnModelSchema)),
@@ -175,11 +288,215 @@ const SQLExecutionNodeModelSchema = createModelSchema(V1_SQLExecutionNode, {
175
288
  sqlQuery: primitive(),
176
289
  });
177
290
 
291
+ const globalGraphFetchExecutionNodeModelSchema = createModelSchema(
292
+ V1_GlobalGraphFetchExecutionNode,
293
+ {
294
+ _type: usingConstantValueSchema(V1_ExecutionNodeType.GLOBAL_GRAPH_FETCH),
295
+ authDependent: optional(primitive()),
296
+ checked: optional(primitive()),
297
+ executionNodes: customList(
298
+ V1_serializeExecutionNode,
299
+ V1_deserializeExecutionNode,
300
+ ),
301
+ implementation: optional(
302
+ usingModelSchema(javaPlatformImplementationModelSchema),
303
+ ),
304
+ enableConstraints: optional(primitive()),
305
+ graphFetchTree: custom(
306
+ (val) => V1_serializeGraphFetchTree(val, []),
307
+ (val) => V1_deserializeGraphFetchTree(val, []),
308
+ ),
309
+ localGraphFetchExecutionNode: custom(
310
+ V1_serializeExecutionNode,
311
+ V1_deserializeExecutionNode,
312
+ ),
313
+ children: customList(
314
+ V1_serializeExecutionNode,
315
+ V1_deserializeExecutionNode,
316
+ ),
317
+ parentIndex: optional(primitive()),
318
+ localTreeIndices: list(primitive()),
319
+ dependencyIndices: optional(list(primitive())),
320
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
321
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
322
+ },
323
+ );
324
+
325
+ const xStorePropertyFetchDetailsModelSchema = createModelSchema(
326
+ V1_XStorePropertyFetchDetails,
327
+ {
328
+ propertyPath: primitive(),
329
+ sourceMappingId: primitive(),
330
+ sourceSetId: primitive(),
331
+ subTree: primitive(),
332
+ supportsCaching: primitive(),
333
+ targetMappingId: primitive(),
334
+ targetPropertiesOrdered: list(primitive()),
335
+ targetSetId: primitive(),
336
+ },
337
+ );
338
+
339
+ const storeMappingGlobalGraphFetchExecutionNodeModelSchema = createModelSchema(
340
+ V1_StoreMappingGlobalGraphFetchExecutionNode,
341
+ {
342
+ _type: usingConstantValueSchema(
343
+ V1_ExecutionNodeType.STORE_MAPPING_GLOBAL_GRAPH_FETCH,
344
+ ),
345
+ authDependent: optional(primitive()),
346
+ checked: optional(primitive()),
347
+ executionNodes: customList(
348
+ V1_serializeExecutionNode,
349
+ V1_deserializeExecutionNode,
350
+ ),
351
+ implementation: optional(
352
+ usingModelSchema(javaPlatformImplementationModelSchema),
353
+ ),
354
+ enableConstraints: optional(primitive()),
355
+ graphFetchTree: custom(
356
+ (val) => V1_serializeGraphFetchTree(val, []),
357
+ (val) => V1_deserializeGraphFetchTree(val, []),
358
+ ),
359
+ localGraphFetchExecutionNode: custom(
360
+ V1_serializeExecutionNode,
361
+ V1_deserializeExecutionNode,
362
+ ),
363
+ children: customList(
364
+ V1_serializeExecutionNode,
365
+ V1_deserializeExecutionNode,
366
+ ),
367
+ parentIndex: optional(primitive()),
368
+ localTreeIndices: list(primitive()),
369
+ dependencyIndices: optional(list(primitive())),
370
+ resultSizeRange: usingModelSchema(V1_multiplicityModelSchema),
371
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
372
+ store: primitive(),
373
+ xStorePropertyFetchDetails: optional(
374
+ usingModelSchema(xStorePropertyFetchDetailsModelSchema),
375
+ ),
376
+ xStorePropertyMapping: optional(raw()),
377
+ },
378
+ );
379
+
380
+ export enum V1_TempTableStrategyType {
381
+ LOAD_FROM_RESULT_SET_AS_VALUE = 'resultSet',
382
+ LOAD_FROM_SUB_QUERY = 'subQuery',
383
+ LOAD_FROM_TEMP_FILE = 'tempFile',
384
+ }
385
+
386
+ const loadFromResultSetAsValueTuplesTempTableStrategyModelSchema =
387
+ createModelSchema(V1_LoadFromResultSetAsValueTuplesTempTableStrategy, {
388
+ _type: usingConstantValueSchema(
389
+ V1_TempTableStrategyType.LOAD_FROM_RESULT_SET_AS_VALUE,
390
+ ),
391
+ tupleBatchSize: optional(primitive()),
392
+ createTempTableNode: custom(
393
+ V1_serializeExecutionNode,
394
+ V1_deserializeExecutionNode,
395
+ ),
396
+ loadTempTableNode: custom(
397
+ V1_serializeExecutionNode,
398
+ V1_deserializeExecutionNode,
399
+ ),
400
+ dropTempTableNode: custom(
401
+ V1_serializeExecutionNode,
402
+ V1_deserializeExecutionNode,
403
+ ),
404
+ });
405
+
406
+ const loadFromLoadFromSubQueryTempTableStrategyModelSchema = createModelSchema(
407
+ V1_LoadFromSubQueryTempTableStrategy,
408
+ {
409
+ _type: usingConstantValueSchema(
410
+ V1_TempTableStrategyType.LOAD_FROM_SUB_QUERY,
411
+ ),
412
+ createTempTableNode: custom(
413
+ V1_serializeExecutionNode,
414
+ V1_deserializeExecutionNode,
415
+ ),
416
+ loadTempTableNode: custom(
417
+ V1_serializeExecutionNode,
418
+ V1_deserializeExecutionNode,
419
+ ),
420
+ dropTempTableNode: custom(
421
+ V1_serializeExecutionNode,
422
+ V1_deserializeExecutionNode,
423
+ ),
424
+ },
425
+ );
426
+
427
+ const loadFromTempFileTempTableStrategyModelSchema = createModelSchema(
428
+ V1_LoadFromTempFileTempTableStrategy,
429
+ {
430
+ _type: usingConstantValueSchema(
431
+ V1_TempTableStrategyType.LOAD_FROM_TEMP_FILE,
432
+ ),
433
+ createTempTableNode: custom(
434
+ V1_serializeExecutionNode,
435
+ V1_deserializeExecutionNode,
436
+ ),
437
+ loadTempTableNode: custom(
438
+ V1_serializeExecutionNode,
439
+ V1_deserializeExecutionNode,
440
+ ),
441
+ dropTempTableNode: custom(
442
+ V1_serializeExecutionNode,
443
+ V1_deserializeExecutionNode,
444
+ ),
445
+ },
446
+ );
447
+
448
+ const V1_serializeTempTableStrategy = (
449
+ protocol: V1_TempTableStrategy,
450
+ ): PlainObject<V1_TempTableStrategy> => {
451
+ if (protocol instanceof V1_LoadFromResultSetAsValueTuplesTempTableStrategy) {
452
+ return serialize(
453
+ loadFromResultSetAsValueTuplesTempTableStrategyModelSchema,
454
+ protocol,
455
+ );
456
+ } else if (protocol instanceof V1_LoadFromSubQueryTempTableStrategy) {
457
+ return serialize(
458
+ loadFromLoadFromSubQueryTempTableStrategyModelSchema,
459
+ protocol,
460
+ );
461
+ } else if (protocol instanceof V1_LoadFromTempFileTempTableStrategy) {
462
+ return serialize(loadFromTempFileTempTableStrategyModelSchema, protocol);
463
+ }
464
+ throw new UnsupportedOperationError(
465
+ `Can't serialize temp table strategy`,
466
+ protocol,
467
+ );
468
+ };
469
+
470
+ const V1_deserializeTempTableStrategy = (
471
+ json: PlainObject<V1_TempTableStrategy>,
472
+ ): V1_TempTableStrategy => {
473
+ switch (json._type) {
474
+ case V1_TempTableStrategyType.LOAD_FROM_RESULT_SET_AS_VALUE:
475
+ return deserialize(
476
+ loadFromResultSetAsValueTuplesTempTableStrategyModelSchema,
477
+ json,
478
+ );
479
+ case V1_TempTableStrategyType.LOAD_FROM_SUB_QUERY:
480
+ return deserialize(
481
+ loadFromLoadFromSubQueryTempTableStrategyModelSchema,
482
+ json,
483
+ );
484
+ case V1_TempTableStrategyType.LOAD_FROM_TEMP_FILE:
485
+ return deserialize(loadFromTempFileTempTableStrategyModelSchema, json);
486
+ default: {
487
+ throw new UnsupportedOperationError(
488
+ `Can't deserialize temp table strategy`,
489
+ json,
490
+ );
491
+ }
492
+ }
493
+ };
494
+
178
495
  const parameterValidationContextSchema = createModelSchema(
179
496
  V1_EnumValidationContext,
180
497
  {
181
- varName: primitive(),
182
498
  validEnumValues: list(primitive()),
499
+ varName: primitive(),
183
500
  },
184
501
  );
185
502
 
@@ -189,14 +506,19 @@ const functionParametersValidationNodeModelSchema = createModelSchema(
189
506
  _type: usingConstantValueSchema(
190
507
  V1_ExecutionNodeType.FUNCTION_PARAMETERS_VALIDATION,
191
508
  ),
509
+ authDependent: optional(primitive()),
192
510
  executionNodes: customList(
193
511
  V1_serializeExecutionNode,
194
512
  V1_deserializeExecutionNode,
195
513
  ),
514
+ implementation: optional(
515
+ usingModelSchema(javaPlatformImplementationModelSchema),
516
+ ),
196
517
  functionParameters: list(usingModelSchema(V1_variableModelSchema)),
197
518
  parameterValidationContext: list(
198
519
  usingModelSchema(parameterValidationContextSchema),
199
520
  ),
521
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
200
522
  resultType: custom(V1_serializeResultType, V1_deserializeResultType),
201
523
  },
202
524
  );
@@ -205,12 +527,16 @@ const allocationExecutionNodeModelSchema = createModelSchema(
205
527
  V1_AllocationExecutionNode,
206
528
  {
207
529
  _type: usingConstantValueSchema(V1_ExecutionNodeType.ALLOCATION),
530
+ authDependent: optional(primitive()),
208
531
  executionNodes: customList(
209
532
  V1_serializeExecutionNode,
210
533
  V1_deserializeExecutionNode,
211
534
  ),
212
- realizeInMemory: primitive(),
213
- resultSizeRange: usingModelSchema(V1_multiplicityModelSchema),
535
+ implementation: optional(
536
+ usingModelSchema(javaPlatformImplementationModelSchema),
537
+ ),
538
+ realizeInMemory: optional(primitive()),
539
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
214
540
  resultType: custom(V1_serializeResultType, V1_deserializeResultType),
215
541
  varName: primitive(),
216
542
  },
@@ -220,10 +546,15 @@ const constantExecutionNodeModelSchema = createModelSchema(
220
546
  V1_ConstantExecutionNode,
221
547
  {
222
548
  _type: usingConstantValueSchema(V1_ExecutionNodeType.CONSTANT),
549
+ authDependent: optional(primitive()),
223
550
  executionNodes: customList(
224
551
  V1_serializeExecutionNode,
225
552
  V1_deserializeExecutionNode,
226
553
  ),
554
+ implementation: optional(
555
+ usingModelSchema(javaPlatformImplementationModelSchema),
556
+ ),
557
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
227
558
  resultType: custom(V1_serializeResultType, V1_deserializeResultType),
228
559
  values: raw(),
229
560
  },
@@ -233,10 +564,212 @@ const sequenceExecutionNodeModelSchema = createModelSchema(
233
564
  V1_SequenceExecutionNode,
234
565
  {
235
566
  _type: usingConstantValueSchema(V1_ExecutionNodeType.SEQUENCE),
567
+ authDependent: optional(primitive()),
236
568
  executionNodes: customList(
237
569
  V1_serializeExecutionNode,
238
570
  V1_deserializeExecutionNode,
239
571
  ),
572
+ implementation: optional(
573
+ usingModelSchema(javaPlatformImplementationModelSchema),
574
+ ),
575
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
576
+ },
577
+ );
578
+
579
+ const relationalClassQueryTempTableGraphFetchExecutionNodeModelSchema =
580
+ createModelSchema(V1_RelationalClassQueryTempTableGraphFetchExecutionNode, {
581
+ _type: usingConstantValueSchema(
582
+ V1_ExecutionNodeType.RELATIONAL_CLASS_QUERY_TEMP_TABLE_GRAPH_FETCH,
583
+ ),
584
+ authDependent: optional(primitive()),
585
+ checked: optional(primitive()),
586
+ children: customList(
587
+ V1_serializeExecutionNode,
588
+ V1_deserializeExecutionNode,
589
+ ),
590
+ columns: list(usingModelSchema(SQLResultColumnModelSchema)),
591
+ executionNodes: customList(
592
+ V1_serializeExecutionNode,
593
+ V1_deserializeExecutionNode,
594
+ ),
595
+ graphFetchTree: custom(
596
+ (val) => V1_serializeGraphFetchTree(val, []),
597
+ (val) => V1_deserializeGraphFetchTree(val, []),
598
+ ),
599
+ implementation: optional(
600
+ usingModelSchema(javaPlatformImplementationModelSchema),
601
+ ),
602
+ nodeIndex: primitive(),
603
+ processedTempTableName: optional(primitive()),
604
+ parentIndex: optional(primitive()),
605
+ resultSizeRange: usingModelSchema(V1_multiplicityModelSchema),
606
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
607
+ tempTableName: primitive(),
608
+ tempTableStrategy: optionalCustom(
609
+ V1_serializeTempTableStrategy,
610
+ V1_deserializeTempTableStrategy,
611
+ ),
612
+ });
613
+
614
+ const relationalRootQueryTempTableGraphFetchExecutionNodeModelSchema =
615
+ createModelSchema(V1_RelationalRootQueryTempTableGraphFetchExecutionNode, {
616
+ _type: usingConstantValueSchema(
617
+ V1_ExecutionNodeType.RELATIONAL_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH,
618
+ ),
619
+ authDependent: optional(primitive()),
620
+ batchSize: optional(primitive()),
621
+ checked: primitive(),
622
+ children: customList(
623
+ V1_serializeExecutionNode,
624
+ V1_deserializeExecutionNode,
625
+ ),
626
+ columns: list(usingModelSchema(SQLResultColumnModelSchema)),
627
+ executionNodes: customList(
628
+ V1_serializeExecutionNode,
629
+ V1_deserializeExecutionNode,
630
+ ),
631
+ graphFetchTree: custom(
632
+ (val) => V1_serializeGraphFetchTree(val, []),
633
+ (val) => V1_deserializeGraphFetchTree(val, []),
634
+ ),
635
+ implementation: optional(
636
+ usingModelSchema(javaPlatformImplementationModelSchema),
637
+ ),
638
+ nodeIndex: primitive(),
639
+ processedTempTableName: optional(primitive()),
640
+ parentIndex: optional(primitive()),
641
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
642
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
643
+ tempTableName: primitive(),
644
+ tempTableStrategy: optionalCustom(
645
+ V1_serializeTempTableStrategy,
646
+ V1_deserializeTempTableStrategy,
647
+ ),
648
+ });
649
+
650
+ const relationalCrossRootQueryTempTableGraphFetchExecutionNodeModelSchema =
651
+ createModelSchema(
652
+ V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode,
653
+ {
654
+ _type: usingConstantValueSchema(
655
+ V1_ExecutionNodeType.RELATIONAL_CROSS_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH,
656
+ ),
657
+ authDependent: optional(primitive()),
658
+ parentTempTableStrategy: optionalCustom(
659
+ V1_serializeTempTableStrategy,
660
+ V1_deserializeTempTableStrategy,
661
+ ),
662
+ parentTempTableName: primitive(),
663
+ processedParentTempTableName: optional(primitive()),
664
+ parentTempTableColumns: list(
665
+ usingModelSchema(SQLResultColumnModelSchema),
666
+ ),
667
+ children: customList(
668
+ V1_serializeExecutionNode,
669
+ V1_deserializeExecutionNode,
670
+ ),
671
+ columns: list(usingModelSchema(SQLResultColumnModelSchema)),
672
+ executionNodes: customList(
673
+ V1_serializeExecutionNode,
674
+ V1_deserializeExecutionNode,
675
+ ),
676
+ graphFetchTree: custom(
677
+ (val) => V1_serializeGraphFetchTree(val, []),
678
+ (val) => V1_deserializeGraphFetchTree(val, []),
679
+ ),
680
+ implementation: optional(
681
+ usingModelSchema(javaPlatformImplementationModelSchema),
682
+ ),
683
+ nodeIndex: primitive(),
684
+ processedTempTableName: optional(primitive()),
685
+ parentIndex: optional(primitive()),
686
+ resultSizeRange: usingModelSchema(V1_multiplicityModelSchema),
687
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
688
+ tempTableName: primitive(),
689
+ tempTableStrategy: optionalCustom(
690
+ V1_serializeTempTableStrategy,
691
+ V1_deserializeTempTableStrategy,
692
+ ),
693
+ },
694
+ );
695
+
696
+ const pureExpressionPlatformExecutionNodeModelSchema = createModelSchema(
697
+ V1_PureExpressionPlatformExecutionNode,
698
+ {
699
+ _type: usingConstantValueSchema(
700
+ V1_ExecutionNodeType.PURE_EXPRESSION_PLATFORM,
701
+ ),
702
+ authDependent: optional(primitive()),
703
+ executionNodes: customList(
704
+ V1_serializeExecutionNode,
705
+ V1_deserializeExecutionNode,
706
+ ),
707
+ implementation: optional(
708
+ usingModelSchema(javaPlatformImplementationModelSchema),
709
+ ),
710
+ pure: raw(),
711
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
712
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
713
+ },
714
+ );
715
+
716
+ const inMemoryPropertyGraphFetchExecutionNodeModelSchema = createModelSchema(
717
+ V1_InMemoryPropertyGraphFetchExecutionNode,
718
+ {
719
+ _type: usingConstantValueSchema(
720
+ V1_ExecutionNodeType.IN_MEMORY_PROPERTY_GRAPH_FETCH,
721
+ ),
722
+ authDependent: optional(primitive()),
723
+ executionNodes: customList(
724
+ V1_serializeExecutionNode,
725
+ V1_deserializeExecutionNode,
726
+ ),
727
+ implementation: optional(
728
+ usingModelSchema(javaPlatformImplementationModelSchema),
729
+ ),
730
+ nodeIndex: primitive(),
731
+ parentIndex: optional(primitive()),
732
+ graphFetchTree: custom(
733
+ (val) => V1_serializeGraphFetchTree(val, []),
734
+ (val) => V1_deserializeGraphFetchTree(val, []),
735
+ ),
736
+ children: customList(
737
+ V1_serializeExecutionNode,
738
+ V1_deserializeExecutionNode,
739
+ ),
740
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
741
+ resultType: custom(V1_serializeResultType, V1_deserializeResultType),
742
+ },
743
+ );
744
+
745
+ const inMemoryRootGraphFetchExecutionNodeModelSchema = createModelSchema(
746
+ V1_InMemoryRootGraphFetchExecutionNode,
747
+ {
748
+ _type: usingConstantValueSchema(
749
+ V1_ExecutionNodeType.IN_MEMORY_ROOT_GRAPH_FETCH,
750
+ ),
751
+ authDependent: optional(primitive()),
752
+ executionNodes: customList(
753
+ V1_serializeExecutionNode,
754
+ V1_deserializeExecutionNode,
755
+ ),
756
+ implementation: optional(
757
+ usingModelSchema(javaPlatformImplementationModelSchema),
758
+ ),
759
+ nodeIndex: primitive(),
760
+ parentIndex: optional(primitive()),
761
+ graphFetchTree: custom(
762
+ (val) => V1_serializeGraphFetchTree(val, []),
763
+ (val) => V1_deserializeGraphFetchTree(val, []),
764
+ ),
765
+ children: customList(
766
+ V1_serializeExecutionNode,
767
+ V1_deserializeExecutionNode,
768
+ ),
769
+ batchSize: optional(primitive()),
770
+ checked: optional(primitive()),
771
+ filter: optional(primitive()),
772
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
240
773
  resultType: custom(V1_serializeResultType, V1_deserializeResultType),
241
774
  },
242
775
  );
@@ -253,6 +786,37 @@ export function V1_serializeExecutionNode(
253
786
  );
254
787
  } else if (protocol instanceof V1_SQLExecutionNode) {
255
788
  return serialize(SQLExecutionNodeModelSchema, protocol);
789
+ } else if (protocol instanceof V1_StoreMappingGlobalGraphFetchExecutionNode) {
790
+ return serialize(
791
+ storeMappingGlobalGraphFetchExecutionNodeModelSchema,
792
+ protocol,
793
+ );
794
+ } else if (protocol instanceof V1_GlobalGraphFetchExecutionNode) {
795
+ return serialize(globalGraphFetchExecutionNodeModelSchema, protocol);
796
+ } else if (
797
+ protocol instanceof
798
+ V1_RelationalCrossRootQueryTempTableGraphFetchExecutionNode
799
+ ) {
800
+ return serialize(
801
+ relationalCrossRootQueryTempTableGraphFetchExecutionNodeModelSchema,
802
+ protocol,
803
+ );
804
+ } else if (
805
+ protocol instanceof V1_RelationalRootQueryTempTableGraphFetchExecutionNode
806
+ ) {
807
+ return serialize(
808
+ relationalRootQueryTempTableGraphFetchExecutionNodeModelSchema,
809
+ protocol,
810
+ );
811
+ } else if (
812
+ protocol instanceof V1_RelationalClassQueryTempTableGraphFetchExecutionNode
813
+ ) {
814
+ return serialize(
815
+ relationalClassQueryTempTableGraphFetchExecutionNodeModelSchema,
816
+ protocol,
817
+ );
818
+ } else if (protocol instanceof V1_PureExpressionPlatformExecutionNode) {
819
+ return serialize(pureExpressionPlatformExecutionNodeModelSchema, protocol);
256
820
  } else if (protocol instanceof V1_FunctionParametersValidationNode) {
257
821
  return serialize(functionParametersValidationNodeModelSchema, protocol);
258
822
  } else if (protocol instanceof V1_AllocationExecutionNode) {
@@ -261,6 +825,13 @@ export function V1_serializeExecutionNode(
261
825
  return serialize(constantExecutionNodeModelSchema, protocol);
262
826
  } else if (protocol instanceof V1_SequenceExecutionNode) {
263
827
  return serialize(sequenceExecutionNodeModelSchema, protocol);
828
+ } else if (protocol instanceof V1_InMemoryRootGraphFetchExecutionNode) {
829
+ return serialize(inMemoryRootGraphFetchExecutionNodeModelSchema, protocol);
830
+ } else if (protocol instanceof V1_InMemoryPropertyGraphFetchExecutionNode) {
831
+ return serialize(
832
+ inMemoryPropertyGraphFetchExecutionNodeModelSchema,
833
+ protocol,
834
+ );
264
835
  }
265
836
  throw new UnsupportedOperationError(
266
837
  `Can't serialize execution node`,
@@ -271,12 +842,13 @@ export function V1_serializeExecutionNode(
271
842
  const V1_INTERNAL__UnknownExecutionNodeModelSchema = createModelSchema(
272
843
  V1_INTERNAL__UnknownExecutionNode,
273
844
  {
845
+ authDependent: optional(primitive()),
274
846
  executionNodes: customList(
275
847
  V1_serializeExecutionNode,
276
848
  V1_deserializeExecutionNode,
277
849
  ),
278
850
  implementation: raw(),
279
- resultSizeRange: usingModelSchema(V1_multiplicityModelSchema),
851
+ resultSizeRange: optional(usingModelSchema(V1_multiplicityModelSchema)),
280
852
  resultType: custom(V1_serializeResultType, V1_deserializeResultType),
281
853
  },
282
854
  );
@@ -292,6 +864,30 @@ export function V1_deserializeExecutionNode(
292
864
  );
293
865
  case V1_ExecutionNodeType.SQL:
294
866
  return deserialize(SQLExecutionNodeModelSchema, json);
867
+ case V1_ExecutionNodeType.STORE_MAPPING_GLOBAL_GRAPH_FETCH:
868
+ return deserialize(
869
+ storeMappingGlobalGraphFetchExecutionNodeModelSchema,
870
+ json,
871
+ );
872
+ case V1_ExecutionNodeType.GLOBAL_GRAPH_FETCH:
873
+ return deserialize(globalGraphFetchExecutionNodeModelSchema, json);
874
+ case V1_ExecutionNodeType.RELATIONAL_CROSS_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH:
875
+ return deserialize(
876
+ relationalCrossRootQueryTempTableGraphFetchExecutionNodeModelSchema,
877
+ json,
878
+ );
879
+ case V1_ExecutionNodeType.RELATIONAL_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH:
880
+ return deserialize(
881
+ relationalRootQueryTempTableGraphFetchExecutionNodeModelSchema,
882
+ json,
883
+ );
884
+ case V1_ExecutionNodeType.RELATIONAL_CLASS_QUERY_TEMP_TABLE_GRAPH_FETCH:
885
+ return deserialize(
886
+ relationalClassQueryTempTableGraphFetchExecutionNodeModelSchema,
887
+ json,
888
+ );
889
+ case V1_ExecutionNodeType.PURE_EXPRESSION_PLATFORM:
890
+ return deserialize(pureExpressionPlatformExecutionNodeModelSchema, json);
295
891
  case V1_ExecutionNodeType.FUNCTION_PARAMETERS_VALIDATION:
296
892
  return deserialize(functionParametersValidationNodeModelSchema, json);
297
893
  case V1_ExecutionNodeType.ALLOCATION:
@@ -300,6 +896,13 @@ export function V1_deserializeExecutionNode(
300
896
  return deserialize(constantExecutionNodeModelSchema, json);
301
897
  case V1_ExecutionNodeType.SEQUENCE:
302
898
  return deserialize(sequenceExecutionNodeModelSchema, json);
899
+ case V1_ExecutionNodeType.IN_MEMORY_ROOT_GRAPH_FETCH:
900
+ return deserialize(inMemoryRootGraphFetchExecutionNodeModelSchema, json);
901
+ case V1_ExecutionNodeType.IN_MEMORY_PROPERTY_GRAPH_FETCH:
902
+ return deserialize(
903
+ inMemoryPropertyGraphFetchExecutionNodeModelSchema,
904
+ json,
905
+ );
303
906
  default: {
304
907
  // Fall back to create unknown stub if not supported
305
908
  const protocol = deserialize(
@@ -319,27 +922,11 @@ export enum V1_ExecutionPlanType {
319
922
  COMPOSITE = 'composite',
320
923
  }
321
924
 
322
- const javaClassModelSchema = createModelSchema(V1_JavaClass, {
323
- package: primitive(),
324
- name: primitive(),
325
- source: primitive(),
326
- byteCode: optional(primitive()),
327
- });
328
-
329
- const javaPlatformImplementationModelSchema = createModelSchema(
330
- V1_JavaPlatformImplementation,
331
- {
332
- _type: usingConstantValueSchema(V1_PlatformImplementationType.JAVA),
333
- classes: list(usingModelSchema(javaClassModelSchema)),
334
- executionClassFullName: optional(primitive()),
335
- executionMethodName: optional(primitive()),
336
- },
337
- );
338
925
  const SimpleExecutionPlanModelSchema = createModelSchema(
339
926
  V1_SimpleExecutionPlan,
340
927
  {
341
928
  _type: usingConstantValueSchema(V1_ExecutionPlanType.SINGLE),
342
- authDependent: primitive(),
929
+ authDependent: optional(primitive()),
343
930
  globalImplementationSupport: optional(
344
931
  usingModelSchema(javaPlatformImplementationModelSchema),
345
932
  ),