| Modifier and Type | Class and Description |
|---|---|
| public static class | FunctionAlias.
There may be multiple Java methods that match a function name. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private FunctionAlias. | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public FunctionAlias. | Returns: the Java methodthe argument list args)Find the Java method that matches the arguments. |
| public String | |
| public String | |
| public String | |
| public FunctionAlias. | |
| private static String | |
| public String | |
| public int | |
| private void | |
| public boolean | |
| private synchronized void | |
| private void | |
| private void | |
| public static FunctionAlias | Returns: the database objectthe schema schema, int the id id, String the name name, String the class and method name javaClassMethod, boolean create the object even if the class or method does not exist force)Create a new alias based on a method name. |
| public static FunctionAlias | Returns: the database objectthe schema schema, int the id id, String the name name, String the source code source, boolean create the object even if the class or method does not exist force)Create a new alias based on source code. |
| public synchronized void | removeChildrenAndResources(SessionLocal
the session session)Implements abstract org. Delete all dependent children objects and resources of this object. |
| public void |
| deterministic | back to summary |
|---|---|
| private boolean deterministic | |
| javaMethods | back to summary |
|---|---|
| private FunctionAlias. | |
| methodName | back to summary |
|---|---|
| private String methodName | |
| source | back to summary |
|---|---|
| private String source | |
| FunctionAlias | back to summary |
|---|---|
| private FunctionAlias(Schema schema, int id, String name) | |
| findJavaMethod | back to summary |
|---|---|
| public FunctionAlias. Find the Java method that matches the arguments.
| |
| getCreateSQL | back to summary |
|---|---|
| public String getCreateSQL() Implements abstract org. Doc from org. Construct the CREATE ... SQL statement for this object. | |
| getDropSQL | back to summary |
|---|---|
| public String getDropSQL() Overrides org. Doc from org. Construct a DROP ... SQL statement for this object. | |
| getJavaMethodName | back to summary |
|---|---|
| public String getJavaMethodName() | |
| getJavaMethods | back to summary |
|---|---|
| public FunctionAlias. Get the Java methods mapped by this function.
| |
| getMethodSignature | back to summary |
|---|---|
| private static String getMethodSignature(Method m) | |
| getSource | back to summary |
|---|---|
| public String getSource() | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the object type.
| |
| init | back to summary |
|---|---|
| private void init(boolean force) | |
| isDeterministic | back to summary |
|---|---|
| public boolean isDeterministic() | |
| load | back to summary |
|---|---|
| private synchronized void load() | |
| loadClass | back to summary |
|---|---|
| private void loadClass() | |
| loadFromSource | back to summary |
|---|---|
| private void loadFromSource() | |
| newInstance | back to summary |
|---|---|
| public static FunctionAlias newInstance(Schema schema, int id, String name, String javaClassMethod, boolean force) Create a new alias based on a method name.
| |
| newInstanceFromSource | back to summary |
|---|---|
| public static FunctionAlias newInstanceFromSource(Schema schema, int id, String name, String source, boolean force) Create a new alias based on source code.
| |
| removeChildrenAndResources | back to summary |
|---|---|
| public synchronized void removeChildrenAndResources(SessionLocal session) Implements abstract org. Doc from org. Delete all dependent children objects and resources of this object.
| |
| setDeterministic | back to summary |
|---|---|
| public void setDeterministic(boolean deterministic) | |
| Modifier and Type | Field and Description |
|---|---|
| private final TypeInfo | |
| private boolean | |
| private final int | |
| private final Method | |
| private int | |
| private Class | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(FunctionAlias.
the object to be compared. mImplements java. Compares this object with the specified object for order. |
| private Object | |
| public Class | |
| public TypeInfo | Returns: data type information for regular functions ornull
for table value functionsReturns data type information for regular functions or |
| public int | |
| public ResultInterface | Returns: the valuethe session session, Expression[] the argument list args, boolean true if the function should only return the column
list columnList)Call the table user-defined function and return the value. |
| public Value | Returns: the valuethe session session, Expression[] the argument list args, boolean true if the function should only return the column
list columnList)Call the user-defined function and return the value. |
| public boolean | Returns: if the function requires a connectionCheck if this function requires a database connection. |
| public boolean | |
| public static ResultInterface | Returns: the valuethe session session, ResultSet the result set resultSet, int the maximum number of rows to read (0 to just read the
meta data) maxrows)Create a result for the given result set. |
| public String |
| dataType | back to summary |
|---|---|
| private final TypeInfo dataType | |
| hasConnectionParam | back to summary |
|---|---|
| private boolean hasConnectionParam | |
| id | back to summary |
|---|---|
| private final int id | |
| method | back to summary |
|---|---|
| private final Method method | |
| paramCount | back to summary |
|---|---|
| private int paramCount | |
| varArgClass | back to summary |
|---|---|
| private Class<?> varArgClass | |
| varArgs | back to summary |
|---|---|
| private boolean varArgs | |
| JavaMethod | back to summary |
|---|---|
| pack-priv JavaMethod(Method method, int id) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(FunctionAlias. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| execute | back to summary |
|---|---|
| private Object execute(SessionLocal session, Expression[] args, boolean columnList) | |
| getColumnClasses | back to summary |
|---|---|
| public Class | |
| getDataType | back to summary |
|---|---|
| public TypeInfo getDataType() Returns data type information for regular functions or
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() | |
| getTableValue | back to summary |
|---|---|
| public ResultInterface getTableValue(SessionLocal session, Expression[] args, boolean columnList) Call the table user-defined function and return the value.
| |
| getValue | back to summary |
|---|---|
| public Value getValue(SessionLocal session, Expression[] args, boolean columnList) Call the user-defined function and return the value.
| |
| hasConnectionParam | back to summary |
|---|---|
| public boolean hasConnectionParam() Check if this function requires a database connection.
| |
| isVarArgs | back to summary |
|---|---|
| public boolean isVarArgs() | |
| resultSetToResult | back to summary |
|---|---|
| public static ResultInterface resultSetToResult(SessionLocal session, ResultSet resultSet, int maxrows) Create a result for the given result set.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |