Interface OSQLFunctionFactory

All Known Implementing Classes:
OCustomSQLFunctionFactory, ODatabaseFunctionFactory, ODefaultSQLFunctionFactory, ODynamicSQLElementFactory, OLuceneCrossClassFunctionsFactory, OLuceneFunctionsFactory, OSpatialFunctionsFactory, OSQLFunctionFactoryTemplate

public interface OSQLFunctionFactory
Author:
Johann Sorel (Geomatys)
  • Method Details

    • hasFunction

      boolean hasFunction(String iName)
    • getFunctionNames

      Set<String> getFunctionNames()
      Returns:
      Set of supported function names of this factory
    • createFunction

      OSQLFunction createFunction(String name) throws OCommandExecutionException
      Create function for the given name. returned function may be a new instance each time or a constant.
      Parameters:
      name -
      Returns:
      OSQLFunction : created function
      Throws:
      OCommandExecutionException - : when function creation fail