public class GenericStorablePreparedStatement extends GenericPreparedStatement implements Formatable, StorablePreparedStatement
| Modifier and Type | Field and Description |
|---|---|
private ByteArray |
byteCode |
private java.lang.String |
className |
activationClass, beginCompileTimestamp, bindTime, compileTime, compilingStatement, endCompileTimestamp, executionConstants, generateTime, invalidatedWhileCompiling, isAtomic, isValid, optimizeTime, paramTypeDescriptors, parseTime, requiredPermissionsList, resultDesc, savedObjects, sourceTxt, spsAction, statement, targetColumns, targetTable, updateColumns, updateMode, UUIDString, UUIDValueACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW| Constructor and Description |
|---|
GenericStorablePreparedStatement()
Niladic constructor, for formatable
only.
|
GenericStorablePreparedStatement(Statement stmt) |
| Modifier and Type | Method and Description |
|---|---|
GeneratedClass |
getActivationClass()
Get and load the activation class.
|
(package private) ByteArray |
getByteCodeSaver()
Get our byte code array.
|
int |
getTypeFormatId()
Get the formatID which corresponds to this class.
|
boolean |
isStorable() |
void |
loadGeneratedClass()
Load up the class from the saved bytes.
|
void |
readExternal(java.io.ObjectInput in) |
(package private) void |
setActivationClass(GeneratedClass ac) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
completeCompile, execute, executeSubStatement, executeSubStatement, finish, getActivation, getBeginCompileTimestamp, getBindTimeInMillis, getClassType, getClone, getCompileTimeInMillis, getCompileTimeWarnings, getConstantAction, getCursorInfo, getDependableFinder, getEndCompileTimestamp, getGenerateTimeInMillis, getInitialRowCount, getObjectID, getObjectName, getOptimizeTimeInMillis, getParameterTypes, getParseTimeInMillis, getRequiredPermissionsList, getResultDescription, getSavedObject, getSavedObjects, getSource, getSPSName, getStalePlanCheckInterval, getTargetColumns, getTargetTable, getUpdateColumns, getUpdateMode, getVersionCounter, incrementExecutionCount, incrementVersionCounter, isAtomic, isPersistent, isValid, makeInvalid, needsSavepoint, prepareToInvalidate, referencesSessionSchema, referencesSessionSchema, rePrepare, rePrepare, setCacheHolder, setCompileTimeMillis, setCompileTimeWarnings, setConstantAction, setCursorInfo, setExecuteStatementNameAndSchema, setIsAtomic, setNeedsSavepoint, setRequiredPermissionsList, setSavedObjects, setSource, setSPSAction, setSPSName, setStalePlanCheckInterval, setValid, upToDate, upToDateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinish, getClone, getConstantAction, getCursorInfo, getInitialRowCount, getRequiredPermissionsList, getSavedObject, getSavedObjects, getStalePlanCheckInterval, getTargetColumns, getTargetTable, getUpdateColumns, getUpdateMode, incrementExecutionCount, needsSavepoint, setSource, setSPSAction, setStalePlanCheckInterval, setValid, upToDateexecute, executeSubStatement, executeSubStatement, getActivation, getBeginCompileTimestamp, getBindTimeInMillis, getCompileTimeInMillis, getCompileTimeWarnings, getEndCompileTimestamp, getGenerateTimeInMillis, getOptimizeTimeInMillis, getParameterTypes, getParseTimeInMillis, getResultDescription, getSource, getSPSName, getVersionCounter, isAtomic, referencesSessionSchema, rePrepare, upToDateisValid, makeInvalid, prepareToInvalidategetClassType, getDependableFinder, getObjectID, getObjectName, isPersistentprivate ByteArray byteCode
private java.lang.String className
public GenericStorablePreparedStatement()
GenericStorablePreparedStatement(Statement stmt)
ByteArray getByteCodeSaver()
getByteCodeSaver in class GenericPreparedStatementpublic GeneratedClass getActivationClass() throws StandardException
getActivationClass in interface ExecPreparedStatementgetActivationClass in class GenericPreparedStatementStandardException - on errorvoid setActivationClass(GeneratedClass ac)
setActivationClass in class GenericPreparedStatementpublic void loadGeneratedClass()
throws StandardException
loadGeneratedClass in interface StorablePreparedStatementStandardException - on errorpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException - on errorpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException - on errorjava.lang.ClassNotFoundException - on errorExternalizable.readExternal(java.io.ObjectInput)public int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic boolean isStorable()
isStorable in class GenericPreparedStatementpublic java.lang.String toString()
toString in class GenericPreparedStatementApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.