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

com.aliyun.datahub.client.model.GetCursorResult Maven / Gradle / Ivy

The newest version!
package com.aliyun.datahub.client.model;

import com.fasterxml.jackson.annotation.JsonProperty;

public class GetCursorResult extends BaseResult {
    /**
     * Cursor of the data. Then can read data with this cursor.
     */
    @JsonProperty("Cursor")
    private String cursor;

    /**
     * Record time of the data. This is the data writing time.
     */
    @JsonProperty("RecordTime")
    private long  timestamp;

    /**
     * Sequence of the data. Each data written in datahub has a sequence.
     */
    @JsonProperty("Sequence")
    private long  sequence;

    @JsonProperty("TotalLines")
    private long totalLines;

    @JsonProperty("TotalRawSize")
    private long TotalRawSize;

    @JsonProperty("TotalSize")
    private long TotalSize;

    @JsonProperty("PacketLines")
    private int packetLines;

    @JsonProperty("PacketRawSize")
    private int packetRawSize;

    @JsonProperty("PacketSize")
    private int packetSize;

    public String getCursor() {
        return cursor;
    }

    public void setCursor(String cursor) {
        this.cursor = cursor;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public long getSequence() {
        return sequence;
    }

    public void setSequence(long sequence) {
        this.sequence = sequence;
    }

    public long getTotalLines() {
        return totalLines;
    }

    public void setTotalLines(long totalLines) {
        this.totalLines = totalLines;
    }

    public long getTotalRawSize() {
        return TotalRawSize;
    }

    public void setTotalRawSize(long totalRawSize) {
        TotalRawSize = totalRawSize;
    }

    public long getTotalSize() {
        return TotalSize;
    }

    public void setTotalSize(long totalSize) {
        TotalSize = totalSize;
    }

    public int getPacketLines() {
        return packetLines;
    }

    public void setPacketLines(int packetLines) {
        this.packetLines = packetLines;
    }

    public int getPacketRawSize() {
        return packetRawSize;
    }

    public void setPacketRawSize(int packetRawSize) {
        this.packetRawSize = packetRawSize;
    }

    public int getPacketSize() {
        return packetSize;
    }

    public void setPacketSize(int packetSize) {
        this.packetSize = packetSize;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy