Class ODynamicSQLElementFactory
java.lang.Object
com.orientechnologies.orient.core.sql.ODynamicSQLElementFactory
- All Implemented Interfaces:
OSQLFunctionFactory,OQueryOperatorFactory
public class ODynamicSQLElementFactory
extends Object
implements OQueryOperatorFactory, OSQLFunctionFactory
Dynamic sql elements factory.
- Author:
- Johann Sorel (Geomatys)
-
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)
-
Constructor Details
-
ODynamicSQLElementFactory
public ODynamicSQLElementFactory()
-
-
Method Details
-
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- Returns:
- OSQLFunction : created function
- Throws:
OCommandExecutionException- : when function creation fail
-
getOperators
- Specified by:
getOperatorsin interfaceOQueryOperatorFactory- Returns:
- set of operators
-