Converts the TileDB C query type to a string representation. */
| 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(); |
no outgoing calls
no test coverage detected