Documentation ¶
Index ¶
- Constants
- func DatabaseGlueToLocal(db *glue.Database) *metastore.Database
- func DatabaseLocalToGlue(db *metastore.Database) *glue.DatabaseInput
- func DatabasesGlueToLocal(glueDatabases []*glue.Database) []*metastore.Database
- func NewMSClient(cfg *aws.Config, catalogID, baselLocationURI string) (metastore.Client, error)
- func PartitionGlueToLocal(gluePartition *glue.Partition) *metastore.Partition
- func PartitionLocalToGlue(partition *metastore.Partition) *glue.PartitionInput
- func PartitionsGlueToLocal(gluePartitions []*glue.Partition) []*metastore.Partition
- func PartitionsLocalToGlue(partitions []*metastore.Partition) []*glue.PartitionInput
- func SDGlueToLocal(sd *glue.StorageDescriptor) *metastore.StorageDescriptor
- func SDLocalToGlue(sd *metastore.StorageDescriptor) *glue.StorageDescriptor
- func TableGlueToLocal(glueTable *glue.TableData) *metastore.Table
- func TableLocalToGlue(table *metastore.Table) *glue.TableInput
- func TablesGlueToLocal(glueTables []*glue.TableData) []*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) ([]*glue.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) *glue.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) *glue.PartitionInput
func PartitionsGlueToLocal ¶ added in v0.40.3
func PartitionsLocalToGlue ¶ added in v0.40.3
func PartitionsLocalToGlue(partitions []*metastore.Partition) []*glue.PartitionInput
func SDGlueToLocal ¶ added in v0.40.3
func SDGlueToLocal(sd *glue.StorageDescriptor) *metastore.StorageDescriptor
func SDLocalToGlue ¶ added in v0.40.3
func SDLocalToGlue(sd *metastore.StorageDescriptor) *glue.StorageDescriptor
func TableGlueToLocal ¶ added in v0.40.3
func TableLocalToGlue ¶ added in v0.40.3
func TableLocalToGlue(table *metastore.Table) *glue.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.