MCPcopy Create free account
hub / github.com/apache/impala / CollectionValueToJSON

Method CollectionValueToJSON

be/src/runtime/complex-value-writer.inline.h:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229template <class JsonStream>
230void ComplexValueWriter<JsonStream>::CollectionValueToJSON(
231 const CollectionValue& collection_value, PrimitiveType collection_type,
232 const TupleDescriptor* item_tuple_desc) {
233 if (collection_type == PrimitiveType::TYPE_MAP) {
234 MapValueToJSON(collection_value, item_tuple_desc);
235 } else {
236 DCHECK_EQ(collection_type, PrimitiveType::TYPE_ARRAY);
237 ArrayValueToJSON(collection_value, item_tuple_desc);
238 }
239}
240
241template <class JsonStream>
242void ComplexValueWriter<JsonStream>::StructValToJSON(const StructVal& struct_val,

Callers 2

FOREACH_ROW_LIMITFunction · 0.80
PrintComplexValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected