models

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 DwDatabaseInfo struct {

	/* 所有者 (Optional) */
	Owner string `json:"owner"`

	/* 描述信息 (Optional) */
	Comments string `json:"comments"`

	/* 数据库名称 (Optional) */
	DatabaseName string `json:"databaseName"`
}

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"`
}

type DwTableRow

type DwTableRow struct {

	/* 字段名称 (Optional) */
	ColumnName *string `json:"columnName"`

	/* 字段类型 (Optional) */
	ColumnType *string `json:"columnType"`

	/* 是否分区字段 (Optional) */
	IsPartition *bool `json:"isPartition"`

	/* 描述信息 (Optional) */
	Comments *string `json:"comments"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL