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

Options for NYT::ICypressClient::Create. More...

#include <client_method_options.h>

Inheritance diagram for NYT::TCreateOptions:
NYT::TPrerequisiteOptions< TCreateOptions > NYT::TPrerequisiteRevisionsOptions< TCreateOptions > NYT::TPrerequisiteTransactionsOptions< TCreateOptions >

Public Member Functions

TSelf & Recursive (bool)
 Create missing parent directories if required.
TSelf & IgnoreExisting (bool)
 Do not raise error if node already exists.
TSelf & IgnoreTypeMismatch (bool)
 Ignore type mismatch with existing node.
TSelf & Force (bool)
 Recreate node if it exists.
TSelf & Attributes (TNode)
 Set node attributes.
Public Member Functions inherited from NYT::TPrerequisiteRevisionsOptions< TCreateOptions >
 FLUENT_VECTOR_FIELD (TPrerequisiteRevision, PrerequisiteRevision)
 Cypress nodes whose current revisions must match the expected ones.
Public Member Functions inherited from NYT::TPrerequisiteTransactionsOptions< TCreateOptions >
 FLUENT_VECTOR_FIELD (TTransactionId, PrerequisiteTransactionId)
 Transactions that must be alive.

Detailed Description

Member Function Documentation

◆ Force()

TSelf & NYT::TCreateOptions::Force ( bool )

Recreate node if it exists.

Force and IgnoreExisting MUST NOT be used simultaneously.

◆ IgnoreExisting()

TSelf & NYT::TCreateOptions::IgnoreExisting ( bool )

Do not raise error if node already exists.

Node is not recreated. Force and IgnoreExisting MUST NOT be used simultaneously.

◆ IgnoreTypeMismatch()

TSelf & NYT::TCreateOptions::IgnoreTypeMismatch ( bool )

Ignore type mismatch with existing node.

Only valid when IgnoreExisting=true.


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