47 explicit TmpTable(std::string_view definition);
48 TmpTable(ClusterWrapper& cluster, std::string_view definition);
51 template <
typename... Args>
52 std::string FormatWithTableName(std::string_view source,
const Args&... args)
const;
54 template <
typename... Args>
55 StatementResultSet DefaultExecute(std::string_view source,
const Args&... args);
57 ClusterWrapper& GetCluster()
const;
61 engine::Deadline GetDeadline()
const;
64 static constexpr std::string_view kCreateTableQueryTemplate =
"CREATE TABLE {} ({})";
66 void CreateTable(std::string_view definition);
68 std::optional<ClusterWrapper> owned_cluster_;
69 ClusterWrapper& cluster_;
70 std::string table_name_;