| 130 | } |
| 131 | |
| 132 | static std::vector<PropertyInfo> getNodePropertyInfos(NodeTableCatalogEntry* entry) { |
| 133 | std::vector<PropertyInfo> infos; |
| 134 | auto primaryKeyName = entry->getPrimaryKeyName(); |
| 135 | for (auto& def : entry->getProperties()) { |
| 136 | auto info = getInfo(def); |
| 137 | info.propertyID = entry->getPropertyID(def.getName()); |
| 138 | info.extraInfo = std::make_unique<ExtraNodePropertyInfo>(primaryKeyName == def.getName()); |
| 139 | infos.push_back(std::move(info)); |
| 140 | } |
| 141 | return infos; |
| 142 | } |
| 143 | |
| 144 | static std::vector<PropertyInfo> getRelPropertyInfos(RelGroupCatalogEntry* entry) { |
| 145 | std::vector<PropertyInfo> infos; |
no test coverage detected