Class OCustomSQLFunctionFactory
java.lang.Object
com.orientechnologies.orient.core.sql.functions.OCustomSQLFunctionFactory
- All Implemented Interfaces:
OSQLFunctionFactory
Factory for custom SQL functions.
- Author:
- Fabrizio Fortino
-
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 name) static void
-
Constructor Details
-
OCustomSQLFunctionFactory
public OCustomSQLFunctionFactory()
-
-
Method Details
-
register
-
getFunctionNames
- Specified by:
getFunctionNamesin interfaceOSQLFunctionFactory- Returns:
- Set of supported function names of this factory
-
hasFunction
- Specified by:
hasFunctionin interfaceOSQLFunctionFactory
-
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
-