S - public class GridRecordWriter2<S extends Shape> extends GridRecordWriter<S>
NullWritable(i.e., not provided) and the value
is a shape. The given shape is replicated to every cell it overlaps with.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 |
|---|
GridRecordWriter2(JobConf job,
java.lang.String name,
CellInfo[] cells) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Reporter reporter)
Close the whole writer.
|
void |
write(NullWritable 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, writeInternalpublic GridRecordWriter2(JobConf job,
java.lang.String name,
CellInfo[] cells)
throws java.io.IOException
java.io.IOExceptionpublic void write(NullWritable key,
S value)
throws java.io.IOException
ShapeRecordWriterwrite in interface ShapeRecordWriter<S extends Shape>write in class GridRecordWriter<S extends Shape>java.io.IOExceptionpublic void close(Reporter reporter)
throws java.io.IOException
GridRecordWriterclose in interface ShapeRecordWriter<S extends Shape>close in class GridRecordWriter<S extends Shape>java.io.IOException