Class ODatabaseFunctionFactory
java.lang.Object
com.orientechnologies.orient.core.metadata.function.ODatabaseFunctionFactory
- All Implemented Interfaces:
OSQLFunctionFactory
Dynamic function factory bound to the database's functions
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFunction(String name) Create function for the given name. returned function may be a new instance each time or a constant.booleanhasFunction(String iName)
-
Constructor Details
-
ODatabaseFunctionFactory
public ODatabaseFunctionFactory()
-
-
Method Details
-
hasFunction
- Specified by:
hasFunctionin interfaceOSQLFunctionFactory
-
getFunctionNames
- Specified by:
getFunctionNamesin interfaceOSQLFunctionFactory- Returns:
- Set of supported function names of this factory
-
createFunction
Description copied from interface:OSQLFunctionFactoryCreate function for the given name. returned function may be a new instance each time or a constant.- Specified by:
createFunctionin interfaceOSQLFunctionFactory- Parameters:
name-- Returns:
- OSQLFunction : created function
- Throws:
OCommandExecutionException- : when function creation fail
-