Documentation ¶
Index ¶
- Constants
- func DatabaseGlueToLocal(db *types.Database) *metastore.Database
- func DatabaseLocalToGlue(db *metastore.Database) *types.DatabaseInput
- func DatabasesGlueToLocal(glueDatabases []types.Database) []*metastore.Database
- func NewMSClient(client *glue.Client, catalogID, baselLocationURI string) (metastore.Client, error)
- func PartitionGlueToLocal(gluePartition *types.Partition) *metastore.Partition
- func PartitionLocalToGlue(partition *metastore.Partition) *types.PartitionInput
- func PartitionsGlueToLocal(gluePartitions []types.Partition) []*metastore.Partition
- func PartitionsLocalToGlue(partitions []*metastore.Partition) []*types.PartitionInput
- func SDGlueToLocal(sd *types.StorageDescriptor) *metastore.StorageDescriptor
- func SDLocalToGlue(sd *metastore.StorageDescriptor) *types.StorageDescriptor
- func TableGlueToLocal(glueTable *types.Table) *metastore.Table
- func TableLocalToGlue(table *metastore.Table) *types.TableInput
- func TablesGlueToLocal(glueTables []types.Table) []*metastore.Table
- type MSClient
- func (g *MSClient) AddPartition(ctx context.Context, tableName string, dbName string, ...) error
- func (g *MSClient) AddPartitions(ctx context.Context, tableName string, dbName string, ...) error
- func (g *MSClient) AlterPartition(ctx context.Context, dbName string, tableName string, ...) error
- func (g *MSClient) AlterPartitions(ctx context.Context, dbName string, tableName string, ...) error
- func (g *MSClient) AlterTable(ctx context.Context, dbName string, _ string, newTable *metastore.Table) error
- func (g *MSClient) CreateDatabase(ctx context.Context, database *metastore.Database) error
- func (g *MSClient) CreateTable(ctx context.Context, tbl *metastore.Table) error
- func (g *MSClient) DropPartition(ctx context.Context, dbName string, tableName string, values []string) error
- func (g *MSClient) GetAllPartitions(ctx context.Context, dbName, tableName string) ([]types.Partition, error)
- func (g *MSClient) GetDBLocation(dbName string) string
- func (g *MSClient) GetDatabase(ctx context.Context, name string) (*metastore.Database, error)
- func (g *MSClient) GetDatabases(ctx context.Context, pattern string) ([]*metastore.Database, error)
- func (g *MSClient) GetPartition(ctx context.Context, dbName string, tableName string, values []string) (*metastore.Partition, error)
- func (g *MSClient) GetPartitions(ctx context.Context, dbName string, tableName string) ([]*metastore.Partition, error)
- func (g *MSClient) GetTable(ctx context.Context, dbName string, tableName string) (*metastore.Table, error)
- func (g *MSClient) GetTables(ctx context.Context, dbName string, pattern string) ([]*metastore.Table, error)
- func (g *MSClient) HasTable(ctx context.Context, dbName string, tableName string) (bool, error)
- func (g *MSClient) NormalizeDBName(db string) string
Constants ¶
View Source
const MaxParts = 1000 // max possible 1000
Variables ¶
This section is empty.
Functions ¶
func DatabaseGlueToLocal ¶ added in v0.40.3
func DatabaseLocalToGlue ¶ added in v0.40.3
func DatabaseLocalToGlue(db *metastore.Database) *types.DatabaseInput
func DatabasesGlueToLocal ¶ added in v0.40.3
func NewMSClient ¶
func PartitionGlueToLocal ¶ added in v0.40.3
func PartitionLocalToGlue ¶ added in v0.40.3
func PartitionLocalToGlue(partition *metastore.Partition) *types.PartitionInput
func PartitionsGlueToLocal ¶ added in v0.40.3
func PartitionsLocalToGlue ¶ added in v0.40.3
func PartitionsLocalToGlue(partitions []*metastore.Partition) []*types.PartitionInput
func SDGlueToLocal ¶ added in v0.40.3
func SDGlueToLocal(sd *types.StorageDescriptor) *metastore.StorageDescriptor
func SDLocalToGlue ¶ added in v0.40.3
func SDLocalToGlue(sd *metastore.StorageDescriptor) *types.StorageDescriptor
func TableGlueToLocal ¶ added in v0.40.3
func TableLocalToGlue ¶ added in v0.40.3
func TableLocalToGlue(table *metastore.Table) *types.TableInput
Types ¶
type MSClient ¶
type MSClient struct {
// contains filtered or unexported fields
}
func (*MSClient) AddPartition ¶ added in v0.40.3
func (*MSClient) AddPartitions ¶ added in v0.40.3
func (*MSClient) AlterPartition ¶ added in v0.40.3
func (*MSClient) AlterPartitions ¶ added in v0.40.3
func (*MSClient) AlterTable ¶ added in v0.40.3
func (*MSClient) CreateDatabase ¶ added in v0.54.0
func (*MSClient) CreateTable ¶ added in v0.40.3
func (*MSClient) DropPartition ¶ added in v0.40.3
func (*MSClient) GetAllPartitions ¶ added in v0.40.3
func (*MSClient) GetDBLocation ¶ added in v0.40.3
func (*MSClient) GetDatabase ¶ added in v0.40.3
func (*MSClient) GetDatabases ¶ added in v0.40.3
func (*MSClient) GetPartition ¶ added in v0.40.3
func (*MSClient) GetPartitions ¶ added in v0.40.3
func (*MSClient) NormalizeDBName ¶ added in v0.40.3
Click to show internal directories.
Click to hide internal directories.