Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DwDatabase ¶
type DwDatabase struct {
/* 数据库id (Optional) */
Id int `json:"id"`
/* 用户名 (Optional) */
UserName string `json:"userName"`
/* 数据库名称 */
DatabaseName string `json:"databaseName"`
/* 总表数量 (Optional) */
TotalTableQuantity int `json:"totalTableQuantity"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 最新更新时间 (Optional) */
LastUpdateTime string `json:"lastUpdateTime"`
/* 最新更新时间 (Optional) */
PhysicalStorageCapacity string `json:"physicalStorageCapacity"`
/* 类别 (Optional) */
Category string `json:"category"`
/* 来源 (Optional) */
Source string `json:"source"`
/* 所有者 (Optional) */
Owner string `json:"owner"`
/* 位置 (Optional) */
Location string `json:"location"`
/* 描述信息 (Optional) */
Comments string `json:"comments"`
}
type DwDatabaseInfo ¶
type DwHiveObjectPrivileges ¶
type DwHiveObjectPrivileges struct {
/* 状态 (Optional) */
Status bool `json:"status"`
/* 返回信息 (Optional) */
Message string `json:"message"`
/* select权限 (Optional) */
Select bool `json:"select"`
/* insert权限 (Optional) */
Insert bool `json:"insert"`
/* update权限 (Optional) */
Update bool `json:"update"`
/* delete权限 (Optional) */
Delete bool `json:"delete"`
/* drop权限 (Optional) */
Drop bool `json:"drop"`
/* create权限 (Optional) */
Create bool `json:"create"`
/* alter权限 (Optional) */
Alter bool `json:"alter"`
/* 是否为此表所有者 (Optional) */
Owner bool `json:"owner"`
}
type DwInstance ¶
type DwInstance struct {
/* 实例名 */
InstanceName string `json:"instanceName"`
/* 实例描述 (Optional) */
Comments string `json:"comments"`
/* 实例属主 (Optional) */
InstanceOwnerName string `json:"instanceOwnerName"`
/* 实例所属区域 (Optional) */
Area string `json:"area"`
/* 实例别名(在页面显示) (Optional) */
Uname string `json:"uname"`
/* 实例创建时间 (Optional) */
CreateTime string `json:"createTime"`
}
type DwTable ¶
type DwTable struct {
/* 数据库id (Optional) */
Id int `json:"id"`
/* 用户名 (Optional) */
UserName string `json:"userName"`
/* 数据库名 (Optional) */
DbName string `json:"dbName"`
/* 表名 (Optional) */
TableName string `json:"tableName"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 最新更新时间 (Optional) */
LastUpdateTime string `json:"lastUpdateTime"`
/* 物理存储量 (Optional) */
PhysicalStorageCapacity string `json:"physicalStorageCapacity"`
/* 类别 (Optional) */
Category string `json:"category"`
/* 来源 (Optional) */
Source string `json:"source"`
/* 所有者 (Optional) */
Owner string `json:"owner"`
/* 文件存储类型 (Optional) */
HiveFileFormat string `json:"hiveFileFormat"`
/* 是否加密 (Optional) */
Encryption string `json:"encryption"`
/* 位置 (Optional) */
Location string `json:"location"`
/* 描述信息 (Optional) */
Comments string `json:"comments"`
/* hive表权限信息 (Optional) */
HiveObjectPrivileges DwHiveObjectPrivileges `json:"hiveObjectPrivileges"`
/* 参数 (Optional) */
Parameters interface{} `json:"parameters"`
}
type DwTableDesc ¶
type DwTableDesc struct {
/* 数据库名 (Optional) */
DbName *string `json:"dbName"`
/* 表名 (Optional) */
TableName *string `json:"tableName"`
/* 存储格式 (Optional) */
HiveFileFormat *string `json:"hiveFileFormat"`
/* 字段分隔符 (Optional) */
FieldsDelimit *string `json:"fieldsDelimit"`
/* 行分隔符 (Optional) */
LinesDelimit *string `json:"linesDelimit"`
/* 其他serde属性 (Optional) */
OtherSerdeProperties *interface{} `json:"otherSerdeProperties"`
/* 创建时间(自动生成) (Optional) */
CreateTime *string `json:"createTime"`
/* 所有者(自动生成) (Optional) */
Owner *string `json:"owner"`
/* 描述信息 (Optional) */
Comments *string `json:"comments"`
/* 外表位置 (Optional) */
ExternalLocation *string `json:"externalLocation"`
/* 参数 (Optional) */
Parameters *interface{} `json:"parameters"`
/* 列信息 (Optional) */
Rows []DwTableRow `json:"rows"`
}
Click to show internal directories.
Click to hide internal directories.