1 21 22 package org.apache.derby.impl.sql.execute; 23 24 import org.apache.derby.iapi.services.stream.HeaderPrintWriter; 25 26 27 import org.apache.derby.iapi.services.io.ArrayUtil; 28 import org.apache.derby.iapi.services.io.StoredFormatIds; 29 import org.apache.derby.iapi.services.io.FormatIdUtil; 30 31 import org.apache.derby.iapi.sql.dictionary.IndexRowGenerator; 32 33 import org.apache.derby.iapi.sql.execute.ConstantAction; 34 import org.apache.derby.iapi.sql.execute.ExecRow; 35 36 import org.apache.derby.iapi.sql.Activation; 37 38 import org.apache.derby.iapi.error.StandardException; 39 40 import org.apache.derby.iapi.store.access.StaticCompiledOpenConglomInfo; 41 42 import org.apache.derby.catalog.UUID; 43 44 import java.io.ObjectOutput ; 45 import java.io.ObjectInput ; 46 import java.io.IOException ; 47 import java.io.Serializable ; 48 49 import java.sql.PreparedStatement ; 50 import java.sql.SQLException ; 51 52 import java.util.Properties ; 53 54 60 61 public class UpdatableVTIConstantAction extends WriteCursorConstantAction 62 { 63 64 73 74 public int[] changedColumnIds; 75 76 public int statementType; 77 78 80 84 public UpdatableVTIConstantAction() { super(); } 85 86 93 public UpdatableVTIConstantAction( int statementType, 94 boolean deferred, 95 int[] changedColumnIds) 96 { 97 super(0, 98 null, 99 null, 100 null, 101 null, 102 null, 103 deferred , 104 null, 105 null, 106 0, 107 null, 108 null, 109 (ExecRow)null, null, 111 null, 112 null, 113 false 115 ); 116 this.statementType = statementType; 117 this.changedColumnIds = changedColumnIds; 118 } 119 120 122 127 public int getTypeFormatId() { return StoredFormatIds.UPDATABLE_VTI_CONSTANT_ACTION_V01_ID; } 128 129 131 } 132 | Popular Tags |