Package org.apache.nifi.sql
Interface ResettableDataSource
public interface ResettableDataSource
A Source of data for a database
-
Method Details
-
getSchema
NiFiTableSchema getSchema()- Returns:
- the schema that the rows returned by the
RowStreamwill adhere to
-
reset
Resets the data source and establishes aRowStreamthat can be used for iterating over data- Returns:
- the newly established RowStream
- Throws:
IOException- if unable to obtain a RowStream due to IO failures
-