MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / ser_des_array_schema

Method ser_des_array_schema

test/src/unit-enumerations.cc:3006–3015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3004#ifdef TILEDB_SERIALIZATION
3005
3006shared_ptr<ArraySchema> EnumerationFx::ser_des_array_schema(
3007 shared_ptr<const ArraySchema> schema,
3008 bool client_side,
3009 SerializationType stype) {
3010 SerializationBuffer buf{tiledb::test::get_test_memory_tracker()->get_resource(
3011 MemoryType::SERIALIZATION_BUFFER)};
3012 throw_if_not_ok(serialization::array_schema_serialize(
3013 *(schema.get()), stype, buf, client_side));
3014 return serialization::array_schema_deserialize(stype, buf, memory_tracker_);
3015}
3016
3017shared_ptr<ArraySchemaEvolution> EnumerationFx::ser_des_array_schema_evolution(
3018 ArraySchemaEvolution* ase, bool client_side, SerializationType stype) {

Callers

nothing calls this directly

Calls 6

get_test_memory_trackerFunction · 0.85
throw_if_not_okFunction · 0.85
array_schema_serializeFunction · 0.85
array_schema_deserializeFunction · 0.85
get_resourceMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected