Documentation ¶
Index ¶
- Constants
- type DeltaSource
- type Provider
- type Storage
- func (s *Storage) BeginSnapshot(_ context.Context) error
- func (s *Storage) Close()
- func (s *Storage) EndSnapshot(_ context.Context) error
- func (s *Storage) EstimateTableRowsCount(table abstract.TableID) (uint64, error)
- func (s *Storage) ExactTableRowsCount(_ abstract.TableID) (uint64, error)
- func (s *Storage) LoadTable(ctx context.Context, table abstract.TableDescription, ...) error
- func (s *Storage) Ping() error
- func (s *Storage) SetShardingContext(shardedState []byte) error
- func (s *Storage) ShardTable(_ context.Context, table abstract.TableDescription) ([]abstract.TableDescription, error)
- func (s *Storage) ShardingContext() ([]byte, error)
- func (s *Storage) TableExists(table abstract.TableID) (bool, error)
- func (s *Storage) TableList(_ abstract.IncludeTableList) (abstract.TableMap, error)
- func (s *Storage) TableSchema(ctx context.Context, table abstract.TableID) (*abstract.TableSchema, error)
Constants ¶
View Source
const ProviderType = abstract.ProviderType("delta")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeltaSource ¶
type DeltaSource struct { Bucket string AccessKey string S3ForcePathStyle bool SecretKey model.SecretString PathPrefix string Endpoint string UseSSL bool VersifySSL bool Region string HideSystemCols bool // to hide system cols `__delta_file_name` and `__delta_row_index` cols from out struct // delta lake hold always single table, and TableID of such table defined by user TableName string TableNamespace string }
func (*DeltaSource) ConnectionConfig ¶
func (d *DeltaSource) ConnectionConfig() s3_provider.ConnectionConfig
func (*DeltaSource) GetProviderType ¶
func (d *DeltaSource) GetProviderType() abstract.ProviderType
func (*DeltaSource) IsSource ¶
func (d *DeltaSource) IsSource()
func (*DeltaSource) Validate ¶
func (d *DeltaSource) Validate() error
func (*DeltaSource) WithDefaults ¶
func (d *DeltaSource) WithDefaults()
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (Provider) Type ¶
func (p Provider) Type() abstract.ProviderType
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) EstimateTableRowsCount ¶
func (*Storage) ExactTableRowsCount ¶
func (*Storage) SetShardingContext ¶
func (*Storage) ShardTable ¶
func (s *Storage) ShardTable(_ context.Context, table abstract.TableDescription) ([]abstract.TableDescription, error)
func (*Storage) ShardingContext ¶
func (*Storage) TableSchema ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.