Documentation ¶
Index ¶
- Constants
- Variables
- func DataplaneExecutablePath(cluster, revision string) ypath.Path
- func DataplaneVersion() (string, bool)
- func FallbackBytesAsStringGoType(ci *abstract.ChangeItem, cache map[string]*abstract.TableSchema) (*abstract.ChangeItem, error)
- func InitExe()
- func Merge(ctx context.Context, cypressClient yt.CypressClient, mrClient mapreduce.Client, ...) error
- func MountAndWaitRecursive(ctx context.Context, logger log.Logger, client yt.Client, path ypath.Path, ...) error
- func MoveAndMount(ctx context.Context, logger log.Logger, client yt.Client, ...) error
- func NewTmpCleaner(dst YtDestinationModel, logger log.Logger) (providers.Cleaner, error)
- func ParseYtSpec(jsonStr string, spec *map[string]interface{}) error
- func SafeChild(path ypath.Path, children ...string) ypath.Path
- func TXOptions(txID yt.TxID) *yt.TransactionOptions
- func UnmountAndWaitRecursive(ctx context.Context, logger log.Logger, client yt.Client, path ypath.Path, ...) error
- func WaitMountingPreloadState(yc yt.Client, path ypath.Path) error
- func WithTx(ctx context.Context, client yt.Client, ...) error
- func YTColumnToColSchema(columns []schema.Column) *abstract.TableSchema
- type ConnectionData
- type HandleParams
- type LfStagingDestination
- func (d *LfStagingDestination) CleanupMode() server.CleanupType
- func (d *LfStagingDestination) GetProviderType() abstract.ProviderType
- func (LfStagingDestination) IsDestination()
- func (d *LfStagingDestination) Transformer() map[string]string
- func (d *LfStagingDestination) Validate() error
- func (d *LfStagingDestination) WithDefaults()
- type NodeAttrs
- type NodeInfo
- func GetNodeInfo(ctx context.Context, client yt.CypressClient, path ypath.Path) (*NodeInfo, error)
- func ListNodesWithAttrs(ctx context.Context, client yt.CypressClient, path ypath.Path, prefix string, ...) ([]*NodeInfo, error)
- func NewNodeInfo(name string, path ypath.Path, attrs *NodeAttrs) *NodeInfo
- type YTSpec
- type YtCopyDestination
- func (y *YtCopyDestination) CleanupMode() server.CleanupType
- func (y *YtCopyDestination) CompressionCodec() yt.ClientCompressionCodec
- func (y *YtCopyDestination) DisableProxyDiscovery() bool
- func (y *YtCopyDestination) GetProviderType() abstract.ProviderType
- func (y *YtCopyDestination) IsDestination()
- func (y *YtCopyDestination) Proxy() string
- func (y *YtCopyDestination) SupportMultiThreads() bool
- func (y *YtCopyDestination) SupportMultiWorkers() bool
- func (y *YtCopyDestination) Token() string
- func (y *YtCopyDestination) Transformer() map[string]string
- func (y *YtCopyDestination) Validate() error
- func (y *YtCopyDestination) WithDefaults()
- type YtDestination
- type YtDestinationModel
- type YtDestinationWrapper
- func (d *YtDestinationWrapper) AllowAlter()
- func (d *YtDestinationWrapper) AllowReupload() bool
- func (d *YtDestinationWrapper) AltNames() map[string]string
- func (d *YtDestinationWrapper) Atomicity() yt.Atomicity
- func (d *YtDestinationWrapper) AutoFlushPeriod() int
- func (d *YtDestinationWrapper) BufferTriggingInterval() time.Duration
- func (d *YtDestinationWrapper) BufferTriggingSize() uint64
- func (d *YtDestinationWrapper) BuffererConfig() bufferer.BuffererConfig
- func (d *YtDestinationWrapper) CanAlter() bool
- func (d *YtDestinationWrapper) CellBundle() string
- func (d *YtDestinationWrapper) ChunkSize() uint32
- func (d *YtDestinationWrapper) CleanupMode() server.CleanupType
- func (d *YtDestinationWrapper) Cluster() string
- func (d *YtDestinationWrapper) CompressionCodec() yt.ClientCompressionCodec
- func (d *YtDestinationWrapper) CustomAttributes() map[string]any
- func (d *YtDestinationWrapper) DisableDatetimeHack() bool
- func (d *YtDestinationWrapper) DisableProxyDiscovery() bool
- func (d *YtDestinationWrapper) DiscardBigValues() bool
- func (d *YtDestinationWrapper) EnsureCustomTmpPolicySupported() error
- func (d *YtDestinationWrapper) EnsureTmpPolicySupported() error
- func (d *YtDestinationWrapper) GetConnectionData() ConnectionData
- func (d *YtDestinationWrapper) GetProviderType() abstract.ProviderType
- func (d *YtDestinationWrapper) GetTableAltName(table string) string
- func (d *YtDestinationWrapper) HashColumn() string
- func (d *YtDestinationWrapper) Index() []string
- func (d *YtDestinationWrapper) InitialTabletCount() uint32
- func (YtDestinationWrapper) IsDestination()
- func (d *YtDestinationWrapper) LegacyModel() interface{}
- func (d *YtDestinationWrapper) LoseDataOnError() bool
- func (d *YtDestinationWrapper) MarshalJSON() ([]byte, error)
- func (d *YtDestinationWrapper) MergeAttributes(tableSettings map[string]any) map[string]any
- func (d *YtDestinationWrapper) NeedArchive() bool
- func (d *YtDestinationWrapper) NoBan() bool
- func (d *YtDestinationWrapper) OptimizeFor() string
- func (d *YtDestinationWrapper) Ordered() bool
- func (d *YtDestinationWrapper) Params() string
- func (d *YtDestinationWrapper) Path() string
- func (d *YtDestinationWrapper) Pool() string
- func (d *YtDestinationWrapper) PostSnapshotHacks()
- func (d *YtDestinationWrapper) PreSnapshotHacks()
- func (d *YtDestinationWrapper) PrimaryMedium() string
- func (d *YtDestinationWrapper) Proxy() string
- func (d *YtDestinationWrapper) PushWal() bool
- func (d *YtDestinationWrapper) Rotation() *server.RotatorConfig
- func (d *YtDestinationWrapper) SetIndex(index []string)
- func (d *YtDestinationWrapper) SetOrdered()
- func (d *YtDestinationWrapper) SetParams(jsonStr string) error
- func (d *YtDestinationWrapper) SetSnapshotLoad()
- func (d *YtDestinationWrapper) SetStaticTable()
- func (d *YtDestinationWrapper) SortedStatic() bool
- func (d *YtDestinationWrapper) Spec() *YTSpec
- func (d *YtDestinationWrapper) Static() bool
- func (d *YtDestinationWrapper) StaticChunkSize() int
- func (d *YtDestinationWrapper) SupportSharding() bool
- func (d *YtDestinationWrapper) TTL() int64
- func (d *YtDestinationWrapper) TabletCount() int
- func (d *YtDestinationWrapper) TimeShardCount() int
- func (d *YtDestinationWrapper) ToStorageParams() *YtStorageParams
- func (d *YtDestinationWrapper) Token() string
- func (d *YtDestinationWrapper) TolerateKeyChanges() bool
- func (d *YtDestinationWrapper) Transformer() map[string]string
- func (d *YtDestinationWrapper) UnmarshalJSON(data []byte) error
- func (d *YtDestinationWrapper) UseStaticTableOnSnapshot() bool
- func (d *YtDestinationWrapper) Validate() error
- func (d *YtDestinationWrapper) VersionColumn() string
- func (d *YtDestinationWrapper) WithDefaults()
- func (d *YtDestinationWrapper) WriteTimeoutSec() uint32
- type YtSource
- func (s *YtSource) ConnParams() ytclient.ConnParams
- func (s *YtSource) GetProviderType() abstract.ProviderType
- func (s *YtSource) IsAbstract2(server.Destination) bool
- func (s *YtSource) IsAsyncShardPartsSource()
- func (s *YtSource) IsSource()
- func (s *YtSource) IsStrictSource()
- func (s *YtSource) RowIdxEnabled() bool
- func (s *YtSource) Validate() error
- func (s *YtSource) WithDefaults()
- type YtStorageParams
Constants ¶
View Source
const ( TableProgressRelativePath = abstract.TableLSN // "__data_transfer_lsn" TableWAL = "__wal" ProviderType = abstract.ProviderType("yt") StagingType = abstract.ProviderType("lfstaging") CopyType = abstract.ProviderType("ytcopy") )
Variables ¶
View Source
var (
ExePath ypath.Path
)
Functions ¶
func DataplaneExecutablePath ¶
func DataplaneVersion ¶
func FallbackBytesAsStringGoType ¶
func FallbackBytesAsStringGoType(ci *abstract.ChangeItem, cache map[string]*abstract.TableSchema) (*abstract.ChangeItem, error)
func MountAndWaitRecursive ¶
func MoveAndMount ¶
func NewTmpCleaner ¶
func ParseYtSpec ¶
func SafeChild ¶
SafeChild appends children to path. It works like path.Child(child) with exceptions. this method assumes:
- ypath object is correct, i.e. no trailing path delimiter symbol exists
This method guarantees:
- YPath with appended children has deduplicated path delimiters in appended string and no trailing path delimiter would be presented.
- TODO(@kry127) TM-6290 not yet guaranteed, but nice to have: special symbols should be replaced
func UnmountAndWaitRecursive ¶
func YTColumnToColSchema ¶
func YTColumnToColSchema(columns []schema.Column) *abstract.TableSchema
Types ¶
type ConnectionData ¶
type HandleParams ¶
type HandleParams struct {
ConcurrencyLimit int64
}
func NewHandleParams ¶
func NewHandleParams(concurrencyLimit int64) *HandleParams
type LfStagingDestination ¶
type LfStagingDestination struct { Cluster string Topic string YtAccount string LogfellerHomePath string TmpBasePath string AggregationPeriod time.Duration SecondsPerTmpTable int64 BytesPerTmpTable int64 YtToken string UsePersistentIntermediateTables bool UseNewMetadataFlow bool MergeYtPool string }
func (*LfStagingDestination) CleanupMode ¶
func (d *LfStagingDestination) CleanupMode() server.CleanupType
func (*LfStagingDestination) GetProviderType ¶
func (d *LfStagingDestination) GetProviderType() abstract.ProviderType
func (LfStagingDestination) IsDestination ¶
func (LfStagingDestination) IsDestination()
func (*LfStagingDestination) Transformer ¶
func (d *LfStagingDestination) Transformer() map[string]string
func (*LfStagingDestination) Validate ¶
func (d *LfStagingDestination) Validate() error
func (*LfStagingDestination) WithDefaults ¶
func (d *LfStagingDestination) WithDefaults()
type NodeInfo ¶
func GetNodeInfo ¶
type YTSpec ¶
type YTSpec struct {
// contains filtered or unexported fields
}
func (YTSpec) MarshalBinary ¶
func (YTSpec) MarshalJSON ¶
func (*YTSpec) UnmarshalBinary ¶
func (*YTSpec) UnmarshalJSON ¶
type YtCopyDestination ¶
type YtCopyDestination struct { Cluster string YtToken string Prefix string Parallelism uint64 Pool string UsePushTransaction bool ResourceLimits *spec.ResourceLimits }
func (*YtCopyDestination) CleanupMode ¶
func (y *YtCopyDestination) CleanupMode() server.CleanupType
func (*YtCopyDestination) CompressionCodec ¶
func (y *YtCopyDestination) CompressionCodec() yt.ClientCompressionCodec
func (*YtCopyDestination) DisableProxyDiscovery ¶
func (y *YtCopyDestination) DisableProxyDiscovery() bool
func (*YtCopyDestination) GetProviderType ¶
func (y *YtCopyDestination) GetProviderType() abstract.ProviderType
func (*YtCopyDestination) IsDestination ¶
func (y *YtCopyDestination) IsDestination()
func (*YtCopyDestination) Proxy ¶
func (y *YtCopyDestination) Proxy() string
func (*YtCopyDestination) SupportMultiThreads ¶
func (y *YtCopyDestination) SupportMultiThreads() bool
func (*YtCopyDestination) SupportMultiWorkers ¶
func (y *YtCopyDestination) SupportMultiWorkers() bool
func (*YtCopyDestination) Token ¶
func (y *YtCopyDestination) Token() string
func (*YtCopyDestination) Transformer ¶
func (y *YtCopyDestination) Transformer() map[string]string
func (*YtCopyDestination) Validate ¶
func (y *YtCopyDestination) Validate() error
func (*YtCopyDestination) WithDefaults ¶
func (y *YtCopyDestination) WithDefaults()
type YtDestination ¶
type YtDestination struct { Path string Cluster string Token string PushWal bool NeedArchive bool CellBundle string TTL int64 // it's in milliseconds OptimizeFor string CanAlter bool TimeShardCount int Index []string HashColumn string PrimaryMedium string Pool string // pool for running merge and sort operations for static tables Strict bool // DEPRECATED, UNUSED IN NEW DATA PLANE - use LoseDataOnError and Atomicity Atomicity yt.Atomicity // Atomicity for the dynamic tables being created in YT. See https://yt.yandex-team.ru/docs/description/dynamic_tables/sorted_dynamic_tables#atomarnost // If true, some errors on data insertion to YT will be skipped, and a warning will be written to the log. // Among such errors are: // * we were unable to find table schema in cache for some reason: https://github.com/doublecloud/transfer/arcadia/transfer_manager/go/pkg/providers/yt/sink/sink.go?rev=11063561#L482-484 // * a table is banned AND NoBan option is false (which is the default): https://github.com/doublecloud/transfer/arcadia/transfer_manager/go/pkg/providers/yt/sink/sink.go?rev=11063561#L489-492 // * a row (or a value inside a row) being inserted into the YT table has exceeded YT limits (16 MB by default). LoseDataOnError bool DiscardBigValues bool TabletCount int // DEPRECATED - remove in March Rotation *server.RotatorConfig VersionColumn string AutoFlushPeriod int Ordered bool TransformerConfig map[string]string UseStaticTableOnSnapshot bool // optional.Optional[bool] breaks compatibility AltNames map[string]string NoBan bool Cleanup server.CleanupType Spec YTSpec TolerateKeyChanges bool InitialTabletCount uint32 WriteTimeoutSec uint32 AllowReupload bool ChunkSize uint32 // ChunkSize defines the number of items in a single request to YT for dynamic sink and chunk size in bytes for static sink BufferTriggingSize uint64 BufferTriggingInterval time.Duration CompressionCodec yt.ClientCompressionCodec DisableDatetimeHack bool // This disable old hack for inverting time.Time columns as int64 timestamp for LF>YT Connection ConnectionData CustomAttributes map[string]string Static bool SortedStatic bool // true, if we need to sort static tables StaticChunkSize int // desired size of static table chunk in bytes }
func (*YtDestination) GetUseStaticTableOnSnapshot ¶
func (d *YtDestination) GetUseStaticTableOnSnapshot() bool
func (*YtDestination) ToStorageParams ¶
func (d *YtDestination) ToStorageParams() *YtStorageParams
type YtDestinationModel ¶
type YtDestinationModel interface { server.TmpPolicyProvider ytclient.ConnParams ToStorageParams() *YtStorageParams Path() string Cluster() string Token() string PushWal() bool NeedArchive() bool CellBundle() string TTL() int64 OptimizeFor() string CanAlter() bool TimeShardCount() int Index() []string HashColumn() string PrimaryMedium() string Pool() string Atomicity() yt.Atomicity LoseDataOnError() bool DiscardBigValues() bool TabletCount() int Rotation() *server.RotatorConfig VersionColumn() string AutoFlushPeriod() int Ordered() bool UseStaticTableOnSnapshot() bool AltNames() map[string]string NoBan() bool Spec() *YTSpec TolerateKeyChanges() bool InitialTabletCount() uint32 WriteTimeoutSec() uint32 AllowReupload() bool ChunkSize() uint32 BufferTriggingSize() uint64 BufferTriggingInterval() time.Duration Transformer() map[string]string CleanupMode() server.CleanupType WithDefaults() IsDestination() GetProviderType() abstract.ProviderType GetTableAltName(table string) string Validate() error SetSnapshotLoad() LegacyModel() interface{} AllowAlter() SetStaticTable() SetIndex(index []string) SetOrdered() CompressionCodec() yt.ClientCompressionCodec Static() bool SortedStatic() bool StaticChunkSize() int DisableDatetimeHack() bool // TODO(@kry127) when remove hack? GetConnectionData() ConnectionData DisableProxyDiscovery() bool BuffererConfig() bufferer.BuffererConfig SupportSharding() bool CustomAttributes() map[string]any // MergeAttributes should be used to merge user-defined custom table attributes // with arbitrary attribute set (usually table settings like medium, ttl, ...) // with the priority to the latter one // It guarantees to keep unchanged both the argument and custom attributes map in the model MergeAttributes(tableSettings map[string]any) map[string]any }
func NewYtDestinationV1 ¶
func NewYtDestinationV1(model YtDestination) YtDestinationModel
type YtDestinationWrapper ¶
type YtDestinationWrapper struct { Model *YtDestination // contains filtered or unexported fields }
func (*YtDestinationWrapper) AllowAlter ¶
func (d *YtDestinationWrapper) AllowAlter()
func (*YtDestinationWrapper) AllowReupload ¶
func (d *YtDestinationWrapper) AllowReupload() bool
func (*YtDestinationWrapper) AltNames ¶
func (d *YtDestinationWrapper) AltNames() map[string]string
func (*YtDestinationWrapper) Atomicity ¶
func (d *YtDestinationWrapper) Atomicity() yt.Atomicity
func (*YtDestinationWrapper) AutoFlushPeriod ¶
func (d *YtDestinationWrapper) AutoFlushPeriod() int
func (*YtDestinationWrapper) BufferTriggingInterval ¶
func (d *YtDestinationWrapper) BufferTriggingInterval() time.Duration
func (*YtDestinationWrapper) BufferTriggingSize ¶
func (d *YtDestinationWrapper) BufferTriggingSize() uint64
func (*YtDestinationWrapper) BuffererConfig ¶
func (d *YtDestinationWrapper) BuffererConfig() bufferer.BuffererConfig
func (*YtDestinationWrapper) CanAlter ¶
func (d *YtDestinationWrapper) CanAlter() bool
func (*YtDestinationWrapper) CellBundle ¶
func (d *YtDestinationWrapper) CellBundle() string
func (*YtDestinationWrapper) ChunkSize ¶
func (d *YtDestinationWrapper) ChunkSize() uint32
func (*YtDestinationWrapper) CleanupMode ¶
func (d *YtDestinationWrapper) CleanupMode() server.CleanupType
func (*YtDestinationWrapper) Cluster ¶
func (d *YtDestinationWrapper) Cluster() string
func (*YtDestinationWrapper) CompressionCodec ¶
func (d *YtDestinationWrapper) CompressionCodec() yt.ClientCompressionCodec
func (*YtDestinationWrapper) CustomAttributes ¶
func (d *YtDestinationWrapper) CustomAttributes() map[string]any
func (*YtDestinationWrapper) DisableDatetimeHack ¶
func (d *YtDestinationWrapper) DisableDatetimeHack() bool
TODO: Remove in march
func (*YtDestinationWrapper) DisableProxyDiscovery ¶
func (d *YtDestinationWrapper) DisableProxyDiscovery() bool
func (*YtDestinationWrapper) DiscardBigValues ¶
func (d *YtDestinationWrapper) DiscardBigValues() bool
func (*YtDestinationWrapper) EnsureCustomTmpPolicySupported ¶
func (d *YtDestinationWrapper) EnsureCustomTmpPolicySupported() error
func (*YtDestinationWrapper) EnsureTmpPolicySupported ¶
func (d *YtDestinationWrapper) EnsureTmpPolicySupported() error
func (*YtDestinationWrapper) GetConnectionData ¶
func (d *YtDestinationWrapper) GetConnectionData() ConnectionData
func (*YtDestinationWrapper) GetProviderType ¶
func (d *YtDestinationWrapper) GetProviderType() abstract.ProviderType
func (*YtDestinationWrapper) GetTableAltName ¶
func (d *YtDestinationWrapper) GetTableAltName(table string) string
func (*YtDestinationWrapper) HashColumn ¶
func (d *YtDestinationWrapper) HashColumn() string
func (*YtDestinationWrapper) Index ¶
func (d *YtDestinationWrapper) Index() []string
func (*YtDestinationWrapper) InitialTabletCount ¶
func (d *YtDestinationWrapper) InitialTabletCount() uint32
func (YtDestinationWrapper) IsDestination ¶
func (YtDestinationWrapper) IsDestination()
func (*YtDestinationWrapper) LegacyModel ¶
func (d *YtDestinationWrapper) LegacyModel() interface{}
this is kusok govna, it here for purpose - backward compatibility and no reuse without backward compatibility
func (*YtDestinationWrapper) LoseDataOnError ¶
func (d *YtDestinationWrapper) LoseDataOnError() bool
func (*YtDestinationWrapper) MarshalJSON ¶
func (d *YtDestinationWrapper) MarshalJSON() ([]byte, error)
func (*YtDestinationWrapper) MergeAttributes ¶
func (d *YtDestinationWrapper) MergeAttributes(tableSettings map[string]any) map[string]any
func (*YtDestinationWrapper) NeedArchive ¶
func (d *YtDestinationWrapper) NeedArchive() bool
func (*YtDestinationWrapper) NoBan ¶
func (d *YtDestinationWrapper) NoBan() bool
func (*YtDestinationWrapper) OptimizeFor ¶
func (d *YtDestinationWrapper) OptimizeFor() string
func (*YtDestinationWrapper) Ordered ¶
func (d *YtDestinationWrapper) Ordered() bool
func (*YtDestinationWrapper) Params ¶
func (d *YtDestinationWrapper) Params() string
func (*YtDestinationWrapper) Path ¶
func (d *YtDestinationWrapper) Path() string
func (*YtDestinationWrapper) Pool ¶
func (d *YtDestinationWrapper) Pool() string
func (*YtDestinationWrapper) PostSnapshotHacks ¶
func (d *YtDestinationWrapper) PostSnapshotHacks()
func (*YtDestinationWrapper) PreSnapshotHacks ¶
func (d *YtDestinationWrapper) PreSnapshotHacks()
func (*YtDestinationWrapper) PrimaryMedium ¶
func (d *YtDestinationWrapper) PrimaryMedium() string
func (*YtDestinationWrapper) Proxy ¶
func (d *YtDestinationWrapper) Proxy() string
func (*YtDestinationWrapper) PushWal ¶
func (d *YtDestinationWrapper) PushWal() bool
func (*YtDestinationWrapper) Rotation ¶
func (d *YtDestinationWrapper) Rotation() *server.RotatorConfig
func (*YtDestinationWrapper) SetIndex ¶
func (d *YtDestinationWrapper) SetIndex(index []string)
func (*YtDestinationWrapper) SetOrdered ¶
func (d *YtDestinationWrapper) SetOrdered()
func (*YtDestinationWrapper) SetParams ¶
func (d *YtDestinationWrapper) SetParams(jsonStr string) error
func (*YtDestinationWrapper) SetSnapshotLoad ¶
func (d *YtDestinationWrapper) SetSnapshotLoad()
func (*YtDestinationWrapper) SetStaticTable ¶
func (d *YtDestinationWrapper) SetStaticTable()
func (*YtDestinationWrapper) SortedStatic ¶
func (d *YtDestinationWrapper) SortedStatic() bool
func (*YtDestinationWrapper) Spec ¶
func (d *YtDestinationWrapper) Spec() *YTSpec
func (*YtDestinationWrapper) Static ¶
func (d *YtDestinationWrapper) Static() bool
func (*YtDestinationWrapper) StaticChunkSize ¶
func (d *YtDestinationWrapper) StaticChunkSize() int
func (*YtDestinationWrapper) SupportSharding ¶
func (d *YtDestinationWrapper) SupportSharding() bool
func (*YtDestinationWrapper) TTL ¶
func (d *YtDestinationWrapper) TTL() int64
func (*YtDestinationWrapper) TabletCount ¶
func (d *YtDestinationWrapper) TabletCount() int
func (*YtDestinationWrapper) TimeShardCount ¶
func (d *YtDestinationWrapper) TimeShardCount() int
func (*YtDestinationWrapper) ToStorageParams ¶
func (d *YtDestinationWrapper) ToStorageParams() *YtStorageParams
func (*YtDestinationWrapper) Token ¶
func (d *YtDestinationWrapper) Token() string
func (*YtDestinationWrapper) TolerateKeyChanges ¶
func (d *YtDestinationWrapper) TolerateKeyChanges() bool
func (*YtDestinationWrapper) Transformer ¶
func (d *YtDestinationWrapper) Transformer() map[string]string
func (*YtDestinationWrapper) UnmarshalJSON ¶
func (d *YtDestinationWrapper) UnmarshalJSON(data []byte) error
func (*YtDestinationWrapper) UseStaticTableOnSnapshot ¶
func (d *YtDestinationWrapper) UseStaticTableOnSnapshot() bool
func (*YtDestinationWrapper) Validate ¶
func (d *YtDestinationWrapper) Validate() error
func (*YtDestinationWrapper) VersionColumn ¶
func (d *YtDestinationWrapper) VersionColumn() string
func (*YtDestinationWrapper) WithDefaults ¶
func (d *YtDestinationWrapper) WithDefaults()
func (*YtDestinationWrapper) WriteTimeoutSec ¶
func (d *YtDestinationWrapper) WriteTimeoutSec() uint32
type YtSource ¶
type YtSource struct { Cluster string Proxy string Paths []string YtToken string RowIdxColumnName string DesiredPartSizeBytes int64 Connection ConnectionData }
func (*YtSource) ConnParams ¶
func (s *YtSource) ConnParams() ytclient.ConnParams
func (*YtSource) GetProviderType ¶
func (s *YtSource) GetProviderType() abstract.ProviderType
func (*YtSource) IsAbstract2 ¶
func (s *YtSource) IsAbstract2(server.Destination) bool
func (*YtSource) IsAsyncShardPartsSource ¶
func (s *YtSource) IsAsyncShardPartsSource()
func (*YtSource) IsStrictSource ¶
func (s *YtSource) IsStrictSource()
func (*YtSource) RowIdxEnabled ¶
func (*YtSource) WithDefaults ¶
func (s *YtSource) WithDefaults()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.