C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TOperationSpecBase< TDerived > Struct Template Reference

Base spec for all operations. More...

#include <operation.h>

Inheritance diagram for NYT::TOperationSpecBase< TDerived >:
NYT::TUserOperationSpecBase< TDerived > NYT::TJoinReduceOperationSpecBase< TDerived > NYT::TMapOperationSpecBase< TDerived > NYT::TMapReduceOperationSpecBase< TDerived > NYT::TReduceOperationSpecBase< TDerived >

Public Member Functions

TSelf & TimeLimit (TDuration)
 Limit on operation execution time.
TSelf & Alias (TString)
 Alias for searching for an operation in the future.
TSelf & Title (TString)
 Title to be shown in web interface.
TSelf & Pool (TString)
 Pool to be used for this operation.
TSelf & Weight (double)
 Weight of operation.
 FLUENT_OPTIONAL_VECTOR_FIELD_ENCAPSULATED (TString, PoolTree)
 Pool tree list that operation will use.
 FLUENT_FIELD_OPTION_ENCAPSULATED (TSchedulerResources, ResourceLimits)
 How much resources can be consumed by operation.
TSelf & MaxFailedJobCount (ui64)
 How many jobs can fail before operation is failed.
TSelf & Annotations (TNode)
TSelf & Description (TNode)

Detailed Description

template<class TDerived>
struct NYT::TOperationSpecBase< TDerived >

Base spec for all operations.

See also
https://ytsaurus.tech/docs/en/user-guide/data-processing/operations/operations_options

Member Function Documentation

◆ TimeLimit()

template<class TDerived>
TSelf & NYT::TOperationSpecBase< TDerived >::TimeLimit ( TDuration )

Limit on operation execution time.

If operation doesn't finish in time it will be aborted.

◆ Weight()

template<class TDerived>
TSelf & NYT::TOperationSpecBase< TDerived >::Weight ( double )

Weight of operation.

Coefficient defining how much resources operation gets relative to its siblings in the same pool.


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