com.hardcode.gdbms.engine.data.command
Class IndexedSpatialInsertCommand

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.command.AbstractCommand
      extended by com.hardcode.gdbms.engine.data.command.IndexedSpatialInsertCommand
All Implemented Interfaces:
Command

public class IndexedSpatialInsertCommand
extends AbstractCommand
implements Command

Insertion command executed against a spatially indexed DataSource. Insertions in such DataSources are always after the last record

Author:
Fernando González Cortés

Field Summary
 
Fields inherited from class com.hardcode.gdbms.engine.data.command.AbstractCommand
commandStack, dataSource, index
 
Constructor Summary
IndexedSpatialInsertCommand(int index, EditableDataSource dataSource, Value[] insertedRow, CommandStack cs)
           
 
Method Summary
 void redo()
           
 void undo()
           
 
Methods inherited from class com.hardcode.gdbms.engine.data.command.AbstractCommand
getIndex, setIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedSpatialInsertCommand

public IndexedSpatialInsertCommand(int index,
                                   EditableDataSource dataSource,
                                   Value[] insertedRow,
                                   CommandStack cs)
Method Detail

redo

public void redo()
          throws DriverException
Specified by:
redo in interface Command
Throws:
DriverException

undo

public void undo()
          throws DriverException
Specified by:
undo in interface Command
Throws:
DriverException


Copyright © 2005-2006 . All Rights Reserved.