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

Alachisoft.NCache.Common.DataReader.RecordSet Maven / Gradle / Ivy

package Alachisoft.NCache.Common.DataReader;

//  Copyright (c) 2020 Alachisoft
//  
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//  
//     http://www.apache.org/licenses/LICENSE-2.0
//  
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License
public interface RecordSet {
    /**
     * Adds  in current 
     *
     * @param column  to be added
     */
    void addColumn(RecordColumn column);

    /**
     * Returns new  with column matadata of current 
     *
     * @return Newly created 
     */
    RecordRow createRow();

    /**
     * Adds row to current 
     *
     * @param row  to be added in current 
     */
    void addRow(RecordRow row);

    /**
     * Gets  associated with rowID
     *
     * @param rowID Index of  required
     * @return Required  accoring to rowID
     */
    RecordRow getRow(int rowID);

    boolean containsRow(int rowID);

    /**
     * Removes  associated with rowID
     *
     * @param rowID Index of  to be removed
     */
    void removeRow(int rowID);

    /**
     * Removes specified rows range from current 
     *
     * @param count Total number of rows to be removed.
     * @return Number of rows removed
     */
    int removeRows(int startingRowID, int count);


    ColumnCollection getColumnMetaData();


    /**
     * Gets number of rows in current 
     */
    int getRowCount();

    /**
     * Gets  for current 
     *
     * @return
     */
    RecordSetEnumerator getEnumerator();

    SubsetInfo getSubsetInfo();

    void setSubsetInfo(SubsetInfo value);

    /**
     * Returns  present in current 
     */
    RowCollection getRows();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy