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