* @throws DriverException
*/
public void setFieldValue(long rowIndex, Value oldGeometry, Value newGeometry) throws DriverException {
if (!(oldGeometry instanceof NullValue)) {
IGeometry g = (IGeometry) oldGeometry;
if (isIndexed()) {
index.remove(g.getBounds2D(), new Integer((int) rowIndex));
}
}
if (!(newGeometry instanceof NullValue)) {
IGeometry g = (IGeometry) newGeometry;
recalculateExtent = true;
if (isIndexed()) {
index.add(g.getBounds2D(), new Integer((int) rowIndex));
}
}
getBounds().set((int) rowIndex, null);
}