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

com.ivanceras.db.api.DAO_DataSet Maven / Gradle / Ivy

There is a newer version: 0.1.2
Show newest version
package com.ivanceras.db.api;

import java.sql.ResultSet;
import java.util.Map;

import com.ivanceras.db.model.ModelMetaData;
import com.ivanceras.db.server.core.DB_Jdbc;
import com.ivanceras.db.shared.DAO;
import com.ivanceras.db.shared.exception.DatabaseException;

/**
 * For fetching a really huge amount of data
 * @author lee
 *
 */
public interface DAO_DataSet {

	public void init(ModelMetaData meta, ModelDef model, ResultSet rs, boolean autoCast, DB_Jdbc jdbc);

	public void setSelectAllColumns(Boolean selectAllColumns);
	public void setDistintColumns(String[] distinctColumns);
	public void setAggrs(Aggregate[] aggrs);
	public void setRenamedColumns(Map renamedColumns);

	public  T get() throws DatabaseException;

	public boolean next() throws DatabaseException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy