Interface BlockWriter.RowWriter
-
- Enclosing interface:
- BlockWriter
public static interface BlockWriter.RowWriter
The interface you should implement for writing to a Block via the inverted ownership model offered by BlockWriter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
writeRows(Block block, int rowNum)
Used to accumulate rows as part of a block.
-
-
-
Method Detail
-
writeRows
int writeRows(Block block, int rowNum) throws Exception
Used to accumulate rows as part of a block.- Parameters:
block
- The block you can add your row to.rowNum
- The row number in that block that the next row represents.- Returns:
- The number of rows that were added
- Throws:
Exception
- internal exception.
-
-