C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TVanillaTask Struct Reference

Task of Vanilla operation. More...

#include <operation.h>

Inheritance diagram for NYT::TVanillaTask:
NYT::TOperationOutputSpecBase NYT::TUserJobOutputFormatHintsBase< TVanillaTask >

Public Member Functions

template<class T>
TSelf & AddOutput (const TRichYPath &path)
 Add output table path and specify the task output type (i.e. TMyProtoMessage).
TSelf & AddStructuredOutput (TStructuredTablePath path)
 Add output table path as structured path.
template<class T>
TSelf & SetOutput (size_t tableIndex, const TRichYPath &path)
 Set output table path and specify the task output type (i.e. TMyProtoMessage).
TSelf & Name (TString)
 Task name.
TSelf & Job (::TIntrusivePtr< IVanillaJobBase >)
 Job to be executed in this task.
TSelf & Spec (TUserJobSpec)
 User job spec.
TSelf & JobCount (ui64)
 Number of jobs to run and wait for successful completion.
TSelf & NetworkProject (TMaybe< TString >)
 Network project name.
Public Member Functions inherited from NYT::TOperationOutputSpecBase
template<class T>
void AddOutput (const TRichYPath &path)
 Add output table path to output path list and specify type of rows.
void AddStructuredOutput (TStructuredTablePath path)
 Add output table path as structured paths.
template<class T>
void SetOutput (size_t tableIndex, const TRichYPath &path)
 Set output table path and type.
const TVector< TStructuredTablePath > & GetStructuredOutputs () const
 Get all output structured paths.
Public Member Functions inherited from NYT::TUserJobOutputFormatHintsBase< TVanillaTask >
TSelf & OutputFormatHints (TFormatHints)
 Fine tune output format of the job.

Additional Inherited Members

Public Attributes inherited from NYT::TOperationOutputSpecBase
TVector< TRichYPath > Outputs_
 All output paths.

Detailed Description

Member Function Documentation

◆ JobCount()

TSelf & NYT::TVanillaTask::JobCount ( ui64 )

Number of jobs to run and wait for successful completion.

Note
If NYT::TUserOperationSpecBase::FailOnJobRestart is false, a failed job will be restarted and will not count in this amount.

The documentation for this struct was generated from the following file: