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

com.aliyun.openservices.log.request.GetAsyncSqlRequest Maven / Gradle / Ivy

There is a newer version: 0.6.3
Show newest version
package com.aliyun.openservices.log.request;

import java.util.HashMap;
import java.util.Map;

public class GetAsyncSqlRequest extends Request {
    private final String queryId;
    private final int offset;
    private final int lines;

    public GetAsyncSqlRequest(String project, String queryId, int offset, int lines) {
        super(project);
        this.queryId = queryId;
        this.offset = offset;
        this.lines = lines;
    }

    public String getQueryId() {
        return queryId;
    }

    public int getOffset() {
        return offset;
    }

    public int getLines() {
        return lines;
    }

    @Override
    public Map GetAllParams() {
        Map params = new HashMap<>();
        params.put("offset", String.valueOf(offset));
        params.put("line", String.valueOf(lines));
        return params;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy