|
||||||||||
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 FormField Summary | |
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 |
|
Fields inherited from interface org.apache.derby.catalog.AliasInfo |
ALIAS_NAME_SPACE_FUNCTION_AS_CHAR, ALIAS_NAME_SPACE_FUNCTION_AS_STRING, ALIAS_NAME_SPACE_PROCEDURE_AS_CHAR, ALIAS_NAME_SPACE_PROCEDURE_AS_STRING, ALIAS_TYPE_FUNCTION_AS_CHAR, ALIAS_TYPE_FUNCTION_AS_STRING, ALIAS_TYPE_PROCEDURE_AS_CHAR, ALIAS_TYPE_PROCEDURE_AS_STRING |
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. |
java.lang.String |
toString()
|
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
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.Externalizable
readExternal
in class MethodAliasInfo
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
writeExternal
in class MethodAliasInfo
out
- write bytes here.
java.io.IOException
- thrown on errorpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
getTypeFormatId
in class MethodAliasInfo
public java.lang.String toString()
toString
in class MethodAliasInfo
Object.toString()
public static java.lang.String parameterMode(int parameterMode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |