All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dataworks_public20200518.models.GetMetaTablePartitionResponseBody Maven / Gradle / Ivy

There is a newer version: 6.1.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dataworks_public20200518.models;

import com.aliyun.tea.*;

public class GetMetaTablePartitionResponseBody extends TeaModel {
    /**
     * 

The returned result.

*/ @NameInMap("Data") public GetMetaTablePartitionResponseBodyData data; /** *

The error code returned.

* * example: *

Invalid.Tenant.ConnectionNotExists

*/ @NameInMap("ErrorCode") public String errorCode; /** *

The error message returned.

* * example: *

The connection does not exist.

*/ @NameInMap("ErrorMessage") public String errorMessage; /** *

The HTTP status code returned.

* * example: *

200

*/ @NameInMap("HttpStatusCode") public Integer httpStatusCode; /** *

The request ID.

* * example: *

0bc1ec92159376

*/ @NameInMap("RequestId") public String requestId; /** *

Indicates whether the request was successful.

* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static GetMetaTablePartitionResponseBody build(java.util.Map map) throws Exception { GetMetaTablePartitionResponseBody self = new GetMetaTablePartitionResponseBody(); return TeaModel.build(map, self); } public GetMetaTablePartitionResponseBody setData(GetMetaTablePartitionResponseBodyData data) { this.data = data; return this; } public GetMetaTablePartitionResponseBodyData getData() { return this.data; } public GetMetaTablePartitionResponseBody setErrorCode(String errorCode) { this.errorCode = errorCode; return this; } public String getErrorCode() { return this.errorCode; } public GetMetaTablePartitionResponseBody setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } public String getErrorMessage() { return this.errorMessage; } public GetMetaTablePartitionResponseBody setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public GetMetaTablePartitionResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public GetMetaTablePartitionResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class GetMetaTablePartitionResponseBodyDataDataEntityList extends TeaModel { /** *

The comment.

* * example: *

test

*/ @NameInMap("Comment") public String comment; /** *

The time when the partition was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

* * example: *

1590032868000

*/ @NameInMap("CreateTime") public Long createTime; /** *

The size of the partition. Unit: bytes.

* * example: *

19

*/ @NameInMap("DataSize") public Long dataSize; /** *

The time when the partition was modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

* * example: *

1590032868000

*/ @NameInMap("ModifiedTime") public Long modifiedTime; /** *

The GUID of the partition.

* * example: *

odps.engine_name.table_name.pt=20170614

*/ @NameInMap("PartitionGuid") public String partitionGuid; /** *

The location of the Hive partition.

* * example: *

abc

*/ @NameInMap("PartitionLocation") public String partitionLocation; /** *

The name of the partition.

* * example: *

pt=20170614

*/ @NameInMap("PartitionName") public String partitionName; /** *

The path of the partition.

* * example: *

abc

*/ @NameInMap("PartitionPath") public String partitionPath; /** *

The type of the partition.

* * example: *

abc

*/ @NameInMap("PartitionType") public String partitionType; /** *

The number of entries in the partition.

* * example: *

233

*/ @NameInMap("RecordCount") public Long recordCount; /** *

The unique identifier of the metatable.

* * example: *

odps.engine_name.table_name

*/ @NameInMap("TableGuid") public String tableGuid; public static GetMetaTablePartitionResponseBodyDataDataEntityList build(java.util.Map map) throws Exception { GetMetaTablePartitionResponseBodyDataDataEntityList self = new GetMetaTablePartitionResponseBodyDataDataEntityList(); return TeaModel.build(map, self); } public GetMetaTablePartitionResponseBodyDataDataEntityList setComment(String comment) { this.comment = comment; return this; } public String getComment() { return this.comment; } public GetMetaTablePartitionResponseBodyDataDataEntityList setCreateTime(Long createTime) { this.createTime = createTime; return this; } public Long getCreateTime() { return this.createTime; } public GetMetaTablePartitionResponseBodyDataDataEntityList setDataSize(Long dataSize) { this.dataSize = dataSize; return this; } public Long getDataSize() { return this.dataSize; } public GetMetaTablePartitionResponseBodyDataDataEntityList setModifiedTime(Long modifiedTime) { this.modifiedTime = modifiedTime; return this; } public Long getModifiedTime() { return this.modifiedTime; } public GetMetaTablePartitionResponseBodyDataDataEntityList setPartitionGuid(String partitionGuid) { this.partitionGuid = partitionGuid; return this; } public String getPartitionGuid() { return this.partitionGuid; } public GetMetaTablePartitionResponseBodyDataDataEntityList setPartitionLocation(String partitionLocation) { this.partitionLocation = partitionLocation; return this; } public String getPartitionLocation() { return this.partitionLocation; } public GetMetaTablePartitionResponseBodyDataDataEntityList setPartitionName(String partitionName) { this.partitionName = partitionName; return this; } public String getPartitionName() { return this.partitionName; } public GetMetaTablePartitionResponseBodyDataDataEntityList setPartitionPath(String partitionPath) { this.partitionPath = partitionPath; return this; } public String getPartitionPath() { return this.partitionPath; } public GetMetaTablePartitionResponseBodyDataDataEntityList setPartitionType(String partitionType) { this.partitionType = partitionType; return this; } public String getPartitionType() { return this.partitionType; } public GetMetaTablePartitionResponseBodyDataDataEntityList setRecordCount(Long recordCount) { this.recordCount = recordCount; return this; } public Long getRecordCount() { return this.recordCount; } public GetMetaTablePartitionResponseBodyDataDataEntityList setTableGuid(String tableGuid) { this.tableGuid = tableGuid; return this; } public String getTableGuid() { return this.tableGuid; } } public static class GetMetaTablePartitionResponseBodyData extends TeaModel { /** *

The list of partitions.

*/ @NameInMap("DataEntityList") public java.util.List dataEntityList; /** *

The page number.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries per page. Default value: 10. Maximum value: 100.

* * example: *

10

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The total number of partitions.

* * example: *

100

*/ @NameInMap("TotalCount") public Long totalCount; public static GetMetaTablePartitionResponseBodyData build(java.util.Map map) throws Exception { GetMetaTablePartitionResponseBodyData self = new GetMetaTablePartitionResponseBodyData(); return TeaModel.build(map, self); } public GetMetaTablePartitionResponseBodyData setDataEntityList(java.util.List dataEntityList) { this.dataEntityList = dataEntityList; return this; } public java.util.List getDataEntityList() { return this.dataEntityList; } public GetMetaTablePartitionResponseBodyData setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public GetMetaTablePartitionResponseBodyData setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public GetMetaTablePartitionResponseBodyData setTotalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Long getTotalCount() { return this.totalCount; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy