|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.WriteCursorConstantAction
org.apache.derby.impl.sql.execute.UpdatableVTIConstantAction
This class describes compiled constants that are passed into Updatable VTIResultSets.
Field Summary | |
int[] |
changedColumnIds
This class implements Formatable. |
long |
conglomId
This class implements Formatable. |
boolean |
deferred
|
StaticCompiledOpenConglomInfo |
heapSCOCI
|
long[] |
indexCIDS
|
java.lang.String[] |
indexNames
|
StaticCompiledOpenConglomInfo[] |
indexSCOCIs
|
IndexRowGenerator[] |
irgs
|
int |
lockMode
|
boolean |
singleRowSource
|
int |
statementType
|
java.util.Properties |
targetProperties
|
UUID |
targetUUID
|
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction |
RUNTIMESTATISTICS, STATISTICSTIMING |
Constructor Summary | |
UpdatableVTIConstantAction()
Public niladic constructor. |
|
UpdatableVTIConstantAction(int statementType,
boolean deferred,
int[] changedColumnIds)
Make the ConstantAction for an updatable VTI statement. |
Method Summary | |
void |
executeConstantAction(Activation activation)
NOP routine. |
FormatableBitSet |
getBaseRowReadList()
|
int[] |
getBaseRowReadMap()
|
long |
getConglomerateId()
Get the conglomerate id for the changed heap. |
ExecRow |
getEmptyHeapRow(LanguageConnectionContext lcc)
Get emptyHeapRow |
FKInfo[] |
getFKInfo(ExecutionContext ec)
Gets the foreign key information for this constant action. |
java.lang.String |
getIndexNameFromCID(long indexCID)
get the index name given the conglomerate id of the index. |
java.lang.String[] |
getIndexNames()
|
java.lang.String |
getProperty(java.lang.String key)
The the value of the specified key, if it exists, from the targetProperties. |
int[] |
getStreamStorableHeapColIds()
|
java.util.Properties |
getTargetProperties()
Get the targetProperties from the constant action. |
TriggerInfo |
getTriggerInfo(ExecutionContext ec)
Basically, the same as getFKInfo but for triggers. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
boolean |
modifiesTableId(UUID tableId)
Does this constant action modify the passed in table uuid? |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
boolean |
upToDate()
Reports whether these constants are up-to-date. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int[] changedColumnIds
public int statementType
public long conglomId
public StaticCompiledOpenConglomInfo heapSCOCI
public IndexRowGenerator[] irgs
public long[] indexCIDS
public StaticCompiledOpenConglomInfo[] indexSCOCIs
public java.lang.String[] indexNames
public boolean deferred
public java.util.Properties targetProperties
public UUID targetUUID
public int lockMode
public boolean singleRowSource
Constructor Detail |
public UpdatableVTIConstantAction()
public UpdatableVTIConstantAction(int statementType, boolean deferred, int[] changedColumnIds)
deferred
- Whether or not to do operation in deferred modechangedColumnIds
- Array of ids of changed columnsMethod Detail |
public boolean modifiesTableId(UUID tableId)
modifiesTableId
in interface ConstantAction
modifiesTableId
in class WriteCursorConstantAction
tableId
- on errorpublic int getTypeFormatId()
public void executeConstantAction(Activation activation) throws StandardException
executeConstantAction
in interface ConstantAction
executeConstantAction
in class WriteCursorConstantAction
StandardException
- Thrown on failureConstantAction.executeConstantAction(org.apache.derby.iapi.sql.Activation)
public FKInfo[] getFKInfo(ExecutionContext ec) throws StandardException
ec
- the ExecutionContext
StandardException
- Thrown on failurepublic TriggerInfo getTriggerInfo(ExecutionContext ec) throws StandardException
StandardException
- Thrown on failurepublic boolean upToDate()
upToDate
in interface ConstantAction
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- read this.
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- write bytes here.
java.io.IOException
- thrown on errorpublic long getConglomerateId()
public ExecRow getEmptyHeapRow(LanguageConnectionContext lcc) throws StandardException
lcc
- The LanguageConnectionContext to use.
StandardException
- on errorpublic java.util.Properties getTargetProperties()
public java.lang.String getProperty(java.lang.String key)
key
- The key to search for
public FormatableBitSet getBaseRowReadList()
public int[] getBaseRowReadMap()
public int[] getStreamStorableHeapColIds()
public java.lang.String getIndexNameFromCID(long indexCID)
indexCID
- conglomerate ID of the index.
public java.lang.String[] getIndexNames()
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |