Class SQLMethodRemove

    • Constructor Detail

      • SQLMethodRemove

        public SQLMethodRemove()
    • Method Detail

      • execute

        public Object execute​(Object self,
                              Identifiable currentRecord,
                              CommandContext context,
                              Object result,
                              Object[] params)
        Description copied from interface: SQLMethod
        Process a record.
        Parameters:
        self - current object
        currentRecord - : current record
        context - execution context
        result - : field value
        params - : function parameters, number is ensured to be within minParams and maxParams.
        Returns:
        evaluation result
      • getSyntax

        public String getSyntax()
        Description copied from interface: SQLMethod
        Returns a convenient SQL String representation of the method.

        Example :

          field.myMethod( param1, param2, [optionalParam3])
         

        This text will be used in exception messages.

        Specified by:
        getSyntax in interface SQLMethod
        Overrides:
        getSyntax in class AbstractSQLMethod
        Returns:
        String , never null.