MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / get_attribute_quantity

Function get_attribute_quantity

nanofi/src/api/nanofi.cpp:413–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413int get_attribute_quantity(const flow_file_record *ff) {
414 NULL_CHECK(0, ff);
415 NULL_CHECK(0, ff->attributes);
416 auto attribute_map = static_cast<AttributeMap*>(ff->attributes);
417 return attribute_map ? attribute_map->size() : 0;
418}
419
420int get_all_attributes(const flow_file_record* ff, attribute_set *target) {
421 NULL_CHECK(0, ff, target);

Callers 3

failure_counterFunction · 0.85
CAPITests.cppFile · 0.85

Calls 1

sizeMethod · 0.45

Tested by 1

failure_counterFunction · 0.68