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

Method to_str

tiledb/sm/cpp_api/query.h:1066–1080  ·  view source on GitHub ↗

Converts the TileDB C query type to a string representation. */

Source from the content-addressed store, hash-verified

1064
1065 /** Converts the TileDB C query type to a string representation. */
1066 static std::string to_str(tiledb_query_type_t type) {
1067 switch (type) {
1068 case TILEDB_READ:
1069 return "READ";
1070 case TILEDB_WRITE:
1071 return "WRITE";
1072 case TILEDB_MODIFY_EXCLUSIVE:
1073 return "MODIFY_EXCLUSIVE";
1074 case TILEDB_DELETE:
1075 return "DELETE";
1076 case TILEDB_UPDATE:
1077 return "UPDATE";
1078 }
1079 return ""; // silence error
1080 }
1081
1082 const Context& ctx() const {
1083 return ctx_.get();

Callers 4

enumeration_nameMethod · 0.45
nameMethod · 0.45
fmtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected