文档
测试

View Cube

GET
http://192.168.88.132:7070/kylin/api/cubes/{cubeName}

接口描述

获取某个cube的基本信息

请求头

参数名
类型
描述
必填
Authorization
string
示例:QURNSU46S1lMSU4=
必填
Content-Type
string
示例:application/json
必填

响应参数

参数名
类型
描述
必填
uuid
string
示例:498f6d01-c8b4-afe8-cf63-779d3e9423f1
必填
last_modified
number
示例:1588044874332
必填
version
string
示例:2.6.0.20500
必填
name
string
示例:Tcube
必填
owner
string
示例:ADMIN
必填
descriptor
string
示例:Tcube
必填
display_name
string
示例:Tcube
必填
cost
number
示例:50
必填
status
string
示例:DISABLED
必填
segments
array
数据列表
必填
create_time_utc
number
示例:1588044874332
必填
cuboid_bytes
object
示例:null
必填
cuboid_bytes_recommend
object
示例:null
必填
cuboid_last_optimized
number
示例:0
必填
snapshots
object
数据字典
必填

说明 / 示例

响应说明: segments:cube中被计算出来的数据的相关描述及存储信息 如果该cube没有呗构建,segment是空,如果已经被成功构建,segments如下: "segments": [{ "uuid": "0cf00549-639a-c102-2dbc-984ded580d87", "name": "FULL_BUILD", "storage_location_identifier": "KYLIN_4PI0RYCSVL", "date_range_start": 0, "date_range_end": 9223372036854775807, "source_offset_start": 0, "source_offset_end": 0, "status": "READY", "size_kb": 5, "input_records": 14, "input_records_size": 219, "last_build_time": 1588065405144, "last_build_job_id": "9f67b428-86e7-c62f-dea6-e5a5cd9d61a9", "create_time_utc": 1588065188347, "cuboid_shard_nums": { }, "total_shards": 1, "blackout_cuboids": [], "binary_signature": null, "dictionaries": { "EMP.MGR": "/dict/KYLIN_TEST.EMP/MGR/c314b94f-2f31-f641-38dc-498c038025df.dict", "EMP.DEPTNO": "/dict/KYLIN_TEST.EMP/DEPTNO/53aefadc-677d-b0ca-a37a-ea4e9039530f.dict", "EMP.JOB": "/dict/KYLIN_TEST.EMP/JOB/fdc61058-5994-f6e7-f545-bd13fc5f805d.dict" }, "snapshots": { "KYLIN_TEST.DEPT": "/table_snapshot/KYLIN_TEST.DEPT/8df1b352-c8e8-d025-db76-b7d9851b24b0.snapshot" }, "rowkey_stats": [["EMP.DEPTNO", 3, 1], ["EMP.JOB", 5, 1], ["EMP.MGR", 6, 1]], "stream_source_checkpoint": null, "dimension_range_info_map": { "EMP.MGR": { "min": "7566", "max": "7902" }, "EMP.DEPTNO": { "min": "10", "max": "30" }, "EMP.JOB": { "min": "ANALYST", "max": "SALESMAN" } } }]