public final class FunctionAlias extends UserDefinedFunction
| 限定符和类型 | 类和说明 |
|---|---|
static class |
FunctionAlias.JavaMethod
There may be multiple Java methods that match a function name.
|
AGGREGATE, comment, COMMENT, CONSTANT, CONSTRAINT, database, DOMAIN, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, SYNONYM, TABLE_OR_VIEW, trace, TRIGGER, USERADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS| 限定符和类型 | 方法和说明 |
|---|---|
FunctionAlias.JavaMethod |
findJavaMethod(Expression[] args)
Find the Java method that matches the arguments.
|
String |
getCreateSQL()
Construct the CREATE ...
|
String |
getDropSQL()
Construct a DROP ...
|
String |
getJavaMethodName() |
FunctionAlias.JavaMethod[] |
getJavaMethods()
Get the Java methods mapped by this function.
|
String |
getSource() |
int |
getType()
Get the object type.
|
boolean |
isDeterministic() |
static FunctionAlias |
newInstance(Schema schema,
int id,
String name,
String javaClassMethod,
boolean force)
Create a new alias based on a method name.
|
static FunctionAlias |
newInstanceFromSource(Schema schema,
int id,
String name,
String source,
boolean force)
Create a new alias based on source code.
|
void |
removeChildrenAndResources(SessionLocal session)
Delete all dependent children objects and resources of this object.
|
void |
setDeterministic(boolean deterministic) |
checkRename, getJavaClassNamegetSchema, getSQL, getSQL, isHiddengetChildren, getComment, getCreateSQLForCopy, getCreateSQLForMeta, getDatabase, getId, getModificationId, getName, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTraceSQLpublic static FunctionAlias newInstance(Schema schema, int id, String name, String javaClassMethod, boolean force)
schema - the schemaid - the idname - the namejavaClassMethod - the class and method nameforce - create the object even if the class or method does not existpublic static FunctionAlias newInstanceFromSource(Schema schema, int id, String name, String source, boolean force)
schema - the schemaid - the idname - the namesource - the source codeforce - create the object even if the class or method does not existpublic String getDropSQL()
DbObjectgetDropSQL 在类中 DbObjectpublic String getCreateSQL()
DbObjectgetCreateSQL 在类中 DbObjectpublic int getType()
DbObjectpublic void removeChildrenAndResources(SessionLocal session)
DbObjectremoveChildrenAndResources 在类中 DbObjectsession - the sessionpublic FunctionAlias.JavaMethod findJavaMethod(Expression[] args)
args - the argument listDbException - if no matching method could be foundpublic String getJavaMethodName()
public FunctionAlias.JavaMethod[] getJavaMethods()
public void setDeterministic(boolean deterministic)
public boolean isDeterministic()
public String getSource()
Copyright © 2022. All rights reserved.