model

package
v0.1.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessInfo

type AccessInfo struct {

	// 服务名称
	VpcepServiceName *string `json:"vpcep_service_name,omitempty"`

	// 分组独立域名
	Domain *string `json:"domain,omitempty"`
}

接入信息

func (AccessInfo) String

func (o AccessInfo) String() string

type AccessPolicyInput

type AccessPolicyInput struct {

	// 主体信息
	PrincipalList []Principal `json:"principal_list"`

	Resource *ResourceInfo `json:"resource"`

	// 拒绝/允许
	Effect bool `json:"effect"`

	// 权限列表
	Permissions []AccessPolicyInputPermissions `json:"permissions"`

	// 可传递的权限列表
	GrantAblePermissions *[]AccessPolicyInputGrantAblePermissions `json:"grant_able_permissions,omitempty"`

	// 条件
	Conditions *string `json:"conditions,omitempty"`

	// 行过滤
	DataFilter *string `json:"data_filter,omitempty"`

	// 列掩码
	DataMask *string `json:"data_mask,omitempty"`
}

access policy input body

func (AccessPolicyInput) String

func (o AccessPolicyInput) String() string

type AccessPolicyInputGrantAblePermissions

type AccessPolicyInputGrantAblePermissions struct {
	// contains filtered or unexported fields
}

func (AccessPolicyInputGrantAblePermissions) MarshalJSON

func (c AccessPolicyInputGrantAblePermissions) MarshalJSON() ([]byte, error)

func (*AccessPolicyInputGrantAblePermissions) UnmarshalJSON

func (c *AccessPolicyInputGrantAblePermissions) UnmarshalJSON(b []byte) error

func (AccessPolicyInputGrantAblePermissions) Value

type AccessPolicyInputPermissions

type AccessPolicyInputPermissions struct {
	// contains filtered or unexported fields
}

func (AccessPolicyInputPermissions) MarshalJSON

func (c AccessPolicyInputPermissions) MarshalJSON() ([]byte, error)

func (*AccessPolicyInputPermissions) UnmarshalJSON

func (c *AccessPolicyInputPermissions) UnmarshalJSON(b []byte) error

func (AccessPolicyInputPermissions) Value

type AccessRequestInfo

type AccessRequestInfo struct {

	// 服务创建的id
	VpcepId string `json:"vpcep_id"`

	// 分组独立域名
	Domain string `json:"domain"`
}

申请接入服务的请求信息

func (AccessRequestInfo) String

func (o AccessRequestInfo) String() string

type AddPartitionInput

type AddPartitionInput struct {

	// 是否跳过已存在的分区
	IfNotExist bool `json:"if_not_exist"`

	// 添加的分区信息
	Partitions []PartitionInput `json:"partitions"`
}

添加分区信息

func (AddPartitionInput) String

func (o AddPartitionInput) String() string

type AddPartitionsRequest

type AddPartitionsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *AddPartitionInput `json:"body,omitempty"`
}

Request Object

func (AddPartitionsRequest) String

func (o AddPartitionsRequest) String() string

type AddPartitionsResponse

type AddPartitionsResponse struct {
	Body           *[]Partition `json:"body,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (AddPartitionsResponse) String

func (o AddPartitionsResponse) String() string

type AgreementRule

type AgreementRule struct {

	// 协议名称
	AgreementName *string `json:"agreement_name,omitempty"`

	// 协议展示名称
	AgreementDisplayName *string `json:"agreement_display_name,omitempty"`

	// 协议版本
	AgreementVersion *string `json:"agreement_version,omitempty"`

	// 协议链接
	AgreementUrl *string `json:"agreement_url,omitempty"`
}

协议规则信息

func (AgreementRule) String

func (o AgreementRule) String() string

type AlterPartitionEntry

type AlterPartitionEntry struct {
	Partition *PartitionInput `json:"partition"`

	// 原分区值数组
	PartitionValues []string `json:"partition_values"`
}

修改分区实体

func (AlterPartitionEntry) String

func (o AlterPartitionEntry) String() string

type AlterPartitionsInput

type AlterPartitionsInput struct {

	// 批量修改分区对象数组
	PartitionInputs []AlterPartitionEntry `json:"partition_inputs"`
}

修改分区输入

func (AlterPartitionsInput) String

func (o AlterPartitionsInput) String() string

type AlterRoleInput

type AlterRoleInput struct {

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 角色名称
	RoleName *string `json:"role_name,omitempty"`
}

role信息

func (AlterRoleInput) String

func (o AlterRoleInput) String() string

type AlterTableInput

type AlterTableInput struct {

	// 修改表参数映射信息,支持的参数如下: CASADE: 级联删除列,如果为true则会把partition中的列也删除;如果为false则不会 DO_NOT_UPDATE_STATS: 不更新文件级别统计信息。true则不更新;false则更新。 STATS_GENERATED:记录本次更新的发起者。可填:TASK/USET。具体作用未明确。
	AlterParams map[string]string `json:"alter_params,omitempty"`

	Table *TableInput `json:"table"`
}

func (AlterTableInput) String

func (o AlterTableInput) String() string

type ApplyForAccessRequest

type ApplyForAccessRequest struct {

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`

	// 申请接入服务的请求信息
	Body *[]AccessRequestInfo `json:"body,omitempty"`
}

Request Object

func (ApplyForAccessRequest) String

func (o ApplyForAccessRequest) String() string

type ApplyForAccessResponse

type ApplyForAccessResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ApplyForAccessResponse) String

func (o ApplyForAccessResponse) String() string

type BatchAuthorizeInterfaceRequest

type BatchAuthorizeInterfaceRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`

	Body *AccessPolicyInput `json:"body,omitempty"`
}

Request Object

func (BatchAuthorizeInterfaceRequest) String

type BatchAuthorizeInterfaceResponse

type BatchAuthorizeInterfaceResponse struct {

	// lakecat策略信息
	Policies *[]LakeFormationPolicy `json:"policies,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (BatchAuthorizeInterfaceResponse) String

type BatchCancelAuthorizationInterfaceRequest

type BatchCancelAuthorizationInterfaceRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`

	Body *AccessPolicyInput `json:"body,omitempty"`
}

Request Object

func (BatchCancelAuthorizationInterfaceRequest) String

type BatchCancelAuthorizationInterfaceResponse

type BatchCancelAuthorizationInterfaceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCancelAuthorizationInterfaceResponse) String

type BatchCreateConstraintRequest

type BatchCreateConstraintRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *TableConstraintsInput `json:"body,omitempty"`
}

Request Object

func (BatchCreateConstraintRequest) String

type BatchCreateConstraintResponse

type BatchCreateConstraintResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateConstraintResponse) String

type BatchDeletePartitionRequest

type BatchDeletePartitionRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *DropPartitionsInput `json:"body,omitempty"`
}

Request Object

func (BatchDeletePartitionRequest) String

type BatchDeletePartitionResponse

type BatchDeletePartitionResponse struct {
	Body           *[]Partition `json:"body,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (BatchDeletePartitionResponse) String

type BatchDeletePartitionedStatisticsRequest

type BatchDeletePartitionedStatisticsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *TruncatePartitionInput `json:"body,omitempty"`
}

Request Object

func (BatchDeletePartitionedStatisticsRequest) String

type BatchDeletePartitionedStatisticsResponse

type BatchDeletePartitionedStatisticsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeletePartitionedStatisticsResponse) String

type BatchListPartitionByValuesRequest

type BatchListPartitionByValuesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *GetPartitionsByValuesInput `json:"body,omitempty"`
}

Request Object

func (BatchListPartitionByValuesRequest) String

type BatchListPartitionByValuesResponse

type BatchListPartitionByValuesResponse struct {
	Body           *[]Partition `json:"body,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (BatchListPartitionByValuesResponse) String

type BatchShowPartitionColumnStatisticsRequest

type BatchShowPartitionColumnStatisticsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *GetPartitionColumnStatisticsInput `json:"body,omitempty"`
}

Request Object

func (BatchShowPartitionColumnStatisticsRequest) String

type BatchShowPartitionColumnStatisticsResponse

type BatchShowPartitionColumnStatisticsResponse struct {

	// 分区统计信息的数量
	FoundPartitionNumber *int32 `json:"found_partition_number,omitempty"`

	// 分区统计信息的列表
	ColumnStatistics map[string][]ColumnStatisticsObj `json:"column_statistics,omitempty"`
	HttpStatusCode   int                              `json:"-"`
}

Response Object

func (BatchShowPartitionColumnStatisticsResponse) String

type BatchUpdateLakeFormationInstanceTagsRequest

type BatchUpdateLakeFormationInstanceTagsRequest struct {

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`

	Body *BatchUpdateTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchUpdateLakeFormationInstanceTagsRequest) String

type BatchUpdateLakeFormationInstanceTagsResponse

type BatchUpdateLakeFormationInstanceTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchUpdateLakeFormationInstanceTagsResponse) String

type BatchUpdatePartitionRequest

type BatchUpdatePartitionRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *AlterPartitionsInput `json:"body,omitempty"`
}

Request Object

func (BatchUpdatePartitionRequest) String

type BatchUpdatePartitionResponse

type BatchUpdatePartitionResponse struct {
	Body           *[]Partition `json:"body,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (BatchUpdatePartitionResponse) String

type BatchUpdateTagsRequestBody

type BatchUpdateTagsRequestBody struct {

	// 标签列表
	Tags *[]ResourceTag `json:"tags,omitempty"`
}

func (BatchUpdateTagsRequestBody) String

type BinaryColumnStatisticsData

type BinaryColumnStatisticsData struct {

	// 列中字节数组的最大值
	MaximumLength int64 `json:"maximum_length"`

	// 列中字节数组的平均长度
	AverageLength float64 `json:"average_length"`

	// 列中空值个数
	NumberOfNull int64 `json:"number_of_null"`
}

func (BinaryColumnStatisticsData) String

type BooleanColumnStatisticsData

type BooleanColumnStatisticsData struct {

	// 列中为真的数量
	NumberOfTrue int64 `json:"number_of_true"`

	// 列中为假的数量
	NumberOfFalse int64 `json:"number_of_false"`

	// 列中为空的数量
	NumberOfNull int64 `json:"number_of_null"`
}

func (BooleanColumnStatisticsData) String

type BucketDetail

type BucketDetail struct {

	// obs桶id
	Id string `json:"id"`

	// obs桶名
	Name string `json:"name"`

	// obs桶创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 所属region
	Location string `json:"location"`
}

obs桶详细信息

func (BucketDetail) String

func (o BucketDetail) String() string

type Catalog

type Catalog struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 路径地址
	Location string `json:"location"`

	// database路径列表
	DatabaseLocationList *[]string `json:"database_location_list,omitempty"`
}

catalog response

func (Catalog) String

func (o Catalog) String() string

type CatalogInfo

type CatalogInfo struct {

	// 子数据库信息
	Databases *[]DatabaseInfo `json:"databases,omitempty"`

	// catalog名
	Name string `json:"name"`
}

catalog input when grant policy

func (CatalogInfo) String

func (o CatalogInfo) String() string

type CatalogInput

type CatalogInput struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 路径地址
	Location string `json:"location"`

	// database路径列表
	DatabaseLocationList *[]string `json:"database_location_list,omitempty"`
}

catalog信息

func (CatalogInput) String

func (o CatalogInput) String() string

type CheckConstraint

type CheckConstraint struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// 检查条件表达式
	CheckExpression *string `json:"check_expression,omitempty"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (CheckConstraint) String

func (o CheckConstraint) String() string

type CheckConstraintInput

type CheckConstraintInput struct {

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// 检查条件表达式
	CheckExpression *string `json:"check_expression,omitempty"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (CheckConstraintInput) String

func (o CheckConstraintInput) String() string

type Column

type Column struct {

	// 列类型,包括array bigint binary boolean char date decimal double float int interval map set smallint string struct timestamp tinyint union varchar
	ColumnType string `json:"column_type"`

	// 列名
	ColumnName string `json:"column_name"`

	// 列描述信息
	Comment *string `json:"comment,omitempty"`
}

列信息

func (Column) String

func (o Column) String() string

type ColumnInfo

type ColumnInfo struct {

	// 列名
	ColumnName []string `json:"column_name"`

	// 是否排除:Include包含,Exclude排除
	Filter ColumnInfoFilter `json:"filter"`
}

column input when grant policy

func (ColumnInfo) String

func (o ColumnInfo) String() string

type ColumnInfoFilter

type ColumnInfoFilter struct {
	// contains filtered or unexported fields
}

func (ColumnInfoFilter) MarshalJSON

func (c ColumnInfoFilter) MarshalJSON() ([]byte, error)

func (*ColumnInfoFilter) UnmarshalJSON

func (c *ColumnInfoFilter) UnmarshalJSON(b []byte) error

func (ColumnInfoFilter) Value

func (c ColumnInfoFilter) Value() string

type ColumnInfoFilterEnum

type ColumnInfoFilterEnum struct {
	INCLUDE ColumnInfoFilter
	EXCLUDE ColumnInfoFilter
}

func GetColumnInfoFilterEnum

func GetColumnInfoFilterEnum() ColumnInfoFilterEnum

type ColumnStatisticsObj

type ColumnStatisticsObj struct {

	// 数据列名
	ColumnName string `json:"column_name"`

	// 数据类型,字段类型包括array bigint binary boolean char date decimal double float int interval map set smallint string struct timestamp tinyint union varchar
	ColumnType string `json:"column_type"`

	// 统计信息类型
	DataType ColumnStatisticsObjDataType `json:"data_type"`

	BinaryStatisticsData *BinaryColumnStatisticsData `json:"binary_statistics_data,omitempty"`

	LongStatisticsData *LongColumnStatisticsData `json:"long_statistics_data,omitempty"`

	DecimalStatisticsData *DecimalColumnStatisticsData `json:"decimal_statistics_data,omitempty"`

	StringStatisticsData *StringColumnStatisticsData `json:"string_statistics_data,omitempty"`

	DoubleStatisticsData *DoubleColumnStatisticsData `json:"double_statistics_data,omitempty"`

	DateStatisticsData *DateColumnStatisticsData `json:"date_statistics_data,omitempty"`

	BooleanStatisticsData *BooleanColumnStatisticsData `json:"boolean_statistics_data,omitempty"`
}

func (ColumnStatisticsObj) String

func (o ColumnStatisticsObj) String() string

type ColumnStatisticsObjDataType

type ColumnStatisticsObjDataType struct {
	// contains filtered or unexported fields
}

func (ColumnStatisticsObjDataType) MarshalJSON

func (c ColumnStatisticsObjDataType) MarshalJSON() ([]byte, error)

func (*ColumnStatisticsObjDataType) UnmarshalJSON

func (c *ColumnStatisticsObjDataType) UnmarshalJSON(b []byte) error

func (ColumnStatisticsObjDataType) Value

type ColumnStatisticsObjDataTypeEnum

type ColumnStatisticsObjDataTypeEnum struct {
	BINARY_STATS  ColumnStatisticsObjDataType
	BOOLEAN_STATS ColumnStatisticsObjDataType
	DATE_STATS    ColumnStatisticsObjDataType
	DECIMAL_STATS ColumnStatisticsObjDataType
	DOUBLE_STATS  ColumnStatisticsObjDataType
	LONG_STATS    ColumnStatisticsObjDataType
	STRING_STATS  ColumnStatisticsObjDataType
}

func GetColumnStatisticsObjDataTypeEnum

func GetColumnStatisticsObjDataTypeEnum() ColumnStatisticsObjDataTypeEnum

type CountMetaObjRequest

type CountMetaObjRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`
}

Request Object

func (CountMetaObjRequest) String

func (o CountMetaObjRequest) String() string

type CountMetaObjResponse

type CountMetaObjResponse struct {

	// 总数量
	TotalCount *int64 `json:"total_count,omitempty"`

	// 函数数量
	FunctionsCount *int64 `json:"functions_count,omitempty"`

	// 目录数量
	CatalogsCount *int64 `json:"catalogs_count,omitempty"`

	// 数据库数量
	DatabasesCount *int64 `json:"databases_count,omitempty"`

	// 表数量
	TablesCount *int64 `json:"tables_count,omitempty"`

	// 分区数量
	PartitionsCount *int64 `json:"partitions_count,omitempty"`

	// 索引数量
	IndexesCount   *int64 `json:"indexes_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CountMetaObjResponse) String

func (o CountMetaObjResponse) String() string

type CreateAgreementRequest

type CreateAgreementRequest struct {
	Body *TenantAgreementBody `json:"body,omitempty"`
}

Request Object

func (CreateAgreementRequest) String

func (o CreateAgreementRequest) String() string

type CreateAgreementResponse

type CreateAgreementResponse struct {
	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAgreementResponse) String

func (o CreateAgreementResponse) String() string

type CreateCatalogRequest

type CreateCatalogRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	Body *CatalogInput `json:"body,omitempty"`
}

Request Object

func (CreateCatalogRequest) String

func (o CreateCatalogRequest) String() string

type CreateCatalogResponse

type CreateCatalogResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 路径地址
	Location *string `json:"location,omitempty"`

	// database路径列表
	DatabaseLocationList *[]string `json:"database_location_list,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

Response Object

func (CreateCatalogResponse) String

func (o CreateCatalogResponse) String() string

type CreateDatabaseRequest

type CreateDatabaseRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	Body *DatabaseInput `json:"body,omitempty"`
}

Request Object

func (CreateDatabaseRequest) String

func (o CreateDatabaseRequest) String() string

type CreateDatabaseResponse

type CreateDatabaseResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名
	DatabaseName *string `json:"database_name,omitempty"`

	// 数据库所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *CreateDatabaseResponseOwnerType `json:"owner_type,omitempty"`

	// 数据库描述信息
	Description *string `json:"description,omitempty"`

	// 数据库路径地址
	Location *string `json:"location,omitempty"`

	// 参数信息
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表路径列表
	TableLocationList *[]string `json:"table_location_list,omitempty"`

	// 函数路径列表
	FunctionLocationList *[]string `json:"function_location_list,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

Response Object

func (CreateDatabaseResponse) String

func (o CreateDatabaseResponse) String() string

type CreateDatabaseResponseOwnerType

type CreateDatabaseResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (CreateDatabaseResponseOwnerType) MarshalJSON

func (c CreateDatabaseResponseOwnerType) MarshalJSON() ([]byte, error)

func (*CreateDatabaseResponseOwnerType) UnmarshalJSON

func (c *CreateDatabaseResponseOwnerType) UnmarshalJSON(b []byte) error

func (CreateDatabaseResponseOwnerType) Value

type CreateFunctionRequest

type CreateFunctionRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	Body *FunctionInput `json:"body,omitempty"`
}

Request Object

func (CreateFunctionRequest) String

func (o CreateFunctionRequest) String() string

type CreateFunctionResponse

type CreateFunctionResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名字
	DatabaseName *string `json:"database_name,omitempty"`

	// 函数名
	FunctionName *string `json:"function_name,omitempty"`

	// 函数类型
	FunctionType *CreateFunctionResponseFunctionType `json:"function_type,omitempty"`

	// 函数所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *CreateFunctionResponseOwnerType `json:"owner_type,omitempty"`

	// 函数类名
	ClassName *string `json:"class_name,omitempty"`

	// 创建时间格式为yyyy-mm-ddThh:mm:sss
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 函数地址信息
	ResourceUris   *[]FunctionResourceUri `json:"resource_uris,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (CreateFunctionResponse) String

func (o CreateFunctionResponse) String() string

type CreateFunctionResponseFunctionType

type CreateFunctionResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionResponseFunctionType) MarshalJSON

func (c CreateFunctionResponseFunctionType) MarshalJSON() ([]byte, error)

func (*CreateFunctionResponseFunctionType) UnmarshalJSON

func (c *CreateFunctionResponseFunctionType) UnmarshalJSON(b []byte) error

func (CreateFunctionResponseFunctionType) Value

type CreateFunctionResponseFunctionTypeEnum

type CreateFunctionResponseFunctionTypeEnum struct {
	JAVA CreateFunctionResponseFunctionType
}

func GetCreateFunctionResponseFunctionTypeEnum

func GetCreateFunctionResponseFunctionTypeEnum() CreateFunctionResponseFunctionTypeEnum

type CreateFunctionResponseOwnerType

type CreateFunctionResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionResponseOwnerType) MarshalJSON

func (c CreateFunctionResponseOwnerType) MarshalJSON() ([]byte, error)

func (*CreateFunctionResponseOwnerType) UnmarshalJSON

func (c *CreateFunctionResponseOwnerType) UnmarshalJSON(b []byte) error

func (CreateFunctionResponseOwnerType) Value

type CreateInstanceRequestBody

type CreateInstanceRequestBody struct {

	// 实例名
	Name string `json:"name"`

	// 支付类型,postPaid为按需期
	ChargeMode CreateInstanceRequestBodyChargeMode `json:"charge_mode"`

	// 企业项目id,只有对接了企业项目才可以填写
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// false:物理多租 true:逻辑多租
	Shared bool `json:"shared"`

	// 规格列表
	Specs []CreateSpec `json:"specs"`

	// 标签列表
	Tags *[]ResourceTag `json:"tags,omitempty"`
}

创建LakeFormation实例请求体

func (CreateInstanceRequestBody) String

func (o CreateInstanceRequestBody) String() string

type CreateInstanceRequestBodyChargeMode

type CreateInstanceRequestBodyChargeMode struct {
	// contains filtered or unexported fields
}

func (CreateInstanceRequestBodyChargeMode) MarshalJSON

func (c CreateInstanceRequestBodyChargeMode) MarshalJSON() ([]byte, error)

func (*CreateInstanceRequestBodyChargeMode) UnmarshalJSON

func (c *CreateInstanceRequestBodyChargeMode) UnmarshalJSON(b []byte) error

func (CreateInstanceRequestBodyChargeMode) Value

type CreateInstanceRequestBodyChargeModeEnum

type CreateInstanceRequestBodyChargeModeEnum struct {
	POST_PAID CreateInstanceRequestBodyChargeMode
}

func GetCreateInstanceRequestBodyChargeModeEnum

func GetCreateInstanceRequestBodyChargeModeEnum() CreateInstanceRequestBodyChargeModeEnum

type CreateLakeFormationInstanceRequest

type CreateLakeFormationInstanceRequest struct {
	Body *CreateInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateLakeFormationInstanceRequest) String

type CreateLakeFormationInstanceResponse

type CreateLakeFormationInstanceResponse struct {

	// LakeFormation实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 企业项目Id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 逻辑多租和物理多租的判断
	Shared *bool `json:"shared,omitempty"`

	// 实例创建时间戳
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 实例更新时间戳
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 实例状态
	Status *string `json:"status,omitempty"`

	// 是否在回收站
	InRecycleBin *bool `json:"in_recycle_bin,omitempty"`

	// 标签列表
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 规格信息
	Specs *[]CreateSpec `json:"specs,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateLakeFormationInstanceResponse) String

type CreateRoleRequest

type CreateRoleRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	Body *RoleInput `json:"body,omitempty"`
}

Request Object

func (CreateRoleRequest) String

func (o CreateRoleRequest) String() string

type CreateRoleResponse

type CreateRoleResponse struct {

	// role名字
	RoleName *string `json:"role_name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 主体来源 IAM云用户 SAML联邦 LDAP ld用户 LOCAL 本地用户 OTHER 其它
	PrincipalSource *CreateRoleResponsePrincipalSource `json:"principal_source,omitempty"`
	HttpStatusCode  int                                `json:"-"`
}

Response Object

func (CreateRoleResponse) String

func (o CreateRoleResponse) String() string

type CreateRoleResponsePrincipalSource

type CreateRoleResponsePrincipalSource struct {
	// contains filtered or unexported fields
}

func (CreateRoleResponsePrincipalSource) MarshalJSON

func (c CreateRoleResponsePrincipalSource) MarshalJSON() ([]byte, error)

func (*CreateRoleResponsePrincipalSource) UnmarshalJSON

func (c *CreateRoleResponsePrincipalSource) UnmarshalJSON(b []byte) error

func (CreateRoleResponsePrincipalSource) Value

type CreateSpec

type CreateSpec struct {

	// 规格编码
	SpecCode string `json:"spec_code"`

	// 步数
	StrideNum int32 `json:"stride_num"`
}

func (CreateSpec) String

func (o CreateSpec) String() string

type CreateTableRequest

type CreateTableRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	Body *TableInput `json:"body,omitempty"`
}

Request Object

func (CreateTableRequest) String

func (o CreateTableRequest) String() string

type CreateTableResponse

type CreateTableResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名字
	DatabaseName *string `json:"database_name,omitempty"`

	// 表名字
	TableName *string `json:"table_name,omitempty"`

	// 表创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 最后访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time,omitempty"`

	// 表元数据最后一次修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 上一次做列级别的统计信息计算的时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time,omitempty"`

	// 用户信息
	Owner *string `json:"owner,omitempty"`

	// 用户类型
	OwnerType *CreateTableResponseOwnerType `json:"owner_type,omitempty"`

	// 参数
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表分区列的列表
	PartitionKeys *[]Column `json:"partition_keys,omitempty"`

	// 表保留时间
	Retention *int32 `json:"retention,omitempty"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor,omitempty"`

	// 表类型
	TableType *CreateTableResponseTableType `json:"table_type,omitempty"`

	// 表描述信息
	Comments *string `json:"comments,omitempty"`

	// 如果表是视图,则为视图的扩展文本;否则为 null
	ViewExpandedText *string `json:"view_expanded_text,omitempty"`

	// 如果表是视图,则为视图的原始文本;否则为 null
	ViewOriginalText *string `json:"view_original_text,omitempty"`
	HttpStatusCode   int     `json:"-"`
}

Response Object

func (CreateTableResponse) String

func (o CreateTableResponse) String() string

type CreateTableResponseOwnerType

type CreateTableResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (CreateTableResponseOwnerType) MarshalJSON

func (c CreateTableResponseOwnerType) MarshalJSON() ([]byte, error)

func (*CreateTableResponseOwnerType) UnmarshalJSON

func (c *CreateTableResponseOwnerType) UnmarshalJSON(b []byte) error

func (CreateTableResponseOwnerType) Value

type CreateTableResponseOwnerTypeEnum

type CreateTableResponseOwnerTypeEnum struct {
	USER  CreateTableResponseOwnerType
	GROUP CreateTableResponseOwnerType
	ROLE  CreateTableResponseOwnerType
}

func GetCreateTableResponseOwnerTypeEnum

func GetCreateTableResponseOwnerTypeEnum() CreateTableResponseOwnerTypeEnum

type CreateTableResponseTableType

type CreateTableResponseTableType struct {
	// contains filtered or unexported fields
}

func (CreateTableResponseTableType) MarshalJSON

func (c CreateTableResponseTableType) MarshalJSON() ([]byte, error)

func (*CreateTableResponseTableType) UnmarshalJSON

func (c *CreateTableResponseTableType) UnmarshalJSON(b []byte) error

func (CreateTableResponseTableType) Value

type CreateTableResponseTableTypeEnum

type CreateTableResponseTableTypeEnum struct {
	MANAGED_TABLE     CreateTableResponseTableType
	EXTERNAL_TABLE    CreateTableResponseTableType
	VIRTUAL_VIEW      CreateTableResponseTableType
	MATERIALIZED_VIEW CreateTableResponseTableType
}

func GetCreateTableResponseTableTypeEnum

func GetCreateTableResponseTableTypeEnum() CreateTableResponseTableTypeEnum

type DataMaskPolicyItem

type DataMaskPolicyItem struct {

	// 访问数组
	Accesses *[]PolicyItemAccess `json:"accesses,omitempty"`

	// 条件数组
	Conditions *[]PolicyItemCondition `json:"conditions,omitempty"`

	DataMaskInfo *PolicyItemDataMaskInfo `json:"data_mask_info,omitempty"`

	// 是否支持传递
	DelegateAdmin *bool `json:"delegate_admin,omitempty"`

	// 用户组
	Groups *[]string `json:"groups,omitempty"`

	// 角色
	Roles *[]string `json:"roles,omitempty"`

	// 用户
	Users *[]string `json:"users,omitempty"`
}

func (DataMaskPolicyItem) String

func (o DataMaskPolicyItem) String() string

type Database

type Database struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名
	DatabaseName string `json:"database_name"`

	// 数据库所有者
	Owner string `json:"owner"`

	// 所有者类型
	OwnerType DatabaseOwnerType `json:"owner_type"`

	// 数据库描述信息
	Description string `json:"description"`

	// 数据库路径地址
	Location string `json:"location"`

	// 参数信息
	Parameters map[string]string `json:"parameters"`

	// 表路径列表
	TableLocationList *[]string `json:"table_location_list,omitempty"`

	// 函数路径列表
	FunctionLocationList *[]string `json:"function_location_list,omitempty"`
}

database

func (Database) String

func (o Database) String() string

type DatabaseInfo

type DatabaseInfo struct {

	// 数据库名
	Name string `json:"name"`

	// 子表信息
	Tables *[]TableInfo `json:"tables,omitempty"`

	// 子方法信息
	Functions *[]FunctionInfo `json:"functions,omitempty"`
}

database input when grant policy

func (DatabaseInfo) String

func (o DatabaseInfo) String() string

type DatabaseInput

type DatabaseInput struct {

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 数据库所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *DatabaseInputOwnerType `json:"owner_type,omitempty"`

	// 数据库描述信息
	Description *string `json:"description,omitempty"`

	// 数据库位置
	Location *string `json:"location,omitempty"`

	// 标签信息
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表路径列表
	TableLocationList *[]string `json:"table_location_list,omitempty"`

	// 函数路径列表
	FunctionLocationList *[]string `json:"function_location_list,omitempty"`
}

数据库信息

func (DatabaseInput) String

func (o DatabaseInput) String() string

type DatabaseInputOwnerType

type DatabaseInputOwnerType struct {
	// contains filtered or unexported fields
}

func (DatabaseInputOwnerType) MarshalJSON

func (c DatabaseInputOwnerType) MarshalJSON() ([]byte, error)

func (*DatabaseInputOwnerType) UnmarshalJSON

func (c *DatabaseInputOwnerType) UnmarshalJSON(b []byte) error

func (DatabaseInputOwnerType) Value

func (c DatabaseInputOwnerType) Value() string

type DatabaseInputOwnerTypeEnum

type DatabaseInputOwnerTypeEnum struct {
	USER  DatabaseInputOwnerType
	ROLE  DatabaseInputOwnerType
	GROUP DatabaseInputOwnerType
}

func GetDatabaseInputOwnerTypeEnum

func GetDatabaseInputOwnerTypeEnum() DatabaseInputOwnerTypeEnum

type DatabaseOwnerType

type DatabaseOwnerType struct {
	// contains filtered or unexported fields
}

func (DatabaseOwnerType) MarshalJSON

func (c DatabaseOwnerType) MarshalJSON() ([]byte, error)

func (*DatabaseOwnerType) UnmarshalJSON

func (c *DatabaseOwnerType) UnmarshalJSON(b []byte) error

func (DatabaseOwnerType) Value

func (c DatabaseOwnerType) Value() string

type DatabaseOwnerTypeEnum

type DatabaseOwnerTypeEnum struct {
	USER  DatabaseOwnerType
	GROUP DatabaseOwnerType
	ROLE  DatabaseOwnerType
}

func GetDatabaseOwnerTypeEnum

func GetDatabaseOwnerTypeEnum() DatabaseOwnerTypeEnum

type DateColumnStatisticsData

type DateColumnStatisticsData struct {

	// 列中的最小时间戳
	MinimumValue *sdktime.SdkTime `json:"minimum_value,omitempty"`

	// 列中的最大时间戳
	MaximumValue *sdktime.SdkTime `json:"maximum_value,omitempty"`

	// 列中空值个数
	NumberOfNull int64 `json:"number_of_null"`

	// 列中去重后的时间戳个数
	NumberOfDistinctValue int64 `json:"number_of_distinct_value"`

	// 估算唯一值使用的位图
	BitVector string `json:"bit_vector,omitempty"`
}

func (DateColumnStatisticsData) String

func (o DateColumnStatisticsData) String() string

type Decimal

type Decimal struct {

	// 整数部分
	Scale *int32 `json:"scale,omitempty"`

	// 小数部分
	Unscaled string `json:"unscaled,omitempty"`
}

func (Decimal) String

func (o Decimal) String() string

type DecimalColumnStatisticsData

type DecimalColumnStatisticsData struct {
	MinimumValue *Decimal `json:"minimum_value"`

	MaximumValue *Decimal `json:"maximum_value"`

	// 列中空值个数
	NumberOfNull int64 `json:"number_of_null"`

	// 列中去重后的小数个数
	NumberOfDistinctValue int64 `json:"number_of_distinct_value"`

	// 估算唯一值使用的位图
	BitVector string `json:"bit_vector,omitempty"`
}

小数统计信息

func (DecimalColumnStatisticsData) String

type DefaultConstraint

type DefaultConstraint struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// 默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (DefaultConstraint) String

func (o DefaultConstraint) String() string

type DefaultConstraintInput

type DefaultConstraintInput struct {

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// 默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (DefaultConstraintInput) String

func (o DefaultConstraintInput) String() string

type DeleteAllTablesRequest

type DeleteAllTablesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`
}

Request Object

func (DeleteAllTablesRequest) String

func (o DeleteAllTablesRequest) String() string

type DeleteAllTablesResponse

type DeleteAllTablesResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteAllTablesResponse) String

func (o DeleteAllTablesResponse) String() string

type DeleteCatalogRequest

type DeleteCatalogRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`
}

Request Object

func (DeleteCatalogRequest) String

func (o DeleteCatalogRequest) String() string

type DeleteCatalogResponse

type DeleteCatalogResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteCatalogResponse) String

func (o DeleteCatalogResponse) String() string

type DeleteConstraintRequest

type DeleteConstraintRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 列限制信息名字; 外键填写外键限制名
	ConstraintName string `json:"constraint_name"`
}

Request Object

func (DeleteConstraintRequest) String

func (o DeleteConstraintRequest) String() string

type DeleteConstraintResponse

type DeleteConstraintResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteConstraintResponse) String

func (o DeleteConstraintResponse) String() string

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名
	DatabaseName string `json:"database_name"`

	// 是否删除数据库路径下的数据
	DeleteData *bool `json:"delete_data,omitempty"`

	// 是否级联删除数据库下的表、分区以及函数
	Cascade *bool `json:"cascade,omitempty"`
}

Request Object

func (DeleteDatabaseRequest) String

func (o DeleteDatabaseRequest) String() string

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteDatabaseResponse) String

func (o DeleteDatabaseResponse) String() string

type DeleteFunctionRequest

type DeleteFunctionRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 函数名字
	FunctionName string `json:"function_name"`
}

Request Object

func (DeleteFunctionRequest) String

func (o DeleteFunctionRequest) String() string

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionResponse) String

func (o DeleteFunctionResponse) String() string

type DeleteLakeFormationInstanceRequest

type DeleteLakeFormationInstanceRequest struct {

	// 是否放入回收站
	ToRecycleBin bool `json:"to_recycle_bin"`

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteLakeFormationInstanceRequest) String

type DeleteLakeFormationInstanceResponse

type DeleteLakeFormationInstanceResponse struct {
	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteLakeFormationInstanceResponse) String

type DeletePartitionColumnStatisticsRequest

type DeletePartitionColumnStatisticsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 分区的值列表
	PartitionValues []string `json:"partition_values"`

	// 列名
	ColumnName *string `json:"column_name,omitempty"`
}

Request Object

func (DeletePartitionColumnStatisticsRequest) String

type DeletePartitionColumnStatisticsResponse

type DeletePartitionColumnStatisticsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePartitionColumnStatisticsResponse) String

type DeleteRoleRequest

type DeleteRoleRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// 角色名称
	RoleName string `json:"role_name"`
}

Request Object

func (DeleteRoleRequest) String

func (o DeleteRoleRequest) String() string

type DeleteRoleResponse

type DeleteRoleResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteRoleResponse) String

func (o DeleteRoleResponse) String() string

type DeleteTableColumnStatisticsRequest

type DeleteTableColumnStatisticsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 被删除的列名,不填写则删除表所有统计信息
	ColumnName *string `json:"column_name,omitempty"`
}

Request Object

func (DeleteTableColumnStatisticsRequest) String

type DeleteTableColumnStatisticsResponse

type DeleteTableColumnStatisticsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTableColumnStatisticsResponse) String

type DeleteTableRequest

type DeleteTableRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 是否删除表中的数据
	DeleteData *bool `json:"delete_data,omitempty"`
}

Request Object

func (DeleteTableRequest) String

func (o DeleteTableRequest) String() string

type DeleteTableResponse

type DeleteTableResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTableResponse) String

func (o DeleteTableResponse) String() string

type DoubleColumnStatisticsData

type DoubleColumnStatisticsData struct {

	// 列中浮点数最小值
	MinimumValue float64 `json:"minimum_value"`

	// 列中浮点数最大值
	MaximumValue float64 `json:"maximum_value"`

	// 列中空值个数
	NumberOfNull int64 `json:"number_of_null"`

	// 列中去重后浮点数个数
	NumberOfDistinctValue int64 `json:"number_of_distinct_value"`

	// 估算唯一值使用的位图
	BitVector string `json:"bit_vector,omitempty"`
}

浮点数统计信息

func (DoubleColumnStatisticsData) String

type DropPartitionsInput

type DropPartitionsInput struct {

	// 是否跳过不存在分区
	IfExist *bool `json:"if_exist,omitempty"`

	// 非事务表:删除分区的数据;若if_purge为真,立即释放空间。 事务表:数据保留但不可见,待数据过期统一删除。
	DeleteData *bool `json:"delete_data,omitempty"`

	// 删除分区值
	PartitionValues [][]string `json:"partition_values"`
}

删除分区信息

func (DropPartitionsInput) String

func (o DropPartitionsInput) String() string

type ForeignKey

type ForeignKey struct {

	// catalog名称
	CatalogName string `json:"catalog_name"`

	// 被引用表的数据库名
	ParentKeyDatabaseName string `json:"parent_key_database_name"`

	// 被引用表的表名
	ParentKeyTableName string `json:"parent_key_table_name"`

	// 被引用列名
	ParentKeyColumnName string `json:"parent_key_column_name"`

	// 被引用键名称
	ParentKeyName string `json:"parent_key_name"`

	// 引用表的数据库名
	ForeignKeyDatabaseName string `json:"foreign_key_database_name"`

	// 引用表的数据库名
	ForeignKeyTableName string `json:"foreign_key_table_name"`

	// 引用列名
	ForeignKeyColumnName string `json:"foreign_key_column_name"`

	// 外键名称
	ForeignKeyName string `json:"foreign_key_name"`

	// 当被引用表中被引用的记录被删除,本表中对应记录的删除规则
	DeleteRule int32 `json:"delete_rule"`

	// 外键是否启用
	EnableConstraint bool `json:"enable_constraint"`

	// 外键排列规则
	KeySequence int32 `json:"key_sequence"`

	// is foreign Key rely
	RelyConstraint bool `json:"rely_constraint"`

	// 当被引用表中被引用的记录被修改,本表中对应记录的更新规则
	UpdateRule int32 `json:"update_rule"`

	// 外键是否可用
	ValidateConstraint bool `json:"validate_constraint"`
}

func (ForeignKey) String

func (o ForeignKey) String() string

type ForeignKeyInput

type ForeignKeyInput struct {

	// 被引用表的数据库名
	ParentKeyDatabaseName string `json:"parent_key_database_name"`

	// 被引用表的表名
	ParentKeyTableName string `json:"parent_key_table_name"`

	// 被引用列名
	ParentKeyColumnName string `json:"parent_key_column_name"`

	// 被引用键名称
	ParentKeyName string `json:"parent_key_name"`

	// 引用列名
	ForeignKeyColumnName string `json:"foreign_key_column_name"`

	// 外键名称
	ForeignKeyName string `json:"foreign_key_name"`

	// 当被引用表中被引用的记录被删除,本表中对应记录的删除规则
	DeleteRule int32 `json:"delete_rule"`

	// 外键是否启用
	EnableConstraint bool `json:"enable_constraint"`

	// 外键排列规则
	KeySequence int32 `json:"key_sequence"`

	// is foreign Key rely
	RelyConstraint bool `json:"rely_constraint"`

	// 当被引用表中被引用的记录被修改,本表中对应记录的更新规则
	UpdateRule int32 `json:"update_rule"`

	// 外键是否可用
	ValidateConstraint bool `json:"validate_constraint"`
}

func (ForeignKeyInput) String

func (o ForeignKeyInput) String() string

type Function

type Function struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 函数名
	FunctionName string `json:"function_name"`

	// 函数类型
	FunctionType FunctionFunctionType `json:"function_type"`

	// 函数所有者
	Owner string `json:"owner"`

	// 所有者类型
	OwnerType FunctionOwnerType `json:"owner_type"`

	// 函数类名
	ClassName string `json:"class_name"`

	// 创建时间格式为yyyy-mm-ddThh:mm:sss
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 函数地址信息
	ResourceUris *[]FunctionResourceUri `json:"resource_uris,omitempty"`
}

函数信息

func (Function) String

func (o Function) String() string

type FunctionFunctionType

type FunctionFunctionType struct {
	// contains filtered or unexported fields
}

func (FunctionFunctionType) MarshalJSON

func (c FunctionFunctionType) MarshalJSON() ([]byte, error)

func (*FunctionFunctionType) UnmarshalJSON

func (c *FunctionFunctionType) UnmarshalJSON(b []byte) error

func (FunctionFunctionType) Value

func (c FunctionFunctionType) Value() string

type FunctionFunctionTypeEnum

type FunctionFunctionTypeEnum struct {
	JAVA FunctionFunctionType
}

func GetFunctionFunctionTypeEnum

func GetFunctionFunctionTypeEnum() FunctionFunctionTypeEnum

type FunctionInfo

type FunctionInfo struct {

	// function name
	Name string `json:"name"`
}

function input when grant policy

func (FunctionInfo) String

func (o FunctionInfo) String() string

type FunctionInput

type FunctionInput struct {

	// 函数名
	FunctionName string `json:"function_name"`

	// 函数类型
	FunctionType FunctionInputFunctionType `json:"function_type"`

	// 函数所有者
	Owner string `json:"owner"`

	// 所有者类型
	OwnerType FunctionInputOwnerType `json:"owner_type"`

	// 函数类名
	ClassName string `json:"class_name"`

	// 创建时间格式为yyyy-mm-ddThh:mm:sss
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 函数地址信息
	ResourceUris *[]FunctionResourceUri `json:"resource_uris,omitempty"`
}

函数信息

func (FunctionInput) String

func (o FunctionInput) String() string

type FunctionInputFunctionType

type FunctionInputFunctionType struct {
	// contains filtered or unexported fields
}

func (FunctionInputFunctionType) MarshalJSON

func (c FunctionInputFunctionType) MarshalJSON() ([]byte, error)

func (*FunctionInputFunctionType) UnmarshalJSON

func (c *FunctionInputFunctionType) UnmarshalJSON(b []byte) error

func (FunctionInputFunctionType) Value

type FunctionInputFunctionTypeEnum

type FunctionInputFunctionTypeEnum struct {
	JAVA FunctionInputFunctionType
}

func GetFunctionInputFunctionTypeEnum

func GetFunctionInputFunctionTypeEnum() FunctionInputFunctionTypeEnum

type FunctionInputOwnerType

type FunctionInputOwnerType struct {
	// contains filtered or unexported fields
}

func (FunctionInputOwnerType) MarshalJSON

func (c FunctionInputOwnerType) MarshalJSON() ([]byte, error)

func (*FunctionInputOwnerType) UnmarshalJSON

func (c *FunctionInputOwnerType) UnmarshalJSON(b []byte) error

func (FunctionInputOwnerType) Value

func (c FunctionInputOwnerType) Value() string

type FunctionInputOwnerTypeEnum

type FunctionInputOwnerTypeEnum struct {
	USER  FunctionInputOwnerType
	GROUP FunctionInputOwnerType
	ROLE  FunctionInputOwnerType
}

func GetFunctionInputOwnerTypeEnum

func GetFunctionInputOwnerTypeEnum() FunctionInputOwnerTypeEnum

type FunctionOwnerType

type FunctionOwnerType struct {
	// contains filtered or unexported fields
}

func (FunctionOwnerType) MarshalJSON

func (c FunctionOwnerType) MarshalJSON() ([]byte, error)

func (*FunctionOwnerType) UnmarshalJSON

func (c *FunctionOwnerType) UnmarshalJSON(b []byte) error

func (FunctionOwnerType) Value

func (c FunctionOwnerType) Value() string

type FunctionOwnerTypeEnum

type FunctionOwnerTypeEnum struct {
	USER  FunctionOwnerType
	GROUP FunctionOwnerType
	ROLE  FunctionOwnerType
}

func GetFunctionOwnerTypeEnum

func GetFunctionOwnerTypeEnum() FunctionOwnerTypeEnum

type FunctionResourceUri

type FunctionResourceUri struct {

	// 函数包类型
	Type FunctionResourceUriType `json:"type"`

	// 函数包地址信息
	Uri string `json:"uri"`
}

函数包信息

func (FunctionResourceUri) String

func (o FunctionResourceUri) String() string

type FunctionResourceUriType

type FunctionResourceUriType struct {
	// contains filtered or unexported fields
}

func (FunctionResourceUriType) MarshalJSON

func (c FunctionResourceUriType) MarshalJSON() ([]byte, error)

func (*FunctionResourceUriType) UnmarshalJSON

func (c *FunctionResourceUriType) UnmarshalJSON(b []byte) error

func (FunctionResourceUriType) Value

func (c FunctionResourceUriType) Value() string

type FunctionResourceUriTypeEnum

type FunctionResourceUriTypeEnum struct {
	JAR     FunctionResourceUriType
	FILE    FunctionResourceUriType
	ARCHIVE FunctionResourceUriType
}

func GetFunctionResourceUriTypeEnum

func GetFunctionResourceUriTypeEnum() FunctionResourceUriTypeEnum

type GetPartitionColumnStatisticsInput

type GetPartitionColumnStatisticsInput struct {

	// 是否聚合返回统计信息
	AggregateStatics bool `json:"aggregate_statics"`

	// 统计信息的列名
	ColumnNames []string `json:"column_names"`

	// 需要统计的分区值列表
	PartitionValuesList [][]string `json:"partition_values_list"`
}

获取指定分区指定列的列统计信息

func (GetPartitionColumnStatisticsInput) String

type GetPartitionsByValuesInput

type GetPartitionsByValuesInput struct {

	// 获取的分区列表每个分区值列表代表一个分区
	Values [][]string `json:"values"`
}

func (GetPartitionsByValuesInput) String

type GetTableColumnStatisticsInput

type GetTableColumnStatisticsInput struct {

	// 列名
	ColumnNames []string `json:"column_names"`
}

获取表列统计信息输入参数

func (GetTableColumnStatisticsInput) String

type LakeFormationInstance

type LakeFormationInstance struct {

	// LakeFormation实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 企业项目Id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 逻辑多租和物理多租的判断
	Shared *bool `json:"shared,omitempty"`

	// 实例创建时间戳
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 实例更新时间戳
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 实例状态
	Status *string `json:"status,omitempty"`

	// 是否在回收站
	InRecycleBin *bool `json:"in_recycle_bin,omitempty"`
}

LakeFormation实例详细信息

func (LakeFormationInstance) String

func (o LakeFormationInstance) String() string

type LakeFormationPolicy

type LakeFormationPolicy struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 主体类型,USER-用户,GROUP-组,ROLE-角色,SHARE-共享,OTHER-其它
	PrincipalType LakeFormationPolicyPrincipalType `json:"principal_type"`

	// 主体来源,IAM-云,SAML-联邦,LDAP-权限策略,LOCAL-本地,OTHER-其它
	PrincipalSource LakeFormationPolicyPrincipalSource `json:"principal_source"`

	// 主体名
	PrincipalName string `json:"principal_name"`

	Resource *ResourceInfo `json:"resource,omitempty"`

	// 要求用点分格式进行分割
	ResourceName string `json:"resource_name"`

	// 权限列表
	Permissions []LakeFormationPolicyPermissions `json:"permissions"`

	// 可以传递的权限列表
	GrantAblePermissions *[]LakeFormationPolicyGrantAblePermissions `json:"grant_able_permissions,omitempty"`

	// 创建时间
	CreatedTime int64 `json:"created_time"`

	// 条件信息
	Condition *string `json:"condition,omitempty"`

	// obligation,义务,当前包含data filter和data mask
	Obligation *string `json:"obligation,omitempty"`

	// 授权路径列表
	AuthorizationPaths *[]string `json:"authorization_paths,omitempty"`
}

LakeFormationPolicy

func (LakeFormationPolicy) String

func (o LakeFormationPolicy) String() string

type LakeFormationPolicyGrantAblePermissions

type LakeFormationPolicyGrantAblePermissions struct {
	// contains filtered or unexported fields
}

func (LakeFormationPolicyGrantAblePermissions) MarshalJSON

func (c LakeFormationPolicyGrantAblePermissions) MarshalJSON() ([]byte, error)

func (*LakeFormationPolicyGrantAblePermissions) UnmarshalJSON

func (c *LakeFormationPolicyGrantAblePermissions) UnmarshalJSON(b []byte) error

func (LakeFormationPolicyGrantAblePermissions) Value

type LakeFormationPolicyPermissions

type LakeFormationPolicyPermissions struct {
	// contains filtered or unexported fields
}

func (LakeFormationPolicyPermissions) MarshalJSON

func (c LakeFormationPolicyPermissions) MarshalJSON() ([]byte, error)

func (*LakeFormationPolicyPermissions) UnmarshalJSON

func (c *LakeFormationPolicyPermissions) UnmarshalJSON(b []byte) error

func (LakeFormationPolicyPermissions) Value

type LakeFormationPolicyPrincipalSource

type LakeFormationPolicyPrincipalSource struct {
	// contains filtered or unexported fields
}

func (LakeFormationPolicyPrincipalSource) MarshalJSON

func (c LakeFormationPolicyPrincipalSource) MarshalJSON() ([]byte, error)

func (*LakeFormationPolicyPrincipalSource) UnmarshalJSON

func (c *LakeFormationPolicyPrincipalSource) UnmarshalJSON(b []byte) error

func (LakeFormationPolicyPrincipalSource) Value

type LakeFormationPolicyPrincipalType

type LakeFormationPolicyPrincipalType struct {
	// contains filtered or unexported fields
}

func (LakeFormationPolicyPrincipalType) MarshalJSON

func (c LakeFormationPolicyPrincipalType) MarshalJSON() ([]byte, error)

func (*LakeFormationPolicyPrincipalType) UnmarshalJSON

func (c *LakeFormationPolicyPrincipalType) UnmarshalJSON(b []byte) error

func (LakeFormationPolicyPrincipalType) Value

type ListAccessInfosRequest

type ListAccessInfosRequest struct {

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`

	// 分页查询时的偏移量
	Offset int32 `json:"offset"`

	// 分页一页显示数
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListAccessInfosRequest) String

func (o ListAccessInfosRequest) String() string

type ListAccessInfosResponse

type ListAccessInfosResponse struct {

	// accessinfo列表
	AccessInfos *[]AccessInfo `json:"access_infos,omitempty"`

	// accessinfo总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAccessInfosResponse) String

func (o ListAccessInfosResponse) String() string

type ListAllFunctionsRequest

type ListAllFunctionsRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 查询返回条数
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListAllFunctionsRequest) String

func (o ListAllFunctionsRequest) String() string

type ListAllFunctionsResponse

type ListAllFunctionsResponse struct {
	PageInfo *PagedInfo `json:"page_info,omitempty"`

	Functions      *[]Function `json:"functions,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListAllFunctionsResponse) String

func (o ListAllFunctionsResponse) String() string

type ListCatalogsRequest

type ListCatalogsRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListCatalogsRequest) String

func (o ListCatalogsRequest) String() string

type ListCatalogsResponse

type ListCatalogsResponse struct {
	Body           *[]Catalog `json:"body,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListCatalogsResponse) String

func (o ListCatalogsResponse) String() string

type ListConstraintsRequest

type ListConstraintsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 列限制条件类型
	Type ListConstraintsRequestType `json:"type"`

	// 获取表外键时使用,指定外键被引用表所在的数据库名
	ParentDb *string `json:"parent_db,omitempty"`

	// 获取表外键时使用,指定外键被引用表的表名
	ParentTbl *string `json:"parent_tbl,omitempty"`
}

Request Object

func (ListConstraintsRequest) String

func (o ListConstraintsRequest) String() string

type ListConstraintsRequestType

type ListConstraintsRequestType struct {
	// contains filtered or unexported fields
}

func (ListConstraintsRequestType) MarshalJSON

func (c ListConstraintsRequestType) MarshalJSON() ([]byte, error)

func (*ListConstraintsRequestType) UnmarshalJSON

func (c *ListConstraintsRequestType) UnmarshalJSON(b []byte) error

func (ListConstraintsRequestType) Value

type ListConstraintsRequestTypeEnum

type ListConstraintsRequestTypeEnum struct {
	CHECK_CSTR    ListConstraintsRequestType
	DEFAULT_CSTR  ListConstraintsRequestType
	NOT_NULL_CSTR ListConstraintsRequestType
	UNIQUE_CSTR   ListConstraintsRequestType
	PRIMARY_KEY   ListConstraintsRequestType
	FOREIGN_KEY   ListConstraintsRequestType
}

func GetListConstraintsRequestTypeEnum

func GetListConstraintsRequestTypeEnum() ListConstraintsRequestTypeEnum

type ListConstraintsResponse

type ListConstraintsResponse struct {

	// 限制类型
	ConstraintType *ListConstraintsResponseConstraintType `json:"constraint_type,omitempty"`

	// 外键列表
	ForeignKeys *[]ForeignKey `json:"foreign_keys,omitempty"`

	// 主键列表
	PrimaryKeys *[]PrimaryKey `json:"primary_keys,omitempty"`

	// 非空限制列表
	NotNullConstraints *[]NotNullConstraint `json:"not_null_constraints,omitempty"`

	// 检查限制列表
	CheckConstraints *[]CheckConstraint `json:"check_constraints,omitempty"`

	// 唯一值限制列表
	UniqueConstraints *[]UniqueConstraint `json:"unique_constraints,omitempty"`

	// 默认限制列表
	DefaultConstraints *[]DefaultConstraint `json:"default_constraints,omitempty"`
	HttpStatusCode     int                  `json:"-"`
}

Response Object

func (ListConstraintsResponse) String

func (o ListConstraintsResponse) String() string

type ListConstraintsResponseConstraintType

type ListConstraintsResponseConstraintType struct {
	// contains filtered or unexported fields
}

func (ListConstraintsResponseConstraintType) MarshalJSON

func (c ListConstraintsResponseConstraintType) MarshalJSON() ([]byte, error)

func (*ListConstraintsResponseConstraintType) UnmarshalJSON

func (c *ListConstraintsResponseConstraintType) UnmarshalJSON(b []byte) error

func (ListConstraintsResponseConstraintType) Value

type ListDatabaseNamesRequest

type ListDatabaseNamesRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字通配符
	DatabasePattern *string `json:"database_pattern,omitempty"`
}

Request Object

func (ListDatabaseNamesRequest) String

func (o ListDatabaseNamesRequest) String() string

type ListDatabaseNamesResponse

type ListDatabaseNamesResponse struct {
	Body           *[]string `json:"body,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListDatabaseNamesResponse) String

func (o ListDatabaseNamesResponse) String() string

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字通配符
	DatabaseNamePattern *string `json:"database_name_pattern,omitempty"`

	// 返回的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListDatabasesRequest) String

func (o ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {
	Databases *[]Database `json:"databases,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListDatabasesResponse) String

func (o ListDatabasesResponse) String() string

type ListFunctionsRequest

type ListFunctionsRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 函数名通配符
	FunctionNamePattern *string `json:"function_name_pattern,omitempty"`

	// 查询返回满足条件的function数量
	Limit *int32 `json:"limit,omitempty"`

	// 当前查询的起始位置
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListFunctionsRequest) String

func (o ListFunctionsRequest) String() string

type ListFunctionsResponse

type ListFunctionsResponse struct {
	PageInfo *PagedInfo `json:"page_info,omitempty"`

	Functions      *[]Function `json:"functions,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListFunctionsResponse) String

func (o ListFunctionsResponse) String() string

type ListGroupsForDomainRequest

type ListGroupsForDomainRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`

	// 查询的用户组来源
	GroupSource *ListGroupsForDomainRequestGroupSource `json:"group_source,omitempty"`

	// 返回的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListGroupsForDomainRequest) String

type ListGroupsForDomainRequestGroupSource

type ListGroupsForDomainRequestGroupSource struct {
	// contains filtered or unexported fields
}

func (ListGroupsForDomainRequestGroupSource) MarshalJSON

func (c ListGroupsForDomainRequestGroupSource) MarshalJSON() ([]byte, error)

func (*ListGroupsForDomainRequestGroupSource) UnmarshalJSON

func (c *ListGroupsForDomainRequestGroupSource) UnmarshalJSON(b []byte) error

func (ListGroupsForDomainRequestGroupSource) Value

type ListGroupsForDomainResponse

type ListGroupsForDomainResponse struct {
	UserGroup *[]UserGroup `json:"user_group,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListGroupsForDomainResponse) String

type ListInterfacesRequest

type ListInterfacesRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`

	// expression
	Filter *string `json:"filter,omitempty"`

	// 元数据资源全名
	ResourceName *string `json:"resource_name,omitempty"`

	// 元数据资源类型
	ResourceType *ListInterfacesRequestResourceType `json:"resource_type,omitempty"`

	// 授权主体来源
	PrincipalSource *ListInterfacesRequestPrincipalSource `json:"principal_source,omitempty"`

	// 授权主体类型
	PrincipalType *ListInterfacesRequestPrincipalType `json:"principal_type,omitempty"`

	// 授权主体名称
	PrincipalName *string `json:"principal_name,omitempty"`

	// limit
	Limit *int32 `json:"limit,omitempty"`

	// page token
	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListInterfacesRequest) String

func (o ListInterfacesRequest) String() string

type ListInterfacesRequestPrincipalSource

type ListInterfacesRequestPrincipalSource struct {
	// contains filtered or unexported fields
}

func (ListInterfacesRequestPrincipalSource) MarshalJSON

func (c ListInterfacesRequestPrincipalSource) MarshalJSON() ([]byte, error)

func (*ListInterfacesRequestPrincipalSource) UnmarshalJSON

func (c *ListInterfacesRequestPrincipalSource) UnmarshalJSON(b []byte) error

func (ListInterfacesRequestPrincipalSource) Value

type ListInterfacesRequestPrincipalType

type ListInterfacesRequestPrincipalType struct {
	// contains filtered or unexported fields
}

func (ListInterfacesRequestPrincipalType) MarshalJSON

func (c ListInterfacesRequestPrincipalType) MarshalJSON() ([]byte, error)

func (*ListInterfacesRequestPrincipalType) UnmarshalJSON

func (c *ListInterfacesRequestPrincipalType) UnmarshalJSON(b []byte) error

func (ListInterfacesRequestPrincipalType) Value

type ListInterfacesRequestResourceType

type ListInterfacesRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListInterfacesRequestResourceType) MarshalJSON

func (c ListInterfacesRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListInterfacesRequestResourceType) UnmarshalJSON

func (c *ListInterfacesRequestResourceType) UnmarshalJSON(b []byte) error

func (ListInterfacesRequestResourceType) Value

type ListInterfacesResponse

type ListInterfacesResponse struct {

	// lakecat策略信息
	Policies *[]LakeFormationPolicy `json:"policies,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListInterfacesResponse) String

func (o ListInterfacesResponse) String() string

type ListLakeFormationInstancesRequest

type ListLakeFormationInstancesRequest struct {

	// 是否查询回收站中的实例
	InRecycleBin bool `json:"in_recycle_bin"`

	// 分页查询时的偏移量
	Offset int32 `json:"offset"`

	// 分页一页显示数
	Limit int32 `json:"limit"`

	// 使用LakeFormation实例名进行检索
	Name *string `json:"name,omitempty"`

	// 企业项目id
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 标签条件列表
	Tags *string `json:"tags,omitempty"`
}

Request Object

func (ListLakeFormationInstancesRequest) String

type ListLakeFormationInstancesResponse

type ListLakeFormationInstancesResponse struct {

	// LakeFormation实例列表
	Instances *[]LakeFormationInstance `json:"instances,omitempty"`

	// LakeFormation实例总数
	Total *int32 `json:"total,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListLakeFormationInstancesResponse) String

type ListObsBucketsRequest

type ListObsBucketsRequest struct {

	// 分页查询时的偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 分页一页显示数
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListObsBucketsRequest) String

func (o ListObsBucketsRequest) String() string

type ListObsBucketsResponse

type ListObsBucketsResponse struct {

	// obs桶列表
	Buckets *[]BucketDetail `json:"buckets,omitempty"`

	// obs桶总数
	Total *int32 `json:"total,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListObsBucketsResponse) String

func (o ListObsBucketsResponse) String() string

type ListObsObjectRequest

type ListObsObjectRequest struct {

	// obs桶名称
	BucketName string `json:"bucket_name"`

	// 查询起始object名称
	Marker *string `json:"marker,omitempty"`

	// 单次查询条数
	Limit int32 `json:"limit"`

	// 搜索前缀
	Prefix *string `json:"prefix,omitempty"`
}

Request Object

func (ListObsObjectRequest) String

func (o ListObsObjectRequest) String() string

type ListObsObjectResponse

type ListObsObjectResponse struct {

	// object名称列表
	ObjectNames *[]string `json:"object_names,omitempty"`

	// region编码
	Location *string `json:"location,omitempty"`

	// 搜索前缀
	Prefix *string `json:"prefix,omitempty"`

	// obs桶名
	BucketName *string `json:"bucket_name,omitempty"`

	// 下一个object起始位置
	NextMarker     *string `json:"next_marker,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListObsObjectResponse) String

func (o ListObsObjectResponse) String() string

type ListPartitionNamesRequest

type ListPartitionNamesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 过滤条件表达式
	Filter *string `json:"filter,omitempty"`

	// 查询返回条数
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListPartitionNamesRequest) String

func (o ListPartitionNamesRequest) String() string

type ListPartitionNamesResponse

type ListPartitionNamesResponse struct {

	// 分区名字列表
	PartitionNameList *[]string `json:"partition_name_list,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListPartitionNamesResponse) String

type ListPartitionsRequest

type ListPartitionsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 分区过滤条件
	Filter *string `json:"filter,omitempty"`

	// 分区的值列表
	PartitionValues *[]string `json:"partition_values,omitempty"`

	// 查询返回条数
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListPartitionsRequest) String

func (o ListPartitionsRequest) String() string

type ListPartitionsResponse

type ListPartitionsResponse struct {
	Partitions *[]Partition `json:"partitions,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListPartitionsResponse) String

func (o ListPartitionsResponse) String() string

type ListPolicyRequest

type ListPolicyRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`

	// limit
	Limit *int32 `json:"limit,omitempty"`

	// marker
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListPolicyRequest) String

func (o ListPolicyRequest) String() string

type ListPolicyResponse

type ListPolicyResponse struct {
	PageInfo *PagedInfo `json:"page_info,omitempty"`

	// 分页信息
	Policies       *[]Policy `json:"policies,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListPolicyResponse) String

func (o ListPolicyResponse) String() string

type ListRoleNamesRequest

type ListRoleNamesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListRoleNamesRequest) String

func (o ListRoleNamesRequest) String() string

type ListRoleNamesResponse

type ListRoleNamesResponse struct {
	Body           *[]string `json:"body,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRoleNamesResponse) String

func (o ListRoleNamesResponse) String() string

type ListRolesRequest

type ListRolesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 模糊匹配角色名称
	RolePattern *string `json:"role_pattern,omitempty"`

	// 返回的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListRolesRequest) String

func (o ListRolesRequest) String() string

type ListRolesResponse

type ListRolesResponse struct {
	Roles *[]Role `json:"roles,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListRolesResponse) String

func (o ListRolesResponse) String() string

type ListSpecsRequest

type ListSpecsRequest struct {

	// 规格编码
	SpecCode *string `json:"spec_code,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 单次查询个数
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListSpecsRequest) String

func (o ListSpecsRequest) String() string

type ListSpecsResponse

type ListSpecsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 规格编码列表
	SpecCodes      *[]Spec `json:"spec_codes,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSpecsResponse) String

func (o ListSpecsResponse) String() string

type ListTableByNameInput

type ListTableByNameInput struct {

	// 被查询表的名字列表
	TableNames []string `json:"table_names"`
}

表列表

func (ListTableByNameInput) String

func (o ListTableByNameInput) String() string

type ListTableColumnStatisticsRequest

type ListTableColumnStatisticsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *GetTableColumnStatisticsInput `json:"body,omitempty"`
}

Request Object

func (ListTableColumnStatisticsRequest) String

type ListTableColumnStatisticsResponse

type ListTableColumnStatisticsResponse struct {
	Body           *[]ColumnStatisticsObj `json:"body,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListTableColumnStatisticsResponse) String

type ListTableMetaRequest

type ListTableMetaRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库通配符
	DatabaseNamePattern *string `json:"database_name_pattern,omitempty"`

	// 表名通配符
	TableNamePattern *string `json:"table_name_pattern,omitempty"`

	// 查询的表类型
	TableTypes *[]ListTableMetaRequestTableTypes `json:"table_types,omitempty"`

	// 返回的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListTableMetaRequest) String

func (o ListTableMetaRequest) String() string

type ListTableMetaRequestTableTypes

type ListTableMetaRequestTableTypes struct {
	// contains filtered or unexported fields
}

func (ListTableMetaRequestTableTypes) MarshalJSON

func (c ListTableMetaRequestTableTypes) MarshalJSON() ([]byte, error)

func (*ListTableMetaRequestTableTypes) UnmarshalJSON

func (c *ListTableMetaRequestTableTypes) UnmarshalJSON(b []byte) error

func (ListTableMetaRequestTableTypes) Value

type ListTableMetaRequestTableTypesEnum

type ListTableMetaRequestTableTypesEnum struct {
	MANAGED_TABLE     ListTableMetaRequestTableTypes
	EXTERNAL_TABLE    ListTableMetaRequestTableTypes
	VIRTUAL_VIEW      ListTableMetaRequestTableTypes
	MATERIALIZED_VIEW ListTableMetaRequestTableTypes
}

func GetListTableMetaRequestTableTypesEnum

func GetListTableMetaRequestTableTypesEnum() ListTableMetaRequestTableTypesEnum

type ListTableMetaResponse

type ListTableMetaResponse struct {
	TableMetas *[]TableMeta `json:"table_metas,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListTableMetaResponse) String

func (o ListTableMetaResponse) String() string

type ListTableNamesRequest

type ListTableNamesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名通配符
	TablePattern *string `json:"table_pattern,omitempty"`

	// 查询的表类型
	TableType *string `json:"table_type,omitempty"`
}

Request Object

func (ListTableNamesRequest) String

func (o ListTableNamesRequest) String() string

type ListTableNamesResponse

type ListTableNamesResponse struct {
	Body           *[]string `json:"body,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTableNamesResponse) String

func (o ListTableNamesResponse) String() string

type ListTablesByNameRequest

type ListTablesByNameRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	Body *ListTableByNameInput `json:"body,omitempty"`
}

Request Object

func (ListTablesByNameRequest) String

func (o ListTablesByNameRequest) String() string

type ListTablesByNameResponse

type ListTablesByNameResponse struct {
	Body           *[]Table `json:"body,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ListTablesByNameResponse) String

func (o ListTablesByNameResponse) String() string

type ListTablesRequest

type ListTablesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名字通配符
	TableNamePattern *string `json:"table_name_pattern,omitempty"`

	// table_type
	TableType *ListTablesRequestTableType `json:"table_type,omitempty"`

	// 过滤条件字符串,可以按照属性查询表。 支持的属性查找包括: HIVE_FILTER_FIELD_OWNER HIVE_FILTER_FIELD_LAST_ACCESS HIVE_FILTER_FIELD_PARAMS
	Filter *string `json:"filter,omitempty"`

	// 返回的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始记录ID
	Marker *string `json:"marker,omitempty"`

	// 是否查询上一页
	ReversePage *bool `json:"reverse_page,omitempty"`
}

Request Object

func (ListTablesRequest) String

func (o ListTablesRequest) String() string

type ListTablesRequestTableType

type ListTablesRequestTableType struct {
	// contains filtered or unexported fields
}

func (ListTablesRequestTableType) MarshalJSON

func (c ListTablesRequestTableType) MarshalJSON() ([]byte, error)

func (*ListTablesRequestTableType) UnmarshalJSON

func (c *ListTablesRequestTableType) UnmarshalJSON(b []byte) error

func (ListTablesRequestTableType) Value

type ListTablesRequestTableTypeEnum

type ListTablesRequestTableTypeEnum struct {
	MANAGED_TABLE     ListTablesRequestTableType
	EXTERNAL_TABLE    ListTablesRequestTableType
	VIRTUAL_VIEW      ListTablesRequestTableType
	MATERIALIZED_VIEW ListTablesRequestTableType
}

func GetListTablesRequestTableTypeEnum

func GetListTablesRequestTableTypeEnum() ListTablesRequestTableTypeEnum

type ListTablesResponse

type ListTablesResponse struct {
	Tables *[]Table `json:"tables,omitempty"`

	PageInfo       *PagedInfo `json:"page_info,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListTablesResponse) String

func (o ListTablesResponse) String() string

type LongColumnStatisticsData

type LongColumnStatisticsData struct {

	// 列中长整数最小值
	MinimumValue int64 `json:"minimum_value"`

	// 列中长整数最大值
	MaximumValue int64 `json:"maximum_value"`

	// 列中空值个数
	NumberOfNull int64 `json:"number_of_null"`

	// 列中去重后的长整数个数
	NumberOfDistinctValue int64 `json:"number_of_distinct_value"`

	// 估算唯一值使用的位图
	BitVector string `json:"bit_vector,omitempty"`
}

func (LongColumnStatisticsData) String

func (o LongColumnStatisticsData) String() string

type MergeTableColumnStatisticInput

type MergeTableColumnStatisticInput struct {

	// 是否是对统计信息的合并操作
	Merge *bool `json:"merge,omitempty"`

	TableColumnStatistics *TableColumnStatistics `json:"table_column_statistics"`
}

func (MergeTableColumnStatisticInput) String

type MoveLakeFormationInstanceOutRecycleBinRequest

type MoveLakeFormationInstanceOutRecycleBinRequest struct {

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (MoveLakeFormationInstanceOutRecycleBinRequest) String

type MoveLakeFormationInstanceOutRecycleBinResponse

type MoveLakeFormationInstanceOutRecycleBinResponse struct {
	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (MoveLakeFormationInstanceOutRecycleBinResponse) String

type NotNullConstraint

type NotNullConstraint struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (NotNullConstraint) String

func (o NotNullConstraint) String() string

type NotNullConstraintInput

type NotNullConstraintInput struct {

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (NotNullConstraintInput) String

func (o NotNullConstraintInput) String() string

type Order

type Order struct {

	// 列的名称
	Column *string `json:"column,omitempty"`

	// 指示是按升序 (== 1) 还是降序 (==0) 对列进行排序
	SortOrder *int32 `json:"sort_order,omitempty"`
}

排列顺序

func (Order) String

func (o Order) String() string

type PagedInfo

type PagedInfo struct {

	// 本次返回的对象个数
	CurrentCount int32 `json:"current_count"`

	// 下一页查询地址
	NextMarker string `json:"next_marker"`

	// 上一页查询地址
	PreviousMarker string `json:"previous_marker"`
}

分页返回信息

func (PagedInfo) String

func (o PagedInfo) String() string

type Partition

type Partition struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名字
	TableName string `json:"table_name"`

	// 分区值的列表
	PartitionValues []string `json:"partition_values"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time"`

	// 最后访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time"`

	// 参数表
	Parameters map[string]string `json:"parameters"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor"`
}

分区信息

func (Partition) String

func (o Partition) String() string

type PartitionColumnStatistics

type PartitionColumnStatistics struct {
	ColumnStatisticsDesc *PartitionColumnStatisticsDescription `json:"column_statistics_desc"`

	// 列统计信息
	ColumnStatisticsObjects []ColumnStatisticsObj `json:"column_statistics_objects"`
}

分区中的列统计

func (PartitionColumnStatistics) String

func (o PartitionColumnStatistics) String() string

type PartitionColumnStatisticsDescription

type PartitionColumnStatisticsDescription struct {

	// 分区值的列表
	PartitionValues *[]string `json:"partition_values,omitempty"`

	// 最后统计时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time"`
}

列统计信息的描述信息

func (PartitionColumnStatisticsDescription) String

type PartitionInput

type PartitionInput struct {

	// 分区值列表
	PartitionValues []string `json:"partition_values"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time"`

	// 最后访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time"`

	// 参数信息
	Parameters map[string]string `json:"parameters"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor"`
}

partition base object

func (PartitionInput) String

func (o PartitionInput) String() string

type Policy

type Policy struct {

	// 排除的允许策略
	AllowExceptions *[]PolicyItem `json:"allow_exceptions,omitempty"`

	// 条件属性
	Conditions *[]PolicyItemCondition `json:"conditions,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 创建者
	CreatedBy *string `json:"created_by,omitempty"`

	// 类掩码策略条目
	DataMaskPolicyItems *[]DataMaskPolicyItem `json:"data_mask_policy_items,omitempty"`

	// 拒绝排除策略
	DenyExceptions *[]PolicyItem `json:"deny_exceptions,omitempty"`

	// 拒绝策略
	DenyPolicyItems *[]PolicyItem `json:"deny_policy_items,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 唯一guid
	Guid *string `json:"guid,omitempty"`

	// 主键
	Id *int64 `json:"id,omitempty"`

	// 是否支持审计
	IsAuditEnabled *bool `json:"is_audit_enabled,omitempty"`

	// 是否默认策略
	IsDefaultPolicy *bool `json:"is_default_policy,omitempty"`

	// 是否拒绝所有
	IsDenyAllElse *bool `json:"is_deny_all_else,omitempty"`

	// 是否启动
	IsEnabled *bool `json:"is_enabled,omitempty"`

	// 名
	Name *string `json:"name,omitempty"`

	// 选项
	Options *interface{} `json:"options,omitempty"`

	// 策略信息数组
	PolicyItems *[]PolicyItem `json:"policy_items,omitempty"`

	// 策略便签
	PolicyLabels *[]string `json:"policy_labels,omitempty"`

	// 策略优先级
	PolicyPriority *int32 `json:"policy_priority,omitempty"`

	// 策略类型
	PolicyType *int32 `json:"policy_type,omitempty"`

	// 资源签名
	ResourceSignature *string `json:"resource_signature,omitempty"`

	// 资源
	Resources map[string]PolicyResource `json:"resources,omitempty"`

	// 行过滤策略条目
	RowFilterPolicyItems *[]RowFilterPolicyItem `json:"row_filter_policy_items,omitempty"`

	// 服务
	Service *string `json:"service,omitempty"`

	// 服务类型
	ServiceType *string `json:"service_type,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 更新者
	UpdatedBy *string `json:"updated_by,omitempty"`

	// 验证周期
	ValiditySchedules *[]ValiditySchedule `json:"validity_schedules,omitempty"`

	// 版本
	Version *int64 `json:"version,omitempty"`

	// 域
	ZoneName *string `json:"zone_name,omitempty"`
}

func (Policy) String

func (o Policy) String() string

type PolicyDelta

type PolicyDelta struct {
	Policy *Policy `json:"policy,omitempty"`
}

func (PolicyDelta) String

func (o PolicyDelta) String() string

type PolicyItem

type PolicyItem struct {

	// 访问控制数据
	Accesses *[]PolicyItemAccess `json:"accesses,omitempty"`

	// 条件
	Conditions *[]PolicyItemCondition `json:"conditions,omitempty"`

	// 是否传递
	DelegateAdmin *bool `json:"delegate_admin,omitempty"`

	// 组
	Groups *[]string `json:"groups,omitempty"`

	// 角色
	Roles *[]string `json:"roles,omitempty"`

	// 用户
	Users *[]string `json:"users,omitempty"`
}

func (PolicyItem) String

func (o PolicyItem) String() string

type PolicyItemAccess

type PolicyItemAccess struct {

	// 是否允许
	IsAllowed *bool `json:"is_allowed,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`
}

func (PolicyItemAccess) String

func (o PolicyItemAccess) String() string

type PolicyItemCondition

type PolicyItemCondition struct {

	// 条件类型
	Type *string `json:"type,omitempty"`

	// 条件值
	Values *[]string `json:"values,omitempty"`
}

func (PolicyItemCondition) String

func (o PolicyItemCondition) String() string

type PolicyItemDataMaskInfo

type PolicyItemDataMaskInfo struct {

	// 条件表达式
	ConditionExpr *string `json:"condition_expr,omitempty"`

	// 列掩码类型
	DataMaskType *string `json:"data_mask_type,omitempty"`

	// 列掩码表达式
	ValueExpr *string `json:"value_expr,omitempty"`
}

func (PolicyItemDataMaskInfo) String

func (o PolicyItemDataMaskInfo) String() string

type PolicyItemRowFilterInfo

type PolicyItemRowFilterInfo struct {

	// 行过滤表达式
	FilterExpr *string `json:"filter_expr,omitempty"`
}

func (PolicyItemRowFilterInfo) String

func (o PolicyItemRowFilterInfo) String() string

type PolicyResource

type PolicyResource struct {

	// 是否排除
	IsExcludes *bool `json:"is_excludes,omitempty"`

	// 是否递归
	IsRecursive *bool `json:"is_recursive,omitempty"`

	// 值
	Values *[]string `json:"values,omitempty"`
}

func (PolicyResource) String

func (o PolicyResource) String() string

type PrimaryKey

type PrimaryKey struct {

	// catalog名称
	CatalogName string `json:"catalog_name"`

	// 列名称
	ColumnName string `json:"column_name"`

	// 数据库名称
	DatabaseName string `json:"database_name"`

	// 表名字
	TableName string `json:"table_name"`

	// 主键名称
	PrimaryKeyName string `json:"primary_key_name"`

	// 是否启用主键
	EnableConstraint bool `json:"enable_constraint"`

	// 主键排序顺序
	KeySequence *int32 `json:"key_sequence,omitempty"`

	// 是否被外键依赖
	RelyConstraint bool `json:"rely_constraint"`

	// 限制条件是否可用
	ValidateConstraint bool `json:"validate_constraint"`
}

主键信息

func (PrimaryKey) String

func (o PrimaryKey) String() string

type PrimaryKeyInput

type PrimaryKeyInput struct {

	// 列名称
	ColumnName string `json:"column_name"`

	// 主键名称
	PrimaryKeyName string `json:"primary_key_name"`

	// 是否启用主键
	EnableConstraint bool `json:"enable_constraint"`

	// 主键排序顺序
	KeySequence *int32 `json:"key_sequence,omitempty"`

	// 是否被外键依赖
	RelyConstraint bool `json:"rely_constraint"`

	// 限制条件是否可用
	ValidateConstraint bool `json:"validate_constraint"`
}

主键信息

func (PrimaryKeyInput) String

func (o PrimaryKeyInput) String() string

type Principal

type Principal struct {

	// 主体类型 USER用户 GROUP组 ROLE角色 SHARE共享 OTHER其它
	PrincipalType PrincipalPrincipalType `json:"principal_type"`

	// 主体来源 IAM云用户 SAML联邦 LDAP ld用户 LOCAL 本地用户
	PrincipalSource PrincipalPrincipalSource `json:"principal_source"`

	// 主体名
	PrincipalName string `json:"principal_name"`
}

func (Principal) String

func (o Principal) String() string

type PrincipalPrincipalSource

type PrincipalPrincipalSource struct {
	// contains filtered or unexported fields
}

func (PrincipalPrincipalSource) MarshalJSON

func (c PrincipalPrincipalSource) MarshalJSON() ([]byte, error)

func (*PrincipalPrincipalSource) UnmarshalJSON

func (c *PrincipalPrincipalSource) UnmarshalJSON(b []byte) error

func (PrincipalPrincipalSource) Value

func (c PrincipalPrincipalSource) Value() string

type PrincipalPrincipalType

type PrincipalPrincipalType struct {
	// contains filtered or unexported fields
}

func (PrincipalPrincipalType) MarshalJSON

func (c PrincipalPrincipalType) MarshalJSON() ([]byte, error)

func (*PrincipalPrincipalType) UnmarshalJSON

func (c *PrincipalPrincipalType) UnmarshalJSON(b []byte) error

func (PrincipalPrincipalType) Value

func (c PrincipalPrincipalType) Value() string

type RecurrenceSchedule

type RecurrenceSchedule struct {

	// 日期按月
	DayOfMonth *string `json:"day_of_month,omitempty"`

	// 日期按星期
	DayOfWeek *string `json:"day_of_week,omitempty"`

	// 时
	Hour *string `json:"hour,omitempty"`

	// 分
	Minute *string `json:"minute,omitempty"`

	// 月
	Month *string `json:"month,omitempty"`

	// 年
	Year *string `json:"year,omitempty"`
}

func (RecurrenceSchedule) String

func (o RecurrenceSchedule) String() string

type ResourceInfo

type ResourceInfo struct {

	// catalog info
	Catalogs *[]CatalogInfo `json:"catalogs,omitempty"`

	// uri
	Uris *[]string `json:"uris,omitempty"`

	// resource type
	Type ResourceInfoType `json:"type"`
}

catalog input when grant policy

func (ResourceInfo) String

func (o ResourceInfo) String() string

type ResourceInfoType

type ResourceInfoType struct {
	// contains filtered or unexported fields
}

func (ResourceInfoType) MarshalJSON

func (c ResourceInfoType) MarshalJSON() ([]byte, error)

func (*ResourceInfoType) UnmarshalJSON

func (c *ResourceInfoType) UnmarshalJSON(b []byte) error

func (ResourceInfoType) Value

func (c ResourceInfoType) Value() string

type ResourceInfoTypeEnum

type ResourceInfoTypeEnum struct {
	CATALOG  ResourceInfoType
	DATABASE ResourceInfoType
	TABLE    ResourceInfoType
	COLUMN   ResourceInfoType
	FUNC     ResourceInfoType
	MODEL    ResourceInfoType
	URI      ResourceInfoType
}

func GetResourceInfoTypeEnum

func GetResourceInfoTypeEnum() ResourceInfoTypeEnum

type ResourceTag

type ResourceTag struct {

	// 键
	Key string `json:"key"`

	// 值
	Value *string `json:"value,omitempty"`
}

标签

func (ResourceTag) String

func (o ResourceTag) String() string

type Role

type Role struct {

	// role名字
	RoleName string `json:"role_name"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 主体来源 IAM云用户 SAML联邦 LDAP ld用户 LOCAL 本地用户 OTHER 其它
	PrincipalSource RolePrincipalSource `json:"principal_source"`
}

role 响应

func (Role) String

func (o Role) String() string

type RoleInput

type RoleInput struct {

	// role名字
	RoleName string `json:"role_name"`

	// 描述信息
	Description *string `json:"description,omitempty"`
}

role信息

func (RoleInput) String

func (o RoleInput) String() string

type RolePrincipalSource

type RolePrincipalSource struct {
	// contains filtered or unexported fields
}

func (RolePrincipalSource) MarshalJSON

func (c RolePrincipalSource) MarshalJSON() ([]byte, error)

func (*RolePrincipalSource) UnmarshalJSON

func (c *RolePrincipalSource) UnmarshalJSON(b []byte) error

func (RolePrincipalSource) Value

func (c RolePrincipalSource) Value() string

type RolePrincipalSourceEnum

type RolePrincipalSourceEnum struct {
	IAM   RolePrincipalSource
	SAML  RolePrincipalSource
	LDAP  RolePrincipalSource
	LOCAL RolePrincipalSource
	OTHER RolePrincipalSource
}

func GetRolePrincipalSourceEnum

func GetRolePrincipalSourceEnum() RolePrincipalSourceEnum

type RowFilterPolicyItem

type RowFilterPolicyItem struct {

	// 权限
	Accesses *[]PolicyItemAccess `json:"accesses,omitempty"`

	// 条件
	Conditions *[]PolicyItemCondition `json:"conditions,omitempty"`

	// 是否传递
	DelegateAdmin *bool `json:"delegate_admin,omitempty"`

	// 组
	Groups *[]string `json:"groups,omitempty"`

	// 角色
	Roles *[]string `json:"roles,omitempty"`

	RowFilterInfo *PolicyItemRowFilterInfo `json:"row_filter_info,omitempty"`

	// 用户
	Users *[]string `json:"users,omitempty"`
}

func (RowFilterPolicyItem) String

func (o RowFilterPolicyItem) String() string

type SerDeInfo

type SerDeInfo struct {

	// 名字信息
	Name *string `json:"name,omitempty"`

	// 实现序列化/反序列化的类
	SerializationLibrary *string `json:"serialization_library,omitempty"`

	// 参数数组。 key最小值1,最大值255 value最大值4000
	Parameters map[string]string `json:"parameters,omitempty"`
}

序列化/反序列化的信息

func (SerDeInfo) String

func (o SerDeInfo) String() string

type SetPartitionColumnStatisticsInput

type SetPartitionColumnStatisticsInput struct {

	// 是否合入原有统计信息
	NeedMerge bool `json:"need_merge"`

	// 分区统计信息的统计列表
	Statistics []PartitionColumnStatistics `json:"statistics"`
}

设置分区的列统计信息body体

func (SetPartitionColumnStatisticsInput) String

type SetPartitionColumnStatisticsRequest

type SetPartitionColumnStatisticsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *SetPartitionColumnStatisticsInput `json:"body,omitempty"`
}

Request Object

func (SetPartitionColumnStatisticsRequest) String

type SetPartitionColumnStatisticsResponse

type SetPartitionColumnStatisticsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (SetPartitionColumnStatisticsResponse) String

type SetTableColumnStatisticsRequest

type SetTableColumnStatisticsRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *MergeTableColumnStatisticInput `json:"body,omitempty"`
}

Request Object

func (SetTableColumnStatisticsRequest) String

type SetTableColumnStatisticsResponse

type SetTableColumnStatisticsResponse struct {
	ColumnStatisticsDesc *TableColumnStatisticsDescription `json:"column_statistics_desc,omitempty"`

	// 列统计信息
	ColumnStatisticsObjects *[]ColumnStatisticsObj `json:"column_statistics_objects,omitempty"`
	HttpStatusCode          int                    `json:"-"`
}

Response Object

func (SetTableColumnStatisticsResponse) String

type ShowAgreementRequest

type ShowAgreementRequest struct {
}

Request Object

func (ShowAgreementRequest) String

func (o ShowAgreementRequest) String() string

type ShowAgreementResponse

type ShowAgreementResponse struct {

	// 租户协议列表
	Agreements *[]TenantAgreement `json:"agreements,omitempty"`

	// 是否绑定了委托
	IsAgency *bool `json:"is_agency,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAgreementResponse) String

func (o ShowAgreementResponse) String() string

type ShowAgreementRuleRequest

type ShowAgreementRuleRequest struct {
}

Request Object

func (ShowAgreementRuleRequest) String

func (o ShowAgreementRuleRequest) String() string

type ShowAgreementRuleResponse

type ShowAgreementRuleResponse struct {

	// 系统协议列表
	AgreementRules *[]AgreementRule `json:"agreement_rules,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAgreementRuleResponse) String

func (o ShowAgreementRuleResponse) String() string

type ShowCatalogRequest

type ShowCatalogRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 被查询的catalog名字
	CatalogName string `json:"catalog_name"`
}

Request Object

func (ShowCatalogRequest) String

func (o ShowCatalogRequest) String() string

type ShowCatalogResponse

type ShowCatalogResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 路径地址
	Location *string `json:"location,omitempty"`

	// database路径列表
	DatabaseLocationList *[]string `json:"database_location_list,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

Response Object

func (ShowCatalogResponse) String

func (o ShowCatalogResponse) String() string

type ShowDatabaseRequest

type ShowDatabaseRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`
}

Request Object

func (ShowDatabaseRequest) String

func (o ShowDatabaseRequest) String() string

type ShowDatabaseResponse

type ShowDatabaseResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名
	DatabaseName *string `json:"database_name,omitempty"`

	// 数据库所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *ShowDatabaseResponseOwnerType `json:"owner_type,omitempty"`

	// 数据库描述信息
	Description *string `json:"description,omitempty"`

	// 数据库路径地址
	Location *string `json:"location,omitempty"`

	// 参数信息
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表路径列表
	TableLocationList *[]string `json:"table_location_list,omitempty"`

	// 函数路径列表
	FunctionLocationList *[]string `json:"function_location_list,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

Response Object

func (ShowDatabaseResponse) String

func (o ShowDatabaseResponse) String() string

type ShowDatabaseResponseOwnerType

type ShowDatabaseResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (ShowDatabaseResponseOwnerType) MarshalJSON

func (c ShowDatabaseResponseOwnerType) MarshalJSON() ([]byte, error)

func (*ShowDatabaseResponseOwnerType) UnmarshalJSON

func (c *ShowDatabaseResponseOwnerType) UnmarshalJSON(b []byte) error

func (ShowDatabaseResponseOwnerType) Value

type ShowDatabaseResponseOwnerTypeEnum

type ShowDatabaseResponseOwnerTypeEnum struct {
	USER  ShowDatabaseResponseOwnerType
	GROUP ShowDatabaseResponseOwnerType
	ROLE  ShowDatabaseResponseOwnerType
}

func GetShowDatabaseResponseOwnerTypeEnum

func GetShowDatabaseResponseOwnerTypeEnum() ShowDatabaseResponseOwnerTypeEnum

type ShowFunctionRequest

type ShowFunctionRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 函数名字
	FunctionName string `json:"function_name"`
}

Request Object

func (ShowFunctionRequest) String

func (o ShowFunctionRequest) String() string

type ShowFunctionResponse

type ShowFunctionResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名字
	DatabaseName *string `json:"database_name,omitempty"`

	// 函数名
	FunctionName *string `json:"function_name,omitempty"`

	// 函数类型
	FunctionType *ShowFunctionResponseFunctionType `json:"function_type,omitempty"`

	// 函数所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *ShowFunctionResponseOwnerType `json:"owner_type,omitempty"`

	// 函数类名
	ClassName *string `json:"class_name,omitempty"`

	// 创建时间格式为yyyy-mm-ddThh:mm:sss
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 函数地址信息
	ResourceUris   *[]FunctionResourceUri `json:"resource_uris,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowFunctionResponse) String

func (o ShowFunctionResponse) String() string

type ShowFunctionResponseFunctionType

type ShowFunctionResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionResponseFunctionType) MarshalJSON

func (c ShowFunctionResponseFunctionType) MarshalJSON() ([]byte, error)

func (*ShowFunctionResponseFunctionType) UnmarshalJSON

func (c *ShowFunctionResponseFunctionType) UnmarshalJSON(b []byte) error

func (ShowFunctionResponseFunctionType) Value

type ShowFunctionResponseFunctionTypeEnum

type ShowFunctionResponseFunctionTypeEnum struct {
	JAVA ShowFunctionResponseFunctionType
}

func GetShowFunctionResponseFunctionTypeEnum

func GetShowFunctionResponseFunctionTypeEnum() ShowFunctionResponseFunctionTypeEnum

type ShowFunctionResponseOwnerType

type ShowFunctionResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionResponseOwnerType) MarshalJSON

func (c ShowFunctionResponseOwnerType) MarshalJSON() ([]byte, error)

func (*ShowFunctionResponseOwnerType) UnmarshalJSON

func (c *ShowFunctionResponseOwnerType) UnmarshalJSON(b []byte) error

func (ShowFunctionResponseOwnerType) Value

type ShowFunctionResponseOwnerTypeEnum

type ShowFunctionResponseOwnerTypeEnum struct {
	USER  ShowFunctionResponseOwnerType
	GROUP ShowFunctionResponseOwnerType
	ROLE  ShowFunctionResponseOwnerType
}

func GetShowFunctionResponseOwnerTypeEnum

func GetShowFunctionResponseOwnerTypeEnum() ShowFunctionResponseOwnerTypeEnum

type ShowLakeFormationInstanceRequest

type ShowLakeFormationInstanceRequest struct {

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowLakeFormationInstanceRequest) String

type ShowLakeFormationInstanceResponse

type ShowLakeFormationInstanceResponse struct {

	// LakeFormation实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 企业项目Id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 逻辑多租和物理多租的判断
	Shared *bool `json:"shared,omitempty"`

	// 实例创建时间戳
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 实例更新时间戳
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 实例状态
	Status *string `json:"status,omitempty"`

	// 是否在回收站
	InRecycleBin *bool `json:"in_recycle_bin,omitempty"`

	// 标签列表
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 规格信息
	Specs *[]CreateSpec `json:"specs,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowLakeFormationInstanceResponse) String

type ShowRoleRequest

type ShowRoleRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// 角色名称
	RoleName string `json:"role_name"`
}

Request Object

func (ShowRoleRequest) String

func (o ShowRoleRequest) String() string

type ShowRoleResponse

type ShowRoleResponse struct {
	Role *Role `json:"role,omitempty"`

	// 角色包含的用户或者用户组信息
	UserRoles      *[]UserRole `json:"user_roles,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowRoleResponse) String

func (o ShowRoleResponse) String() string

type ShowSyncPolicyRequest

type ShowSyncPolicyRequest struct {

	// instance id
	InstanceId string `json:"instance_id"`

	// lastKnownVersion
	LastKnownVersion *int64 `json:"last_known_version,omitempty"`

	// supportsPolicyDeltas
	SupportsPolicyDeltas *bool `json:"supports_policy_deltas,omitempty"`

	// isReturnPolicyData
	IsReturnPolicyData *bool `json:"is_return_policy_data,omitempty"`
}

Request Object

func (ShowSyncPolicyRequest) String

func (o ShowSyncPolicyRequest) String() string

type ShowSyncPolicyResponse

type ShowSyncPolicyResponse struct {

	// 策略版本
	PolicyVersion *int64 `json:"policy_version,omitempty"`

	// 策略更新时间
	PolicyUpdateTime *string `json:"policy_updateTime,omitempty"`

	// 权限策略信息
	Policies *[]Policy `json:"policies,omitempty"`

	// 增量权限策略信息
	PolicyDeltas   *[]PolicyDelta `json:"policy_deltas,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowSyncPolicyResponse) String

func (o ShowSyncPolicyResponse) String() string

type ShowTableRequest

type ShowTableRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`
}

Request Object

func (ShowTableRequest) String

func (o ShowTableRequest) String() string

type ShowTableResponse

type ShowTableResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名字
	DatabaseName *string `json:"database_name,omitempty"`

	// 表名字
	TableName *string `json:"table_name,omitempty"`

	// 表创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 最后访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time,omitempty"`

	// 表元数据最后一次修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 上一次做列级别的统计信息计算的时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time,omitempty"`

	// 用户信息
	Owner *string `json:"owner,omitempty"`

	// 用户类型
	OwnerType *ShowTableResponseOwnerType `json:"owner_type,omitempty"`

	// 参数
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表分区列的列表
	PartitionKeys *[]Column `json:"partition_keys,omitempty"`

	// 表保留时间
	Retention *int32 `json:"retention,omitempty"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor,omitempty"`

	// 表类型
	TableType *ShowTableResponseTableType `json:"table_type,omitempty"`

	// 表描述信息
	Comments *string `json:"comments,omitempty"`

	// 如果表是视图,则为视图的扩展文本;否则为 null
	ViewExpandedText *string `json:"view_expanded_text,omitempty"`

	// 如果表是视图,则为视图的原始文本;否则为 null
	ViewOriginalText *string `json:"view_original_text,omitempty"`
	HttpStatusCode   int     `json:"-"`
}

Response Object

func (ShowTableResponse) String

func (o ShowTableResponse) String() string

type ShowTableResponseOwnerType

type ShowTableResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (ShowTableResponseOwnerType) MarshalJSON

func (c ShowTableResponseOwnerType) MarshalJSON() ([]byte, error)

func (*ShowTableResponseOwnerType) UnmarshalJSON

func (c *ShowTableResponseOwnerType) UnmarshalJSON(b []byte) error

func (ShowTableResponseOwnerType) Value

type ShowTableResponseOwnerTypeEnum

type ShowTableResponseOwnerTypeEnum struct {
	USER  ShowTableResponseOwnerType
	GROUP ShowTableResponseOwnerType
	ROLE  ShowTableResponseOwnerType
}

func GetShowTableResponseOwnerTypeEnum

func GetShowTableResponseOwnerTypeEnum() ShowTableResponseOwnerTypeEnum

type ShowTableResponseTableType

type ShowTableResponseTableType struct {
	// contains filtered or unexported fields
}

func (ShowTableResponseTableType) MarshalJSON

func (c ShowTableResponseTableType) MarshalJSON() ([]byte, error)

func (*ShowTableResponseTableType) UnmarshalJSON

func (c *ShowTableResponseTableType) UnmarshalJSON(b []byte) error

func (ShowTableResponseTableType) Value

type ShowTableResponseTableTypeEnum

type ShowTableResponseTableTypeEnum struct {
	MANAGED_TABLE     ShowTableResponseTableType
	EXTERNAL_TABLE    ShowTableResponseTableType
	VIRTUAL_VIEW      ShowTableResponseTableType
	MATERIALIZED_VIEW ShowTableResponseTableType
}

func GetShowTableResponseTableTypeEnum

func GetShowTableResponseTableTypeEnum() ShowTableResponseTableTypeEnum

type SkewedInfo

type SkewedInfo struct {

	// 数据偏移列的列表
	SkewedColumnNames []string `json:"skewed_column_names"`

	// 偏斜值和地址的映射关系.
	SkewedColumnValueLocationMaps map[string]string `json:"skewed_column_value_location_maps"`

	// 偏斜值的列表.
	SkewedColumnValues [][]string `json:"skewed_column_values"`
}

func (SkewedInfo) String

func (o SkewedInfo) String() string

type Spec

type Spec struct {

	// 规格编码
	SpecCode *string `json:"spec_code,omitempty"`

	// 资源编码
	ResourceType *string `json:"resource_type,omitempty"`

	// 步长
	Stride *int32 `json:"stride,omitempty"`

	// 单位
	Unit *string `json:"unit,omitempty"`

	// 最小步数
	MinStrideNum *int32 `json:"min_stride_num,omitempty"`

	// 最大步数
	MaxStrideNum *int32 `json:"max_stride_num,omitempty"`

	// 使用量单位标识
	UsageMeasureId *int32 `json:"usage_measure_id,omitempty"`

	// 使用量因子
	UsageFactor *string `json:"usage_factor,omitempty"`

	// 步数白名单,返回时,步数必须是白名单中的值
	StrideNumWhitelist *[]int32 `json:"stride_num_whitelist,omitempty"`
}

规格信息

func (Spec) String

func (o Spec) String() string

type StorageDescriptor

type StorageDescriptor struct {

	// 分区列以外的所有字段
	Columns []Column `json:"columns"`

	// 存储路径
	Location *string `json:"location,omitempty"`

	// 是否启用数据压缩
	Compressed bool `json:"compressed"`

	// 输入格式
	InputFormat *string `json:"input_format,omitempty"`

	// 输出格式
	OutputFormat *string `json:"output_format,omitempty"`

	// 分桶的桶数量
	NumberOfBuckets *int32 `json:"number_of_buckets,omitempty"`

	// 分桶字段
	BucketColumns *[]string `json:"bucket_columns,omitempty"`

	// 指定表中的每个存储桶的排序顺序的列表
	SortColumns *[]Order `json:"sort_columns,omitempty"`

	SerdeInfo *SerDeInfo `json:"serde_info"`

	// 存储描述符的参数。 key最小长度为1,最大长度为255. value最大长度为4000
	Parameters map[string]string `json:"parameters"`

	SkewedInfo *SkewedInfo `json:"skewed_info,omitempty"`

	// 数据是否会存放在子目录中
	StoredAsSubDirectories *bool `json:"stored_as_sub_directories,omitempty"`
}

func (StorageDescriptor) String

func (o StorageDescriptor) String() string

type StringColumnStatisticsData

type StringColumnStatisticsData struct {

	// 列中字符串平均长度
	AverageLength float64 `json:"average_length"`

	// 列中字符串最长长度
	MaximumLength int64 `json:"maximum_length"`

	// 列中空值个数
	NumberOfNull int64 `json:"number_of_null"`

	// 列中去重后字符串个数
	NumberOfDistinctValue int64 `json:"number_of_distinct_value"`

	// 估算唯一值使用的位图
	BitVector string `json:"bit_vector,omitempty"`
}

func (StringColumnStatisticsData) String

type Table

type Table struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名字
	TableName string `json:"table_name"`

	// 表创建时间
	CreateTime *sdktime.SdkTime `json:"create_time"`

	// 最后访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time"`

	// 表元数据最后一次修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 上一次做列级别的统计信息计算的时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time,omitempty"`

	// 用户信息
	Owner string `json:"owner"`

	// 用户类型
	OwnerType TableOwnerType `json:"owner_type"`

	// 参数
	Parameters map[string]string `json:"parameters"`

	// 表分区列的列表
	PartitionKeys []Column `json:"partition_keys"`

	// 表保留时间
	Retention int32 `json:"retention"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor"`

	// 表类型
	TableType TableTableType `json:"table_type"`

	// 表描述信息
	Comments *string `json:"comments,omitempty"`

	// 如果表是视图,则为视图的扩展文本;否则为 null
	ViewExpandedText string `json:"view_expanded_text"`

	// 如果表是视图,则为视图的原始文本;否则为 null
	ViewOriginalText string `json:"view_original_text"`
}

table

func (Table) String

func (o Table) String() string

type TableColumnStatistics

type TableColumnStatistics struct {
	ColumnStatisticsDesc *TableColumnStatisticsDescription `json:"column_statistics_desc"`

	// 列统计信息
	ColumnStatisticsObjects []ColumnStatisticsObj `json:"column_statistics_objects"`
}

表中列的统计

func (TableColumnStatistics) String

func (o TableColumnStatistics) String() string

type TableColumnStatisticsDescription

type TableColumnStatisticsDescription struct {

	// 最后统计时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time"`
}

表列统计信息的描述信息

func (TableColumnStatisticsDescription) String

type TableConstraintsInput

type TableConstraintsInput struct {

	// 限制类型
	ConstraintType *TableConstraintsInputConstraintType `json:"constraint_type,omitempty"`

	// 外键列表
	ForeignKeys *[]ForeignKeyInput `json:"foreign_keys,omitempty"`

	// 主键列表
	PrimaryKeys *[]PrimaryKeyInput `json:"primary_keys,omitempty"`

	// 非空限制列表
	NotNullConstraints *[]NotNullConstraintInput `json:"not_null_constraints,omitempty"`

	// 检查限制列表
	CheckConstraints *[]CheckConstraintInput `json:"check_constraints,omitempty"`

	// 唯一值限制列表
	UniqueConstraints *[]UniqueConstraintInput `json:"unique_constraints,omitempty"`

	// 默认限制列表
	DefaultConstraints *[]DefaultConstraintInput `json:"default_constraints,omitempty"`
}

表列限制条件输入模型

func (TableConstraintsInput) String

func (o TableConstraintsInput) String() string

type TableConstraintsInputConstraintType

type TableConstraintsInputConstraintType struct {
	// contains filtered or unexported fields
}

func (TableConstraintsInputConstraintType) MarshalJSON

func (c TableConstraintsInputConstraintType) MarshalJSON() ([]byte, error)

func (*TableConstraintsInputConstraintType) UnmarshalJSON

func (c *TableConstraintsInputConstraintType) UnmarshalJSON(b []byte) error

func (TableConstraintsInputConstraintType) Value

type TableInfo

type TableInfo struct {
	Columns *ColumnInfo `json:"columns,omitempty"`

	// table name
	Name string `json:"name"`
}

table input when grant policy

func (TableInfo) String

func (o TableInfo) String() string

type TableInput

type TableInput struct {

	// 表名字
	TableName string `json:"table_name"`

	// 表类型
	TableType TableInputTableType `json:"table_type"`

	// 表所有者
	Owner string `json:"owner"`

	// 所有者类型
	OwnerType TableInputOwnerType `json:"owner_type"`

	// 表创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 最近一次访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time,omitempty"`

	// 最近一次分析统计时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time,omitempty"`

	// 分区列的信息
	PartitionKeys *[]Column `json:"partition_keys,omitempty"`

	// 表保留时间
	Retention *int32 `json:"retention,omitempty"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor"`

	// 表参数信息,每个键是一个键字符串,不少于 1 个字节或超过 255 个字节 每个值是一个 UTF-8 字符串,不超过 4000 个字节
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表描述信息
	Comments *string `json:"comments,omitempty"`

	// 如果表是视图,则为视图的扩展文本;否则为 null
	ViewExpandedText *string `json:"view_expanded_text,omitempty"`

	// 如果表是视图,则为视图的原始文本;否则为 null
	ViewOriginalText *string `json:"view_original_text,omitempty"`
}

表输入模型

func (TableInput) String

func (o TableInput) String() string

type TableInputOwnerType

type TableInputOwnerType struct {
	// contains filtered or unexported fields
}

func (TableInputOwnerType) MarshalJSON

func (c TableInputOwnerType) MarshalJSON() ([]byte, error)

func (*TableInputOwnerType) UnmarshalJSON

func (c *TableInputOwnerType) UnmarshalJSON(b []byte) error

func (TableInputOwnerType) Value

func (c TableInputOwnerType) Value() string

type TableInputOwnerTypeEnum

type TableInputOwnerTypeEnum struct {
	USER  TableInputOwnerType
	GROUP TableInputOwnerType
	ROLE  TableInputOwnerType
}

func GetTableInputOwnerTypeEnum

func GetTableInputOwnerTypeEnum() TableInputOwnerTypeEnum

type TableInputTableType

type TableInputTableType struct {
	// contains filtered or unexported fields
}

func (TableInputTableType) MarshalJSON

func (c TableInputTableType) MarshalJSON() ([]byte, error)

func (*TableInputTableType) UnmarshalJSON

func (c *TableInputTableType) UnmarshalJSON(b []byte) error

func (TableInputTableType) Value

func (c TableInputTableType) Value() string

type TableInputTableTypeEnum

type TableInputTableTypeEnum struct {
	MANAGED_TABLE     TableInputTableType
	EXTERNAL_TABLE    TableInputTableType
	VIRTUAL_VIEW      TableInputTableType
	MATERIALIZED_VIEW TableInputTableType
}

func GetTableInputTableTypeEnum

func GetTableInputTableTypeEnum() TableInputTableTypeEnum

type TableMeta

type TableMeta struct {

	// 表名
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名字
	TableName string `json:"table_name"`

	// 表类型
	TableType TableMetaTableType `json:"table_type"`

	// 表描述信息
	Comments string `json:"comments"`
}

表描述信息

func (TableMeta) String

func (o TableMeta) String() string

type TableMetaTableType

type TableMetaTableType struct {
	// contains filtered or unexported fields
}

func (TableMetaTableType) MarshalJSON

func (c TableMetaTableType) MarshalJSON() ([]byte, error)

func (*TableMetaTableType) UnmarshalJSON

func (c *TableMetaTableType) UnmarshalJSON(b []byte) error

func (TableMetaTableType) Value

func (c TableMetaTableType) Value() string

type TableMetaTableTypeEnum

type TableMetaTableTypeEnum struct {
	MANAGED_TABLE     TableMetaTableType
	EXTERNAL_TABLE    TableMetaTableType
	VIRTUAL_VIEW      TableMetaTableType
	MATERIALIZED_VIEW TableMetaTableType
}

func GetTableMetaTableTypeEnum

func GetTableMetaTableTypeEnum() TableMetaTableTypeEnum

type TableOwnerType

type TableOwnerType struct {
	// contains filtered or unexported fields
}

func (TableOwnerType) MarshalJSON

func (c TableOwnerType) MarshalJSON() ([]byte, error)

func (*TableOwnerType) UnmarshalJSON

func (c *TableOwnerType) UnmarshalJSON(b []byte) error

func (TableOwnerType) Value

func (c TableOwnerType) Value() string

type TableOwnerTypeEnum

type TableOwnerTypeEnum struct {
	USER  TableOwnerType
	GROUP TableOwnerType
	ROLE  TableOwnerType
}

func GetTableOwnerTypeEnum

func GetTableOwnerTypeEnum() TableOwnerTypeEnum

type TableTableType

type TableTableType struct {
	// contains filtered or unexported fields
}

func (TableTableType) MarshalJSON

func (c TableTableType) MarshalJSON() ([]byte, error)

func (*TableTableType) UnmarshalJSON

func (c *TableTableType) UnmarshalJSON(b []byte) error

func (TableTableType) Value

func (c TableTableType) Value() string

type TableTableTypeEnum

type TableTableTypeEnum struct {
	MANAGED_TABLE     TableTableType
	EXTERNAL_TABLE    TableTableType
	VIRTUAL_VIEW      TableTableType
	MATERIALIZED_VIEW TableTableType
}

func GetTableTableTypeEnum

func GetTableTableTypeEnum() TableTableTypeEnum

type TenantAgreement

type TenantAgreement struct {

	// 协议名称
	AgreementName *string `json:"agreement_name,omitempty"`

	// 协议版本号
	AgreementVersion *string `json:"agreement_version,omitempty"`
}

租户协议

func (TenantAgreement) String

func (o TenantAgreement) String() string

type TenantAgreementBody

type TenantAgreementBody struct {

	// 租户协议列表
	Agreements *[]TenantAgreement `json:"agreements,omitempty"`
}

租户注册协议响应体

func (TenantAgreementBody) String

func (o TenantAgreementBody) String() string

type TruncatePartitionInput

type TruncatePartitionInput struct {

	// 分区值
	PartitionValues *[][]string `json:"partition_values,omitempty"`
}

清空分区数据

func (TruncatePartitionInput) String

func (o TruncatePartitionInput) String() string

type UniqueConstraint

type UniqueConstraint struct {

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// 列序号(限制条件中第几位)
	KeySequence *int32 `json:"key_sequence,omitempty"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (UniqueConstraint) String

func (o UniqueConstraint) String() string

type UniqueConstraintInput

type UniqueConstraintInput struct {

	// 列名
	ColumnName string `json:"column_name"`

	// constraint Name
	ConstraintName string `json:"constraint_name"`

	// 列序号(限制条件中第几位)
	KeySequence *int32 `json:"key_sequence,omitempty"`

	// enable constraint
	EnableConstraint bool `json:"enable_constraint"`

	// constraint is rely when Query
	RelyConstraint bool `json:"rely_constraint"`

	// constraint is validated
	ValidateConstraint bool `json:"validate_constraint"`
}

func (UniqueConstraintInput) String

func (o UniqueConstraintInput) String() string

type UpdateCatalogRequest

type UpdateCatalogRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	Body *CatalogInput `json:"body,omitempty"`
}

Request Object

func (UpdateCatalogRequest) String

func (o UpdateCatalogRequest) String() string

type UpdateCatalogResponse

type UpdateCatalogResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 路径地址
	Location *string `json:"location,omitempty"`

	// database路径列表
	DatabaseLocationList *[]string `json:"database_location_list,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

Response Object

func (UpdateCatalogResponse) String

func (o UpdateCatalogResponse) String() string

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	Body *DatabaseInput `json:"body,omitempty"`
}

Request Object

func (UpdateDatabaseRequest) String

func (o UpdateDatabaseRequest) String() string

type UpdateDatabaseResponse

type UpdateDatabaseResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名
	DatabaseName *string `json:"database_name,omitempty"`

	// 数据库所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *UpdateDatabaseResponseOwnerType `json:"owner_type,omitempty"`

	// 数据库描述信息
	Description *string `json:"description,omitempty"`

	// 数据库路径地址
	Location *string `json:"location,omitempty"`

	// 参数信息
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表路径列表
	TableLocationList *[]string `json:"table_location_list,omitempty"`

	// 函数路径列表
	FunctionLocationList *[]string `json:"function_location_list,omitempty"`
	HttpStatusCode       int       `json:"-"`
}

Response Object

func (UpdateDatabaseResponse) String

func (o UpdateDatabaseResponse) String() string

type UpdateDatabaseResponseOwnerType

type UpdateDatabaseResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (UpdateDatabaseResponseOwnerType) MarshalJSON

func (c UpdateDatabaseResponseOwnerType) MarshalJSON() ([]byte, error)

func (*UpdateDatabaseResponseOwnerType) UnmarshalJSON

func (c *UpdateDatabaseResponseOwnerType) UnmarshalJSON(b []byte) error

func (UpdateDatabaseResponseOwnerType) Value

type UpdateFunctionRequest

type UpdateFunctionRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 函数名字
	FunctionName string `json:"function_name"`

	Body *FunctionInput `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionRequest) String

func (o UpdateFunctionRequest) String() string

type UpdateFunctionResponse

type UpdateFunctionResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名字
	DatabaseName *string `json:"database_name,omitempty"`

	// 函数名
	FunctionName *string `json:"function_name,omitempty"`

	// 函数类型
	FunctionType *UpdateFunctionResponseFunctionType `json:"function_type,omitempty"`

	// 函数所有者
	Owner *string `json:"owner,omitempty"`

	// 所有者类型
	OwnerType *UpdateFunctionResponseOwnerType `json:"owner_type,omitempty"`

	// 函数类名
	ClassName *string `json:"class_name,omitempty"`

	// 创建时间格式为yyyy-mm-ddThh:mm:sss
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 函数地址信息
	ResourceUris   *[]FunctionResourceUri `json:"resource_uris,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (UpdateFunctionResponse) String

func (o UpdateFunctionResponse) String() string

type UpdateFunctionResponseFunctionType

type UpdateFunctionResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionResponseFunctionType) MarshalJSON

func (c UpdateFunctionResponseFunctionType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionResponseFunctionType) UnmarshalJSON

func (c *UpdateFunctionResponseFunctionType) UnmarshalJSON(b []byte) error

func (UpdateFunctionResponseFunctionType) Value

type UpdateFunctionResponseFunctionTypeEnum

type UpdateFunctionResponseFunctionTypeEnum struct {
	JAVA UpdateFunctionResponseFunctionType
}

func GetUpdateFunctionResponseFunctionTypeEnum

func GetUpdateFunctionResponseFunctionTypeEnum() UpdateFunctionResponseFunctionTypeEnum

type UpdateFunctionResponseOwnerType

type UpdateFunctionResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionResponseOwnerType) MarshalJSON

func (c UpdateFunctionResponseOwnerType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionResponseOwnerType) UnmarshalJSON

func (c *UpdateFunctionResponseOwnerType) UnmarshalJSON(b []byte) error

func (UpdateFunctionResponseOwnerType) Value

type UpdateLakeFormationInstance

type UpdateLakeFormationInstance struct {

	// 实例名称
	Name string `json:"name"`

	// 实例描述
	Description *string `json:"description,omitempty"`
}

修改实例信息

func (UpdateLakeFormationInstance) String

type UpdateLakeFormationInstanceRequest

type UpdateLakeFormationInstanceRequest struct {

	// LakeFormation实例ID
	InstanceId string `json:"instance_id"`

	Body *UpdateLakeFormationInstance `json:"body,omitempty"`
}

Request Object

func (UpdateLakeFormationInstanceRequest) String

type UpdateLakeFormationInstanceResponse

type UpdateLakeFormationInstanceResponse struct {

	// LakeFormation实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 企业项目Id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 逻辑多租和物理多租的判断
	Shared *bool `json:"shared,omitempty"`

	// 实例创建时间戳
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 实例更新时间戳
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 实例状态
	Status *string `json:"status,omitempty"`

	// 是否在回收站
	InRecycleBin   *bool `json:"in_recycle_bin,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (UpdateLakeFormationInstanceResponse) String

type UpdateRoleRequest

type UpdateRoleRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// 角色名称
	RoleName string `json:"role_name"`

	Body *AlterRoleInput `json:"body,omitempty"`
}

Request Object

func (UpdateRoleRequest) String

func (o UpdateRoleRequest) String() string

type UpdateRoleResponse

type UpdateRoleResponse struct {

	// role名字
	RoleName *string `json:"role_name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 主体来源 IAM云用户 SAML联邦 LDAP ld用户 LOCAL 本地用户 OTHER 其它
	PrincipalSource *UpdateRoleResponsePrincipalSource `json:"principal_source,omitempty"`
	HttpStatusCode  int                                `json:"-"`
}

Response Object

func (UpdateRoleResponse) String

func (o UpdateRoleResponse) String() string

type UpdateRoleResponsePrincipalSource

type UpdateRoleResponsePrincipalSource struct {
	// contains filtered or unexported fields
}

func (UpdateRoleResponsePrincipalSource) MarshalJSON

func (c UpdateRoleResponsePrincipalSource) MarshalJSON() ([]byte, error)

func (*UpdateRoleResponsePrincipalSource) UnmarshalJSON

func (c *UpdateRoleResponsePrincipalSource) UnmarshalJSON(b []byte) error

func (UpdateRoleResponsePrincipalSource) Value

type UpdateTableRequest

type UpdateTableRequest struct {

	// 实例Id
	InstanceId string `json:"instance_id"`

	// catalog名字
	CatalogName string `json:"catalog_name"`

	// 数据库名字
	DatabaseName string `json:"database_name"`

	// 表名称
	TableName string `json:"table_name"`

	Body *AlterTableInput `json:"body,omitempty"`
}

Request Object

func (UpdateTableRequest) String

func (o UpdateTableRequest) String() string

type UpdateTableResponse

type UpdateTableResponse struct {

	// catalog名字
	CatalogName *string `json:"catalog_name,omitempty"`

	// 数据库名字
	DatabaseName *string `json:"database_name,omitempty"`

	// 表名字
	TableName *string `json:"table_name,omitempty"`

	// 表创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 最后访问时间
	LastAccessTime *sdktime.SdkTime `json:"last_access_time,omitempty"`

	// 表元数据最后一次修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 上一次做列级别的统计信息计算的时间
	LastAnalyzedTime *sdktime.SdkTime `json:"last_analyzed_time,omitempty"`

	// 用户信息
	Owner *string `json:"owner,omitempty"`

	// 用户类型
	OwnerType *UpdateTableResponseOwnerType `json:"owner_type,omitempty"`

	// 参数
	Parameters map[string]string `json:"parameters,omitempty"`

	// 表分区列的列表
	PartitionKeys *[]Column `json:"partition_keys,omitempty"`

	// 表保留时间
	Retention *int32 `json:"retention,omitempty"`

	StorageDescriptor *StorageDescriptor `json:"storage_descriptor,omitempty"`

	// 表类型
	TableType *UpdateTableResponseTableType `json:"table_type,omitempty"`

	// 表描述信息
	Comments *string `json:"comments,omitempty"`

	// 如果表是视图,则为视图的扩展文本;否则为 null
	ViewExpandedText *string `json:"view_expanded_text,omitempty"`

	// 如果表是视图,则为视图的原始文本;否则为 null
	ViewOriginalText *string `json:"view_original_text,omitempty"`
	HttpStatusCode   int     `json:"-"`
}

Response Object

func (UpdateTableResponse) String

func (o UpdateTableResponse) String() string

type UpdateTableResponseOwnerType

type UpdateTableResponseOwnerType struct {
	// contains filtered or unexported fields
}

func (UpdateTableResponseOwnerType) MarshalJSON

func (c UpdateTableResponseOwnerType) MarshalJSON() ([]byte, error)

func (*UpdateTableResponseOwnerType) UnmarshalJSON

func (c *UpdateTableResponseOwnerType) UnmarshalJSON(b []byte) error

func (UpdateTableResponseOwnerType) Value

type UpdateTableResponseOwnerTypeEnum

type UpdateTableResponseOwnerTypeEnum struct {
	USER  UpdateTableResponseOwnerType
	GROUP UpdateTableResponseOwnerType
	ROLE  UpdateTableResponseOwnerType
}

func GetUpdateTableResponseOwnerTypeEnum

func GetUpdateTableResponseOwnerTypeEnum() UpdateTableResponseOwnerTypeEnum

type UpdateTableResponseTableType

type UpdateTableResponseTableType struct {
	// contains filtered or unexported fields
}

func (UpdateTableResponseTableType) MarshalJSON

func (c UpdateTableResponseTableType) MarshalJSON() ([]byte, error)

func (*UpdateTableResponseTableType) UnmarshalJSON

func (c *UpdateTableResponseTableType) UnmarshalJSON(b []byte) error

func (UpdateTableResponseTableType) Value

type UpdateTableResponseTableTypeEnum

type UpdateTableResponseTableTypeEnum struct {
	MANAGED_TABLE     UpdateTableResponseTableType
	EXTERNAL_TABLE    UpdateTableResponseTableType
	VIRTUAL_VIEW      UpdateTableResponseTableType
	MATERIALIZED_VIEW UpdateTableResponseTableType
}

func GetUpdateTableResponseTableTypeEnum

func GetUpdateTableResponseTableTypeEnum() UpdateTableResponseTableTypeEnum

type UserGroup

type UserGroup struct {

	// 用户组名
	GroupName string `json:"group_name"`

	// 用户组类型
	GroupSource UserGroupGroupSource `json:"group_source"`

	// 用户组id
	GroupId string `json:"group_id"`
}

usergroup

func (UserGroup) String

func (o UserGroup) String() string

type UserGroupGroupSource

type UserGroupGroupSource struct {
	// contains filtered or unexported fields
}

func (UserGroupGroupSource) MarshalJSON

func (c UserGroupGroupSource) MarshalJSON() ([]byte, error)

func (*UserGroupGroupSource) UnmarshalJSON

func (c *UserGroupGroupSource) UnmarshalJSON(b []byte) error

func (UserGroupGroupSource) Value

func (c UserGroupGroupSource) Value() string

type UserGroupGroupSourceEnum

type UserGroupGroupSourceEnum struct {
	IAM   UserGroupGroupSource
	SAML  UserGroupGroupSource
	LDAP  UserGroupGroupSource
	LOCAL UserGroupGroupSource
	OTHER UserGroupGroupSource
}

func GetUserGroupGroupSourceEnum

func GetUserGroupGroupSourceEnum() UserGroupGroupSourceEnum

type UserRole

type UserRole struct {

	// 主体类型 USER用户 GROUP组
	PrincipalType UserRolePrincipalType `json:"principal_type"`

	// 主体名称
	PrincipalName string `json:"principal_name"`

	// 主体来源 IAM云用户 SAML联邦 LDAP ld用户 LOCAL 本地用户 OTHER 其它
	PrincipalSource UserRolePrincipalSource `json:"principal_source"`
}

角色拥有的用户/用户模型

func (UserRole) String

func (o UserRole) String() string

type UserRolePrincipalSource

type UserRolePrincipalSource struct {
	// contains filtered or unexported fields
}

func (UserRolePrincipalSource) MarshalJSON

func (c UserRolePrincipalSource) MarshalJSON() ([]byte, error)

func (*UserRolePrincipalSource) UnmarshalJSON

func (c *UserRolePrincipalSource) UnmarshalJSON(b []byte) error

func (UserRolePrincipalSource) Value

func (c UserRolePrincipalSource) Value() string

type UserRolePrincipalType

type UserRolePrincipalType struct {
	// contains filtered or unexported fields
}

func (UserRolePrincipalType) MarshalJSON

func (c UserRolePrincipalType) MarshalJSON() ([]byte, error)

func (*UserRolePrincipalType) UnmarshalJSON

func (c *UserRolePrincipalType) UnmarshalJSON(b []byte) error

func (UserRolePrincipalType) Value

func (c UserRolePrincipalType) Value() string

type UserRolePrincipalTypeEnum

type UserRolePrincipalTypeEnum struct {
	USER  UserRolePrincipalType
	GROUP UserRolePrincipalType
}

func GetUserRolePrincipalTypeEnum

func GetUserRolePrincipalTypeEnum() UserRolePrincipalTypeEnum

type ValidityInterval

type ValidityInterval struct {

	// 日
	Days *int32 `json:"days,omitempty"`

	// 时
	Hours *int32 `json:"hours,omitempty"`

	// 分
	Minutes *int32 `json:"minutes,omitempty"`
}

func (ValidityInterval) String

func (o ValidityInterval) String() string

type ValidityRecurrence

type ValidityRecurrence struct {
	Interval *ValidityInterval `json:"interval,omitempty"`

	Schedule *RecurrenceSchedule `json:"schedule,omitempty"`
}

func (ValidityRecurrence) String

func (o ValidityRecurrence) String() string

type ValiditySchedule

type ValiditySchedule struct {

	// end时间
	EndTime *string `json:"end_time,omitempty"`

	// 策略递归
	Recurrences *[]ValidityRecurrence `json:"recurrences,omitempty"`

	// 开始时间
	StartTime *string `json:"start_time,omitempty"`

	// 时间域
	TimeZone *string `json:"time_zone,omitempty"`
}

func (ValiditySchedule) String

func (o ValiditySchedule) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL