37 lines
558 B
C++
37 lines
558 B
C++
/*
|
|
* Copyright (C) 2015-present ScyllaDB
|
|
*
|
|
* Modified by ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
#include "query-request.hh"
|
|
#include "types/types.hh"
|
|
#include "schema/schema_fwd.hh"
|
|
#include "counters.hh"
|
|
#include "cql3/expr/expression.hh"
|
|
|
|
namespace cql3 {
|
|
|
|
namespace selection {
|
|
|
|
|
|
// An entry in the SELECT clause.
|
|
struct prepared_selector {
|
|
expr::expression expr;
|
|
::shared_ptr<column_identifier> alias;
|
|
};
|
|
|
|
bool processes_selection(const prepared_selector&);
|
|
|
|
|
|
}
|
|
|
|
}
|