/* */ /* * Copyright (C) 2015-present ScyllaDB * * Modified by ScyllaDB */ /* * SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0) */ #pragma once #include #include #include "schema_fwd.hh" #include "query-result.hh" #include "query-request.hh" #include "service/query_state.hh" #include "cql3/selection/selection.hh" #include "cql3/query_options.hh" #include "query_pager.hh" namespace service { class storage_proxy; namespace pager { class query_pagers { public: static bool may_need_paging(const schema& s, uint32_t page_size, const query::read_command&, const dht::partition_range_vector&); static std::unique_ptr pager(service::storage_proxy& p, schema_ptr, shared_ptr, service::query_state&, const cql3::query_options&, lw_shared_ptr, dht::partition_range_vector, ::shared_ptr filtering_restrictions = nullptr); }; } }