| Modifier and Type | Field and Description |
|---|---|
| private long[] | |
| private boolean | |
| pack-priv RowLocation[] | autoincRowLocation
An array of row location objects (0 based), one for each column in the table. |
| private String[] | |
| private transient int | firstAutoGenColumn
Position of autogenerated column |
| public final boolean | |
| pack-priv String | |
| pack-priv boolean[] | indexedCols
This class implements Formatable. |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | InsertConstantAction(TableDescriptor tableDescriptor, long
Conglomerate ID. conglomId, StaticCompiledOpenConglomInfo StaticCompiledOpenConglomInfo for heap. heapSCOCI, IndexRowGenerator[] Index descriptors irgs, long[] Conglomerate IDs of indices indexCIDS, StaticCompiledOpenConglomInfo[] StaticCompiledOpenConglomInfos for indexes. indexSCOCIs, String[] Names of indices on this table for error reporting. indexNames, boolean True means process as a deferred insert. deferred, boolean The target table has deferrable CHECK constraints hasDeferrableChecks, Properties Properties on the target table. targetProperties, UUID UUID of target table targetUUID, int The lockMode to use on the target table lockMode, FKInfo[] Array of structures containing foreign key info,
if any (may be null) fkInfo, TriggerInfo Array of structures containing trigger info,
if any (may be null) triggerInfo, int[] Null for non rep. (0 based) streamStorableHeapColIds, boolean[] boolean[] of which (0-based) columns are indexed. indexedCols, boolean Whether or not source is a single row source singleRowSource, RowLocation[] Array of rowlocations of autoincrement values
in SYSCOLUMNS for each ai column. autoincRowLocation, boolean True if this is an action of a MERGE statement. underMerge, String For 10.11 and higher, the handle on the sequence for the identity column identitySequenceUUIDString, boolean True if the query assigns a DEFAULT value to the identity column autoincrementColumnSetToDEFAULT)Make the ConstantAction for an INSERT statement. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | autoincrementColumnSetToDEFAULT()
Return true if the queryExpression sets the target table's identity column to DEFAULT. |
| public int | |
| public long | |
| pack-priv RowLocation[] | |
| public String | |
| pack-priv String[] | |
| public String | |
| public String | Returns: name of table being inserted intoGets the name of the table being inserted into |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| public boolean | Returns: True if the table has ai columnsDoes the target table has autoincrement columns. |
| public void | readExternal(ObjectInput
read this. in)Overrides org. Implements java. Read this object from a stream of stored objects. |
| public void | writeExternal(ObjectOutput
write bytes here. out)Overrides org. Implements java. Write this object to a stream of stored objects. |
| autoincIncrement | back to summary |
|---|---|
| private long[] autoincIncrement | |
| autoincrementColumnSetToDEFAULT | back to summary |
|---|---|
| private boolean autoincrementColumnSetToDEFAULT | |
| autoincRowLocation | back to summary |
|---|---|
| pack-priv RowLocation[] autoincRowLocation An array of row location objects (0 based), one for each column in the table. If the column is an autoincrement table then the array points to the row location of the column in SYSCOLUMNS. if not, then it contains null. | |
| columnNames | back to summary |
|---|---|
| private String[] columnNames | |
| firstAutoGenColumn | back to summary |
|---|---|
| private transient int firstAutoGenColumn Position of autogenerated column | |
| hasDeferrableChecks | back to summary |
|---|---|
| public final boolean hasDeferrableChecks | |
| identitySequenceUUIDString | back to summary |
|---|---|
| pack-priv String identitySequenceUUIDString | |
| indexedCols | back to summary |
|---|---|
| pack-priv boolean[] indexedCols This class implements Formatable. But it is NOT used across either major or minor releases. It is only written persistently in stored prepared statements, not in the replication stage. SO, IT IS OK TO CHANGE ITS read/writeExternal. | |
| schemaName | back to summary |
|---|---|
| private String schemaName | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| InsertConstantAction | back to summary |
|---|---|
| public InsertConstantAction() Public niladic constructor. Needed for Formatable interface to work. | |
| InsertConstantAction | back to summary |
|---|---|
| pack-priv InsertConstantAction(TableDescriptor tableDescriptor, long conglomId, StaticCompiledOpenConglomInfo heapSCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, String[] indexNames, boolean deferred, boolean hasDeferrableChecks, Properties targetProperties, UUID targetUUID, int lockMode, FKInfo[] fkInfo, TriggerInfo triggerInfo, int[] streamStorableHeapColIds, boolean[] indexedCols, boolean singleRowSource, RowLocation[] autoincRowLocation, boolean underMerge, String identitySequenceUUIDString, boolean autoincrementColumnSetToDEFAULT) Make the ConstantAction for an INSERT statement.
| |
| autoincrementColumnSetToDEFAULT | back to summary |
|---|---|
| public boolean autoincrementColumnSetToDEFAULT() Return true if the queryExpression sets the target table's identity column to DEFAULT. | |
| getAutoGenColumn | back to summary |
|---|---|
| public int getAutoGenColumn() Get the 0-based position of the autogenerated column | |
| getAutoincIncrement | back to summary |
|---|---|
| public long getAutoincIncrement(int i) gets the increment value for a column.
| |
| getAutoincRowLocation | back to summary |
|---|---|
| pack-priv RowLocation[] getAutoincRowLocation() gets the row location | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int i) gets the name of the desired column in the taget table.
| |
| getColumnNames | back to summary |
|---|---|
| pack-priv String[] getColumnNames() get the array of column names in the target table. | |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName() Gets the name of the schema that the table is in
| |
| getTableName | back to summary |
|---|---|
| public String getTableName() Gets the name of the table being inserted into
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| hasAutoincrement | back to summary |
|---|---|
| public boolean hasAutoincrement() Does the target table has autoincrement columns.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Overrides org. Implements java. Doc from org. Read this object from a stream of stored objects.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Overrides org. Implements java. Write this object to a stream of stored objects.
| |