1 21 22 package org.apache.derby.impl.sql.execute; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 import org.apache.derby.iapi.sql.ResultSet; 27 28 import java.util.Vector ; 29 30 36 public final class ConstantActionActivation extends BaseActivation 37 { 38 39 public int getExecutionCount() { return 0;} 40 public void setExecutionCount(int count) {} 41 42 public Vector getRowCountCheckVector() {return null;} 43 public void setRowCountCheckVector(Vector v) {} 44 45 public int getStalePlanCheckInterval() { return Integer.MAX_VALUE; } 46 public void setStalePlanCheckInterval(int count) {} 47 48 public ResultSet execute() throws StandardException { 49 50 throwIfClosed("execute"); 51 startExecution(); 52 53 if (resultSet == null) 54 resultSet = getResultSetFactory().getDDLResultSet(this); 55 return resultSet; 56 } 57 public void postConstructor(){} 58 } 59 | Popular Tags |