S
- public class GridRecordWriter3<S extends Shape> extends GridRecordWriter<S>
blockSize, cells, cellsMbr, closingThreads, ExpandedIndexes, fileSystem, intermediateCellPath, intermediateCellRecordCount, intermediateCellSize, intermediateCellStreams, jobConf, LOG, masterFile, NEW_LINE, outDir, pack, PackedIndexes, prefix, ReplicatedIndexes, stockObject, text
Constructor and Description |
---|
GridRecordWriter3(JobConf job,
java.lang.String name,
CellInfo[] cells) |
Modifier and Type | Method and Description |
---|---|
void |
close(Reporter reporter)
Close the whole writer.
|
void |
write(Rectangle key,
S value)
Writes the given shape to the file to all cells it overlaps with
|
closeCell, closeCellBackground, createFinalCellStream, flushAllEntries, getFilePath, getFinalCellPath, getIntermediateCellStream, getMasterFilePath, setStockObject, writeInternal
public GridRecordWriter3(JobConf job, java.lang.String name, CellInfo[] cells) throws java.io.IOException
java.io.IOException
public void write(Rectangle key, S value) throws java.io.IOException
ShapeRecordWriter
write
in interface ShapeRecordWriter<S extends Shape>
write
in class GridRecordWriter<S extends Shape>
java.io.IOException
public void close(Reporter reporter) throws java.io.IOException
GridRecordWriter
close
in interface ShapeRecordWriter<S extends Shape>
close
in class GridRecordWriter<S extends Shape>
java.io.IOException