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

Method appendInputs

bolt/expression/Expr.cpp:1710–1721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1708 std::vector<VectorPtr>* complexConstants) const {
1709 if (!inputs_.empty()) {
1710 stream << "(";
1711 for (auto i = 0; i < inputs_.size(); ++i) {
1712 if (i > 0) {
1713 stream << ", ";
1714 }
1715 stream << inputs_[i]->toSql(complexConstants);
1716 }
1717 stream << ")";
1718 } else if (vectorFunction_ != nullptr) {
1719 // Function with no inputs.
1720 stream << "()";
1721 }
1722}
1723
1724bool Expr::isConstant() const {

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected