Class SQLFunctionSet

  • All Implemented Interfaces:
    FunctionLibrary

    public class SQLFunctionSet
    extends BuiltInFunctionSet
    The SQLFunctionSet is a set of Saxon vendor-supplied extension functions designed to enable access to SQL databases
    • Constructor Detail

      • SQLFunctionSet

        public SQLFunctionSet()
    • Method Detail

      • setConfiguration

        public void setConfiguration​(Configuration config)
      • sqlQueryResult

        public static java.util.List<MapItem> sqlQueryResult​(java.sql.ResultSet rs)
                                                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • supplyParameters

        public static void supplyParameters​(java.sql.ParameterMetaData metaData,
                                            SequenceType[] parameterTypes)
                                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNamespace

        public java.lang.String getNamespace()
        Return the namespace URI for the functions local to this function set.
        Overrides:
        getNamespace in class BuiltInFunctionSet
        Returns:
        the namespace URI of the functions local to this function set. Note that functions imported from another function set may have a different namespace URI.
      • getConventionalPrefix

        public java.lang.String getConventionalPrefix()
        Description copied from class: BuiltInFunctionSet
        Return a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.
        Overrides:
        getConventionalPrefix in class BuiltInFunctionSet
        Returns:
        the string "fn"