public class SQLFunctionSet extends BuiltInFunctionSet
BuiltInFunctionSet.Entry| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
config |
ABS, AS_ARG0, AS_PRIM_ARG0, BASE, CARD0, CDOC, CITEM, CORE, DCOLL, DEPENDS_ON_STATIC_CONTEXT, DLANG, EMPTY, FILTER, FOCUS, HOF, INS, INTERNAL, LAST, LATE, NAV, NEW, NS, ONE, OPT, PLUS, POSN, SIDE, STAR, TRA, UO, USE_WHEN, XPATH30, XPATH31, XQUPDATE, XSLT, XSLT30| 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, registerReducedArityVariantsprotected Configuration config
public void setConfiguration(Configuration config)
public static java.util.List<MapItem> sqlQueryResult(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLExceptionpublic static void setSqlStatementParam(java.sql.PreparedStatement ps,
int index,
Sequence value,
XPathContext context)
throws XPathException
XPathExceptionpublic static void supplyParameters(java.sql.ParameterMetaData metaData,
SequenceType[] parameterTypes)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static java.sql.Connection expectConnection(Sequence<?> arg, XPathContext context) throws XPathException
XPathExceptionpublic java.lang.String getNamespace()
getNamespace in class BuiltInFunctionSetpublic java.lang.String getConventionalPrefix()
BuiltInFunctionSetgetConventionalPrefix in class BuiltInFunctionSetCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.