Package com.arcadedb.query.sql.method
Class DefaultSQLMethodFactory
- java.lang.Object
-
- com.arcadedb.query.sql.method.DefaultSQLMethodFactory
-
- All Implemented Interfaces:
SQLMethodFactory
public class DefaultSQLMethodFactory extends Object implements SQLMethodFactory
Default method factory.- Author:
- Johann Sorel (Geomatys)
-
-
Constructor Summary
Constructors Constructor Description DefaultSQLMethodFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLMethod
createMethod(String name)
Create method for the given name.void
register(String iName, Object iImplementation)
-
-
-
Method Detail
-
createMethod
public SQLMethod createMethod(String name) throws CommandExecutionException
Description copied from interface:SQLMethodFactory
Create method for the given name. returned method may be a new instance each time or a constant.- Specified by:
createMethod
in interfaceSQLMethodFactory
- Returns:
- OSQLMethod : created method
- Throws:
CommandExecutionException
- : when method creation fail
-
-