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

com.huaweicloud.dis.iface.app.response.PartitionConsumingState Maven / Gradle / Ivy

package com.huaweicloud.dis.iface.app.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PartitionConsumingState {

    /**
     * 

* 分区值。 *

*/ @JsonProperty("partition_id") private String partitionId; /** *

* 分区序列号。分区序列号是每个记录的唯一标识符。 *

*/ @JsonProperty("sequence_number") private String sequenceNumber; /** *

* 用户自定义元数据信息。 *

*/ @JsonProperty("metadata") private String metadata; /** *

* partition data latest offset *

*/ @JsonProperty("latest_offset") private Long latestOffset; /** *

* partition data earliest offset *

*/ @JsonProperty("earliest_offset") private Long earliestOffset; @JsonProperty("checkpoint_type") private String checkpointType; /** *

* 分区的当前状态。可能是以下某种状态: *

*
    *
  • *

    * CREATING - 创建中。 *

    *
  • *
  • *

    * ACTIVE - 运行中。 *

    *
  • *
  • *
  • *

    * DELETED - 已删除。 *

    *
  • *
  • *

    * EXPIRED - 已过期。 *

    *
  • *
*/ @JsonProperty("status") private String status; public String getPartitionId() { return partitionId; } public void setPartitionId(String partitionId) { this.partitionId = partitionId; } public String getSequenceNumber() { return sequenceNumber; } public void setSequenceNumber(String sequenceNumber) { this.sequenceNumber = sequenceNumber; } public String getMetadata() { return metadata; } public void setMetadata(String metadata) { this.metadata = metadata; } public String getCheckpointType() { return checkpointType; } public void setCheckpointType(String checkpointType) { this.checkpointType = checkpointType; } public Long getLatestOffset() { return latestOffset; } public void setLatestOffset(Long latestOffset) { this.latestOffset = latestOffset; } public Long getEarliestOffset() { return earliestOffset; } public void setEarliestOffset(Long earliestOffset) { this.earliestOffset = earliestOffset; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy