Interface ExportDataConsumer
- All Known Implementing Classes:
StreamingExportDataConsumer
public interface ExportDataConsumer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptRows
(List<Object[]> rows) Called once for every loaded partition of rows.void
end()
Called once after all rows have been fetched.void
start
(List<ExportColumn> columns) Called once at beginning.
-
Method Details
-
start
Called once at beginning.- Parameters:
columns
- the columns for the export- Throws:
IOException
-
acceptRows
Called once for every loaded partition of rows. So, this method is potentially called multiple times.- Parameters:
rows
- the rows of the loaded partition- Throws:
IOException
-
end
Called once after all rows have been fetched.- Throws:
IOException
-