
cn.featherfly.data.core.DataSource Maven / Gradle / Ivy
package cn.featherfly.data.core;
import java.util.Collection;
/**
*
* 数据源
*
*
* @param
* DataSet
* @param
* Record
* @author 钟冀
*/
public interface DataSource, R> {
/**
*
* 获取指定索引的数据集
*
*
* @param index
* 索引
* @return 指定索引的数据集
*/
D getDataSet(int index);
/**
*
* 添加数据集
*
*
* @return 新添加的数据集
*/
D addDataSet();
/**
*
* 获取全部数据集
*
*
* @return 全部数据集
*/
Collection getDataSets();
/**
*
* 获取数据集数量
*
*
* @return 数据集数量
*/
int getDataSetsNumber();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy