public class SQLFunctionSet extends BuiltInFunctionSet
BuiltInFunctionSet.Entry
Modifier and Type | Field and Description |
---|---|
protected Configuration |
config |
Constructor and Description |
---|
SQLFunctionSet() |
Modifier and Type | Method and Description |
---|---|
static java.sql.Connection |
expectConnection(Sequence arg,
XPathContext context) |
java.lang.String |
getConventionalPrefix()
Return a conventional prefix for use with this namespace, typically
the prefix used in the documentation of these functions.
|
java.lang.String |
getNamespace()
Return the namespace URI for the functions local to this function set.
|
void |
setConfiguration(Configuration config) |
static void |
setSqlStatementParam(java.sql.PreparedStatement ps,
int index,
Sequence value,
XPathContext context) |
static java.util.List<MapItem> |
sqlQueryResult(java.sql.ResultSet rs) |
static void |
supplyParameters(java.sql.ParameterMetaData metaData,
SequenceType[] parameterTypes) |
bind, copy, getFunctionDetails, getFunctionItem, importFunctionSet, isAvailable, makeFunction, register, registerReducedArityVariants
protected Configuration config
public void setConfiguration(Configuration config)
public static java.util.List<MapItem> sqlQueryResult(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException
public static void setSqlStatementParam(java.sql.PreparedStatement ps, int index, Sequence value, XPathContext context) throws XPathException
XPathException
public static void supplyParameters(java.sql.ParameterMetaData metaData, SequenceType[] parameterTypes) throws java.sql.SQLException
java.sql.SQLException
public static java.sql.Connection expectConnection(Sequence arg, XPathContext context) throws XPathException
XPathException
public java.lang.String getNamespace()
getNamespace
in class BuiltInFunctionSet
public java.lang.String getConventionalPrefix()
BuiltInFunctionSet
getConventionalPrefix
in class BuiltInFunctionSet
Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.