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

com.alicloud.openservices.tablestore.model.sql.SQLResultSet Maven / Gradle / Ivy

Go to download

Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

The newest version!
package com.alicloud.openservices.tablestore.model.sql;

/**
 * Represents the data return collection of an SQL table
 */
public interface SQLResultSet {

    /**
     * Returns the Schema of the dataset
     *
     * @return
     */
    SQLTableMeta getSQLTableMeta();

    /**
     * Whether there is next data.
     * @return
     */
    boolean hasNext();

    /**
     * Return the next piece of data
     * @return
     */
    SQLRow next();

    /**
     * Return the total number of rows
     * @return
     */
    long rowCount();

    /**
     * Jump to the row at rowIndex
     *
     * @param rowIndex Column cursor
     * @return Returns true if the jump is successful, otherwise (e.g., out of bounds), returns false
     */
    boolean absolute(int rowIndex);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy