MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getType

Method getType

base/poco/Redis/src/Array.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50int Array::getType(size_t pos) const
51{
52 if (_elements.isNull()) throw NullValueException();
53
54 if (pos >= _elements.value().size()) throw InvalidArgumentException();
55
56 RedisType::Ptr element = _elements.value().at(pos);
57 return element->type();
58}
59
60
61std::string Array::toString() const

Callers 1

setAttributesMethod · 0.45

Calls 5

isNullMethod · 0.45
sizeMethod · 0.45
valueMethod · 0.45
atMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected