Class SQLInsertFn

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

    public class SQLInsertFn
    extends SystemFunction
    This class implements the sql:insert() extension function. Arguments:
    1. The connection
    2. The table name
    3. A map whose keys are string column names and whose values are the corresponding values to be inserted
    • Constructor Detail

      • SQLInsertFn

        public SQLInsertFn()
    • Method Detail

      • call

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