public static class FunctionAlias.JavaMethod extends Object implements Comparable<FunctionAlias.JavaMethod>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FunctionAlias.JavaMethod m) |
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() |
String |
toString() |
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 listpublic Class<?>[] getColumnClasses()
public int getDataType()
public int getParameterCount()
public boolean isVarArgs()
public int compareTo(FunctionAlias.JavaMethod m)
compareTo
in interface Comparable<FunctionAlias.JavaMethod>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.