1 21 22 package org.apache.derby.iapi.sql.execute; 23 24 import org.apache.derby.iapi.services.context.ContextService; 25 import org.apache.derby.iapi.services.sanity.SanityManager; 26 27 import org.apache.derby.iapi.error.StandardException; 28 29 import org.apache.derby.iapi.sql.conn.LanguageConnectionContext; 30 import org.apache.derby.iapi.sql.dictionary.IndexRowGenerator; 31 32 import org.apache.derby.iapi.store.access.ConglomerateController; 33 import org.apache.derby.iapi.types.RowLocation; 34 import org.apache.derby.iapi.store.access.TransactionController; 35 36 39 public interface RowChanger 40 { 41 51 public void open(int lockMode) 52 throws StandardException; 53 54 63 public void setRowHolder(TemporaryRowHolder rowHolder); 64 65 70 public void setIndexNames(String [] indexNames); 71 72 86 public void openForUpdate( boolean[] fixOnUpdate, int lockMode, boolean wait ) 87 throws StandardException; 88 89 95 public void insertRow(ExecRow baseRow) 96 throws StandardException; 97 98 106 public void deleteRow(ExecRow baseRow, RowLocation baseRowLocation) 107 throws StandardException; 108 109 118 public void updateRow(ExecRow oldBaseRow, 119 ExecRow newBaseRow, 120 RowLocation baseRowLocation) 121 throws StandardException; 122 123 129 public void finish() 130 throws StandardException; 131 132 137 public void close() 138 throws StandardException; 139 140 147 public ConglomerateController getHeapConglomerateController(); 148 149 162 public void open(int lockMode, boolean wait) 163 throws StandardException; 164 } 165 | Popular Tags |