Class OSQLFunctionConfigurableAbstract

java.lang.Object
com.orientechnologies.orient.core.sql.functions.OSQLFunctionAbstract
com.orientechnologies.orient.core.sql.functions.OSQLFunctionConfigurableAbstract
All Implemented Interfaces:
OSQLFunction
Direct Known Subclasses:
OSQLFunctionConcat, OSQLFunctionFirst, OSQLFunctionLast, OSQLFunctionMathAbstract, OSQLFunctionMove, OSQLFunctionMultiValueAbstract, OSQLFunctionSequence, OSQLFunctionTraversedElement

public abstract class OSQLFunctionConfigurableAbstract extends OSQLFunctionAbstract
Abstract class to extend to build Custom SQL Functions that saves the configured parameters. Extend it and register it with: OSQLParser.getInstance().registerStatelessFunction() or OSQLParser.getInstance().registerStatefullFunction() to being used by the SQL engine.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
  • Field Details

    • configuredParameters

      protected Object[] configuredParameters
  • Constructor Details

    • OSQLFunctionConfigurableAbstract

      protected OSQLFunctionConfigurableAbstract(String iName, int iMinParams, int iMaxParams)
  • Method Details