Interface BlockWriter
-
- All Known Subinterfaces:
BlockSpiller
- All Known Implementing Classes:
S3BlockSpiller
,SimpleBlockWriter
public interface BlockWriter
Defines an abstraction that can be used to write to a Block without owning the lifecycle of the Block.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description 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 ConstraintEvaluator
getConstraintEvaluator()
Provides access to the ConstraintEvaluator that will be applied to the generated Blocks.void
writeRows(BlockWriter.RowWriter rowWriter)
Used to write rows via the BlockWriter.
-
-
-
Method Detail
-
writeRows
void writeRows(BlockWriter.RowWriter rowWriter)
Used to write rows via the BlockWriter.- Parameters:
rowWriter
- The RowWriter that the BlockWriter should use to write rows into the Block(s) it is managing.
-
getConstraintEvaluator
ConstraintEvaluator getConstraintEvaluator()
Provides access to the ConstraintEvaluator that will be applied to the generated Blocks.
-
-