1 21 22 package org.apache.derby.iapi.store.access.conglomerate; 23 24 import org.apache.derby.iapi.error.StandardException; 25 import org.apache.derby.iapi.store.access.ConglomerateController; 26 import org.apache.derby.iapi.store.access.DynamicCompiledOpenConglomInfo; 27 import org.apache.derby.iapi.store.access.Qualifier; 28 import org.apache.derby.iapi.store.access.RowLocationRetRowSource; 29 import org.apache.derby.iapi.store.access.StoreCostController; 30 import org.apache.derby.iapi.store.access.StaticCompiledOpenConglomInfo; 31 import org.apache.derby.iapi.store.access.TransactionController; 32 import org.apache.derby.iapi.store.raw.ContainerKey; 33 34 import org.apache.derby.iapi.store.raw.LockingPolicy; 35 import org.apache.derby.iapi.store.raw.Transaction; 36 37 import org.apache.derby.iapi.types.DataValueDescriptor; 38 39 import org.apache.derby.iapi.services.io.Storable; 40 import org.apache.derby.iapi.services.io.FormatableBitSet; 41 42 43 63 64 public interface Conglomerate extends Storable, DataValueDescriptor 65 { 66 67 83 public void addColumn( 84 TransactionManager xact_manager, 85 int column_id, 86 Storable template_column) 87 throws StandardException; 88 89 94 void drop(TransactionManager xact_manager) 95 throws StandardException; 96 97 143 144 boolean fetchMaxOnBTree( 145 TransactionManager xact_manager, 146 Transaction rawtran, 147 long conglomId, 148 int open_mode, 149 int lock_level, 150 LockingPolicy locking_policy, 151 int isolation_level, 152 FormatableBitSet scanColumnList, 153 DataValueDescriptor[] fetchRow) 154 throws StandardException; 155 156 157 167 long getContainerid(); 168 169 180 ContainerKey getId(); 181 182 203 public StaticCompiledOpenConglomInfo getStaticCompiledConglomInfo( 204 TransactionController tc, 205 long conglomId) 206 throws StandardException; 207 208 226 public DynamicCompiledOpenConglomInfo getDynamicCompiledConglomInfo( 227 long conglomId) 228 throws StandardException; 229 230 236 boolean isTemporary(); 237 238 266 public long load( 267 TransactionManager xact_manager, 268 boolean createConglom, 269 RowLocationRetRowSource rowSource) 270 throws StandardException; 271 272 273 292 ConglomerateController open( 293 TransactionManager xact_manager, 294 Transaction rawtran, 295 boolean hold, 296 int open_mode, 297 int lock_level, 298 LockingPolicy locking_policy, 299 StaticCompiledOpenConglomInfo static_info, 300 DynamicCompiledOpenConglomInfo dynamic_info) 301 throws StandardException; 302 303 308 ScanManager openScan( 309 TransactionManager xact_manager, 310 Transaction rawtran, 311 boolean hold, 312 int open_mode, 313 int lock_level, 314 LockingPolicy locking_policy, 315 int isolation_level, 316 FormatableBitSet scanColumnList, 317 DataValueDescriptor[] startKeyValue, 318 int startSearchOperator, 319 Qualifier qualifier[][], 320 DataValueDescriptor[] stopKeyValue, 321 int stopSearchOperator, 322 StaticCompiledOpenConglomInfo static_info, 323 DynamicCompiledOpenConglomInfo dynamic_info) 324 throws StandardException; 325 326 360 ScanManager defragmentConglomerate( 361 TransactionManager xact_manager, 362 Transaction rawtran, 363 boolean hold, 364 int open_mode, 365 int lock_level, 366 LockingPolicy locking_policy, 367 int isolation_level) 368 throws StandardException; 369 370 void purgeConglomerate( 371 TransactionManager xact_manager, 372 Transaction rawtran) 373 throws StandardException; 374 375 void compressConglomerate( 376 TransactionManager xact_manager, 377 Transaction rawtran) 378 throws StandardException; 379 380 397 StoreCostController openStoreCost( 398 TransactionManager xact_manager, 399 Transaction rawtran) 400 throws StandardException; 401 402 } 403 | Popular Tags |