Apache Ignite C++ Client
Loading...
Searching...
No Matches
ignite::job_target Class Referenceabstract

#include <job_target.h>

Static Public Member Functions

static IGNITE_API std::shared_ptr< job_targetnode (cluster_node node)
static IGNITE_API std::shared_ptr< job_targetany_node (std::set< cluster_node > nodes)
static IGNITE_API std::shared_ptr< job_targetany_node (const std::vector< cluster_node > &nodes)
static IGNITE_API std::shared_ptr< job_targetcolocated (std::string_view table_name, const ignite_tuple &key)
static IGNITE_API std::shared_ptr< job_targetcolocated (qualified_name table_name, const ignite_tuple &key)

Protected Member Functions

virtual detail::job_target_type get_type () const =0

Friends

class compute

Detailed Description

Job execution target.

Member Function Documentation

◆ any_node() [1/2]

std::shared_ptr< job_target > ignite::job_target::any_node ( const std::vector< cluster_node > & nodes)
staticnodiscard

Create a multiple node job target.

Parameters
nodesNodes.

◆ any_node() [2/2]

std::shared_ptr< job_target > ignite::job_target::any_node ( std::set< cluster_node > nodes)
staticnodiscard

Create a multiple node job target.

Parameters
nodesNodes.

◆ colocated() [1/2]

std::shared_ptr< job_target > ignite::job_target::colocated ( qualified_name table_name,
const ignite_tuple & key )
staticnodiscard

Creates a colocated job target for a specific table and key.

Parameters
table_nameTable name.
keyKey.

◆ colocated() [2/2]

std::shared_ptr< job_target > ignite::job_target::colocated ( std::string_view table_name,
const ignite_tuple & key )
staticnodiscard

Creates a colocated job target for a specific table and key.

Parameters
table_nameTable name.
keyKey.

◆ get_type()

virtual detail::job_target_type ignite::job_target::get_type ( ) const
nodiscardprotectedpure virtual

Get the job type.

Returns
Job type.

◆ node()

std::shared_ptr< job_target > ignite::job_target::node ( cluster_node node)
staticnodiscard

Create a single node job target.

Parameters
nodeNode.

The documentation for this class was generated from the following files: