Searched refs:primary_keys (Results 1 – 5 of 5) sorted by relevance
26 std::vector<std::string> primary_keys) in StorageSchema() argument27 : columns_(std::move(columns)), primary_keys_(std::move(primary_keys)) {} in StorageSchema()35 std::vector<size_t> primary_keys; in ToTableSchema() local37 primary_keys.emplace_back(ColumnIndexFromName(p_key)); in ToTableSchema()38 return Table::Schema(std::move(columns), std::move(primary_keys)); in ToTableSchema()
95 StorageSchema Build(std::vector<std::string> primary_keys) { in Build() argument96 return StorageSchema(std::move(columns_), std::move(primary_keys)); in Build()104 StorageSchema(Columns columns, std::vector<std::string> primary_keys);
159 std::vector<size_t> primary_keys) in Schema() argument160 : columns_(std::move(columns)), primary_keys_(std::move(primary_keys)) { in Schema()
119 Schema(std::vector<Column>, std::vector<size_t> primary_keys);128 const std::vector<size_t> primary_keys() { return primary_keys_; } in primary_keys() function
141 std::vector<size_t> primary_keys = {Column::kTimestamp}; in Init() local143 primary_keys.push_back(Column::kPartition); in Init()144 return Schema(cols, primary_keys); in Init()