20#include "ignite/common/detail/config.h"
21#include "ignite/client/network/cluster_node.h"
22#include "ignite/client/table/qualified_name.h"
23#include "ignite/client/detail/compute/job_target_type.h"
41 virtual ~job_target() =
default;
55 [[nodiscard]] IGNITE_API
static std::shared_ptr<job_target>
any_node(std::set<cluster_node> nodes);
62 [[nodiscard]] IGNITE_API
static std::shared_ptr<job_target>
any_node(
const std::vector<cluster_node> &nodes);
70 [[nodiscard]] IGNITE_API
static std::shared_ptr<job_target>
colocated(std::string_view table_name,
const ignite_tuple &key);
82 job_target() =
default;
89 [[nodiscard]]
virtual detail::job_target_type
get_type()
const = 0;
Definition cluster_node.h:30
Definition ignite_tuple.h:40
Definition job_target.h:37
static IGNITE_API std::shared_ptr< job_target > node(cluster_node node)
Definition job_target.cpp:27
static IGNITE_API std::shared_ptr< job_target > colocated(std::string_view table_name, const ignite_tuple &key)
Definition job_target.cpp:44
static IGNITE_API std::shared_ptr< job_target > any_node(std::set< cluster_node > nodes)
Definition job_target.cpp:31
virtual detail::job_target_type get_type() const =0
Definition qualified_name.h:40