Files
scylladb/cql3/selection/selector.cc
Avi Kivity 8c60bf0495 cql3: move some selector.hh code to .cc
Breaks cyclic dependencies on column_identifier.
2015-04-05 16:07:31 +03:00

25 lines
445 B
C++

/*
* Copyright (C) 2015 Cloudius Systems, Ltd.
*/
#include "selector.hh"
#include "cql3/column_identifier.hh"
namespace cql3 {
namespace selection {
::shared_ptr<column_specification>
selector::factory::get_column_specification(schema_ptr schema) {
return ::make_shared<column_specification>(schema->ks_name,
schema->cf_name,
::make_shared<column_identifier>(column_name(), true),
get_return_type());
}
}
}