Class SQLUpdateFn

  • All Implemented Interfaces:
    Callable, Function, GroundedValue, Item, Sequence

    public class SQLUpdateFn
    extends SystemFunction
    This class implements the sql:update() extension function. Arguments:
    1. The connection
    2. The table name
    3. A predicate selecting the rows to be updated
    4. A map whose keys are column names (as strings) and whose values are the corresponding values to be updated
    • Constructor Detail

      • SQLUpdateFn

        public SQLUpdateFn()
    • Method Detail

      • call

        public Sequence call​(XPathContext context,
                             Sequence[] arguments)
                      throws XPathException
        Description copied from interface: Function
        Invoke the function
        Parameters:
        context - the XPath dynamic evaluation context
        arguments - the actual arguments to be supplied
        Returns:
        the result of invoking the function
        Throws:
        XPathException - if a dynamic error occurs within the function