1 21 22 package org.apache.derby.iapi.sql.execute; 23 24 import org.apache.derby.iapi.sql.Activation; 25 26 import org.apache.derby.iapi.error.StandardException; 27 import org.apache.derby.iapi.sql.conn.LanguageConnectionContext; 28 import org.apache.derby.iapi.sql.Activation; 29 import org.apache.derby.iapi.sql.ResultColumnDescriptor; 30 import org.apache.derby.iapi.sql.ResultDescription; 31 32 import org.apache.derby.iapi.store.access.DynamicCompiledOpenConglomInfo; 33 import org.apache.derby.iapi.store.access.Qualifier; 34 import org.apache.derby.iapi.sql.dictionary.IndexRowGenerator; 35 import org.apache.derby.iapi.store.access.StaticCompiledOpenConglomInfo; 36 import org.apache.derby.iapi.store.access.TransactionController; 37 import java.util.Properties ; 38 import org.apache.derby.iapi.services.io.FormatableBitSet; 39 40 import org.apache.derby.iapi.services.loader.GeneratedMethod; 41 import org.apache.derby.iapi.services.context.ContextManager; 42 43 import org.apache.derby.catalog.TypeDescriptor; 44 import org.apache.derby.catalog.UUID; 45 46 59 public interface ExecutionFactory { 60 61 64 String MODULE = "org.apache.derby.iapi.sql.execute.ExecutionFactory"; 65 66 80 ResultSetFactory getResultSetFactory(); 81 82 90 ExecutionContext newExecutionContext(ContextManager cm); 91 92 100 ResultColumnDescriptor getResultColumnDescriptor(ResultColumnDescriptor compileRCD); 101 102 105 ResultDescription getResultDescription(ResultColumnDescriptor[] columns, 106 String statementType); 107 108 114 ScanQualifier[][] getScanQualifier(int numQualifiers); 115 116 119 120 void releaseScanQualifier(ScanQualifier[][] scanQualifiers); 121 122 146 Qualifier getQualifier(int columnId, 147 int operator, 148 GeneratedMethod orderableGetter, 149 Activation activation, 150 boolean orderedNulls, 151 boolean unknownRV, 152 boolean negateCompareResult, 153 int variantType); 154 155 179 public RowChanger 180 getRowChanger(long heapConglom, 181 StaticCompiledOpenConglomInfo heapSCOCI, 182 DynamicCompiledOpenConglomInfo heapDCOCI, 183 IndexRowGenerator[] irgs, 184 long[] indexCIDS, 185 StaticCompiledOpenConglomInfo[] indexSCOCIs, 186 DynamicCompiledOpenConglomInfo[] indexDCOCIs, 187 int numberOfColumns, 188 TransactionController tc, 189 int[] changedColumnIds, 190 int[] streamStorableHeapColIds, 191 Activation activation) throws StandardException; 192 193 224 public RowChanger 225 getRowChanger(long heapConglom, 226 StaticCompiledOpenConglomInfo heapSCOCI, 227 DynamicCompiledOpenConglomInfo heapDCOCI, 228 IndexRowGenerator[] irgs, 229 long[] indexCIDS, 230 StaticCompiledOpenConglomInfo[] indexSCOCIs, 231 DynamicCompiledOpenConglomInfo[] indexDCOCIs, 232 int numberOfColumns, 233 TransactionController tc, 234 int[] changedColumnIds, 235 FormatableBitSet baseRowReadList, 236 int[] baseRowReadMap, 237 int[] streamStorableColIds, 238 Activation activation) throws StandardException; 239 240 241 245 public ExecRow getValueRow(int numColumns); 246 247 250 public ExecIndexRow getIndexableRow(int numColumns); 251 252 255 public ExecIndexRow getIndexableRow(ExecRow valueRow); 256 257 261 263 264 268 public Object getJdbcCopyConstants 269 ( 270 int[][] paramReferences, 271 TypeDescriptor[][] columnTypes, 272 int[][] publishedTableSchemaCounts 273 ); 274 275 279 public Object getJdbcCreateConstants 280 ( 281 UUID[] publishedJarFileIDs, 282 Object publishedItems, 283 int[][] tableSchemaCounts 284 ); 285 286 } 287 | Popular Tags |