public interface ShapeRecordWriter<S extends Shape>
Modifier and Type | Method and Description |
---|---|
void |
close(Progressable progressable)
Closes this writer
|
void |
setStockObject(S shape)
Sets a stock object used to serialize/deserialize objects when written to
disk.
|
void |
write(NullWritable dummy,
S shape)
Writes the given shape to the file to all cells it overlaps with
|
void write(NullWritable dummy, S shape) throws java.io.IOException
dummyId
- shape
- java.io.IOException
void setStockObject(S shape)
shape
- void close(Progressable progressable) throws java.io.IOException
reporter
- java.io.IOException