MCPcopy Create free account
hub / github.com/bytedance/bolt / addSortingKeys

Function addSortingKeys

bolt/core/PlanNode.cpp:252–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250 }
251 }
252}
253
254void addSortingKeys(
255 const std::vector<FieldAccessTypedExprPtr>& sortingKeys,
256 const std::vector<SortOrder>& sortingOrders,
257 std::stringstream& stream) {
258 for (auto i = 0; i < sortingKeys.size(); ++i) {
259 appendComma(i, stream);
260 stream << sortingKeys[i]->name() << " " << sortingOrders[i].toString();
261 }
262}
263} // namespace

Callers 1

addDetailsMethod · 0.85

Calls 4

appendCommaFunction · 0.70
sizeMethod · 0.45
nameMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected