C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::ICommandJob Class Referenceabstract

Interface of jobs that run the given bash command. More...

#include <operation.h>

Inheritance diagram for NYT::ICommandJob:
NYT::IJob NYT::TCommandRawJob NYT::TCommandVanillaJob

Public Member Functions

virtual const TString & GetCommand () const =0
 Get bash command to run.
Public Member Functions inherited from NYT::IJob
virtual void Save (IOutputStream &stream) const
 Save job state to stream to be restored on cluster nodes.
virtual void Load (IInputStream &stream)
 Restore job state from a stream.
const TNode & SecureVault () const
 Get operation secure vault (specified in NYT::TOperationOptions::SecureVault) inside a job.
i64 GetOutputTableCount () const
 Get number of output tables.
virtual void PrepareOperation (const IOperationPreparationContext &context, TJobOperationPreparer &preparer) const
 Method allowing user to control some properties of input and output tables and formats.

Additional Inherited Members

Public Types inherited from NYT::IJob
enum  EType {
  Mapper , Reducer , ReducerAggregator , RawJob ,
  VanillaJob
}
 Type of job.

Detailed Description

Interface of jobs that run the given bash command.

Member Function Documentation

◆ GetCommand()

virtual const TString & NYT::ICommandJob::GetCommand ( ) const
pure virtual

Get bash command to run.

Note
This method is called on the client side.

Implemented in NYT::TCommandRawJob, and NYT::TCommandVanillaJob.


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