|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.engine.FunctionAlias.JavaMethod
public static class FunctionAlias.JavaMethod
There may be multiple Java methods that match a function name. Each method must have a different number of parameters however. This helper class represents one such method.
Method Summary | |
---|---|
int |
compareTo(FunctionAlias.JavaMethod m)
|
java.lang.Class<?>[] |
getColumnClasses()
|
int |
getDataType()
|
int |
getParameterCount()
|
Value |
getValue(Session session,
Expression[] args,
boolean columnList)
Call the user-defined function and return the value. |
boolean |
hasConnectionParam()
Check if this function requires a database connection. |
boolean |
isVarArgs()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasConnectionParam()
public Value getValue(Session session, Expression[] args, boolean columnList)
session
- the sessionargs
- the argument listcolumnList
- true if the function should only return the column list
public java.lang.Class<?>[] getColumnClasses()
public int getDataType()
public int getParameterCount()
public boolean isVarArgs()
public int compareTo(FunctionAlias.JavaMethod m)
compareTo
in interface java.lang.Comparable<FunctionAlias.JavaMethod>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |