|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.catalog.types.MethodAliasInfo
org.apache.derby.catalog.types.RoutineAliasInfo
Describe a r (procedure or function) alias.
AliasInfo,
Serialized Form| Field Summary | |
private char |
aliasType
|
private boolean |
calledOnNullInput
True if the routine is called on null input. |
static short |
CONTAINS_SQL
|
private int |
dynamicResultSets
|
static short |
MODIFIES_SQL_DATA
|
static short |
NO_SQL
|
private int |
parameterCount
|
private int[] |
parameterModes
IN, OUT, INOUT |
private java.lang.String[] |
parameterNames
|
private short |
parameterStyle
Parameter style - always PS_JAVA at the moment. |
private TypeDescriptor[] |
parameterTypes
|
static short |
PS_JAVA
PARAMETER STYLE JAVA |
static short |
READS_SQL_DATA
|
private TypeDescriptor |
returnType
Return type for functions. |
private java.lang.String |
specificName
SQL Specific name (future) |
private static java.lang.String[] |
SQL_CONTROL
|
private short |
sqlAllowed
What SQL is allowed by this procedure. |
| Fields inherited from class org.apache.derby.catalog.types.MethodAliasInfo |
|
| Constructor Summary | |
RoutineAliasInfo()
|
|
RoutineAliasInfo(java.lang.String methodName,
int parameterCount,
java.lang.String[] parameterNames,
TypeDescriptor[] parameterTypes,
int[] parameterModes,
int dynamicResultSets,
short parameterStyle,
short sqlAllowed)
Create a RoutineAliasInfo for an internal PROCEDURE. |
|
RoutineAliasInfo(java.lang.String methodName,
int parameterCount,
java.lang.String[] parameterNames,
TypeDescriptor[] parameterTypes,
int[] parameterModes,
int dynamicResultSets,
short parameterStyle,
short sqlAllowed,
boolean calledOnNullInput,
TypeDescriptor returnType)
Create a RoutineAliasInfo for a PROCEDURE or FUNCTION |
|
| Method Summary | |
boolean |
calledOnNullInput()
|
int |
getMaxDynamicResultSets()
|
int |
getParameterCount()
|
int[] |
getParameterModes()
|
java.lang.String[] |
getParameterNames()
|
short |
getParameterStyle()
|
TypeDescriptor[] |
getParameterTypes()
|
TypeDescriptor |
getReturnType()
|
short |
getSQLAllowed()
|
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
static java.lang.String |
parameterMode(int parameterMode)
|
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
private void |
setAliasType()
Set the type of this alias based on whether or not the returnType is null. |
java.lang.String |
toString()
Get this alias info as a string. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
| Methods inherited from class org.apache.derby.catalog.types.MethodAliasInfo |
getMethodName, getTargetClassName, getTargetMethodName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final java.lang.String[] SQL_CONTROL
public static final short MODIFIES_SQL_DATA
public static final short READS_SQL_DATA
public static final short CONTAINS_SQL
public static final short NO_SQL
public static final short PS_JAVA
private int parameterCount
private TypeDescriptor[] parameterTypes
private java.lang.String[] parameterNames
private int[] parameterModes
private int dynamicResultSets
private TypeDescriptor returnType
private short parameterStyle
private short sqlAllowed
private java.lang.String specificName
private boolean calledOnNullInput
private transient char aliasType
| Constructor Detail |
public RoutineAliasInfo()
public RoutineAliasInfo(java.lang.String methodName,
int parameterCount,
java.lang.String[] parameterNames,
TypeDescriptor[] parameterTypes,
int[] parameterModes,
int dynamicResultSets,
short parameterStyle,
short sqlAllowed)
public RoutineAliasInfo(java.lang.String methodName,
int parameterCount,
java.lang.String[] parameterNames,
TypeDescriptor[] parameterTypes,
int[] parameterModes,
int dynamicResultSets,
short parameterStyle,
short sqlAllowed,
boolean calledOnNullInput,
TypeDescriptor returnType)
| Method Detail |
public int getParameterCount()
public TypeDescriptor[] getParameterTypes()
public int[] getParameterModes()
public java.lang.String[] getParameterNames()
public int getMaxDynamicResultSets()
public short getParameterStyle()
public short getSQLAllowed()
public boolean calledOnNullInput()
public TypeDescriptor getReturnType()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class MethodAliasInfoin - read this.
java.io.IOException - thrown on error
java.lang.ClassNotFoundException - thrown on error
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class MethodAliasInfoout - write bytes here.
java.io.IOException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatgetTypeFormatId in class MethodAliasInfopublic java.lang.String toString()
toString in class MethodAliasInfoObject.toString()public static java.lang.String parameterMode(int parameterMode)
private void setAliasType()
|
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 | |||||||||