![JAR search and dependency download from the Maven repository](/logo.png)
com.codetaco.funnel.FunnelDataProvider Maven / Gradle / Ivy
package com.codetaco.funnel;
import java.io.IOException;
import java.text.ParseException;
/**
*
* FunnelDataProvider interface.
*
*
* @author Chris DeGreef [email protected]
*/
public interface FunnelDataProvider
{
/**
*
* actualNumberOfRows.
*
*
* @return a long.
*/
public long actualNumberOfRows();
/**
*
* attachTo.
*
*
* @param item a {@link com.codetaco.funnel.FunnelItem} object.
*/
public void attachTo(FunnelItem item);
/**
*
* close.
*
*
* @throws java.io.IOException if any.
* @throws java.text.ParseException if any.
*/
public void close() throws IOException, ParseException;
/**
*
* maximumNumberOfRows.
*
*
* @return a long.
*/
public long maximumNumberOfRows();
/**
*
* next.
*
*
* @param item a {@link com.codetaco.funnel.FunnelItem} object.
* @param phase a long.
* @return a boolean.
* @throws java.io.IOException if any.
* @throws java.text.ParseException if any.
*/
public boolean next(FunnelItem item, long phase) throws IOException, ParseException;
/**
*
* reset.
*
*
* @throws java.io.IOException if any.
* @throws java.text.ParseException if any.
*/
public void reset() throws IOException, ParseException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy