1 21 22 package org.apache.derby.iapi.sql.conn; 23 24 import org.apache.derby.iapi.services.context.Context; 25 26 import org.apache.derby.iapi.error.StandardException; 27 28 import org.apache.derby.iapi.sql.execute.NoPutResultSet; 29 30 import org.apache.derby.iapi.sql.Activation; 31 import org.apache.derby.iapi.sql.PreparedStatement; 32 import org.apache.derby.iapi.sql.ResultSet; 33 import org.apache.derby.iapi.sql.ParameterValueSet; 34 35 import org.apache.derby.iapi.sql.depend.Dependency; 36 37 import org.apache.derby.iapi.types.DataValueFactory; 38 import org.apache.derby.iapi.sql.LanguageFactory; 39 40 43 public interface StatementContext extends Context { 44 45 61 public void setInUse(boolean inTrigger, boolean isAtomic, boolean isForReadOnly, 62 String stmtText, ParameterValueSet pvs, long timeoutMillis); 63 64 70 public void clearInUse(); 71 72 79 public void setSavePoint() throws StandardException; 80 81 88 public void resetSavePoint() throws StandardException; 89 90 95 public void clearSavePoint() throws StandardException; 96 97 106 public void setTopResultSet(ResultSet topResultSet, 107 NoPutResultSet[] subqueryTrackingArray) 108 throws StandardException; 109 110 121 public void setSubqueryResultSet(int subqueryNumber, 122 NoPutResultSet subqueryResultSet, 123 int numSubqueries) 124 throws StandardException; 125 126 133 public NoPutResultSet[] getSubqueryTrackingArray() 134 throws StandardException; 135 136 137 146 public void addDependency(Dependency dy) 147 throws StandardException; 148 149 154 public boolean onStack(); 155 156 162 public boolean inTrigger(); 163 164 171 public boolean isAtomic(); 172 173 178 public boolean inUse(); 179 180 185 public boolean isForReadOnly(); 186 187 188 194 public boolean isCancelled(); 195 196 202 public void cancel(); 203 204 213 public String getStatementText(); 214 215 224 public void setSQLAllowed(short allow, boolean force); 225 226 229 public short getSQLAllowed(); 230 231 232 236 public void setSystemCode(); 237 238 241 public boolean getSystemCode(); 242 243 250 public void setParentRollback(); 251 252 } 253 | Popular Tags |