| Package | Description |
|---|---|
| com.marklogic.client.expression |
The package provides classes for building Optic plan pipelines and expressions for execution on the REST server.
|
| com.marklogic.client.type |
The package provides interfaces specifying the type of an expression or value as passed to a
PlanBuilder method or returned from a RowRecord method. |
| Modifier and Type | Method and Description |
|---|---|
XsStringExpr |
XdmpExpr.base64Decode(XsStringExpr encoded)
Converts base64-encoded string to plaintext.
|
XsStringExpr |
XdmpExpr.base64Encode(XsStringExpr plaintext)
Converts plaintext into base64-encoded string.
|
XsStringExpr |
FnExpr.codepointsToString(XsIntegerSeqExpr arg)
Creates an
xs:string from a sequence of Unicode code points. |
XsStringExpr |
SqlExpr.collatedString(XsStringExpr string,
String collationURI)
Returns an
rdf:collatedString value with the given value and collation tag. |
XsStringExpr |
SqlExpr.collatedString(XsStringExpr string,
XsStringExpr collationURI)
Returns an
rdf:collatedString value with the given value and collation tag. |
XsStringExpr |
FnExpr.concat(XsAnyAtomicTypeExpr... parameter1)
Returns the
xs:string that is the concatenation of the values of the specified parameters. |
XsStringExpr |
XdmpExpr.crypt(XsStringExpr password,
String salt)
Calculates the password hash for the given password and salt.
|
XsStringExpr |
XdmpExpr.crypt(XsStringExpr password,
XsStringExpr salt)
Calculates the password hash for the given password and salt.
|
XsStringExpr |
XdmpExpr.crypt2(XsStringExpr password)
Calculates the password hash for the given plain-text password.
|
XsStringExpr |
SqlExpr.dayname(ItemExpr arg)
Returns an xs:string representing the dayname value in the localized value of arg.
|
XsStringExpr |
XdmpExpr.daynameFromDate(XsDateExpr arg)
Returns an xs:string representing the dayname value in the localized value of arg.
|
XsStringExpr |
XdmpExpr.decodeFromNCName(XsStringExpr name)
Invertible function that decodes characters an NCName produced by
xdmp:encode-for-NCName. |
XsStringExpr |
FnExpr.defaultCollation()
Returns the value of the default collation property from the static context.
|
XsStringExpr |
XdmpExpr.describe(ItemSeqExpr item)
Returns a string representing the description of a given item sequence.
|
XsStringExpr |
XdmpExpr.describe(ItemSeqExpr item,
XsUnsignedIntExpr maxSequenceLength)
Returns a string representing the description of a given item sequence.
|
XsStringExpr |
XdmpExpr.describe(ItemSeqExpr item,
XsUnsignedIntExpr maxSequenceLength,
XsUnsignedIntExpr maxItemLength)
Returns a string representing the description of a given item sequence.
|
XsStringExpr |
XdmpExpr.diacriticLess(XsStringExpr string)
Returns the specified string, converting all of the characters with diacritics to characters without diacritics.
|
XsStringExpr |
XdmpExpr.elementContentType(ElementNodeExpr element)
Returns the schema-defined content-type of an element (“empty”, “simple”, “element-only”, or “mixed”).
|
XsStringExpr |
XdmpExpr.encodeForNCName(XsStringExpr name)
Invertible function that escapes characters required to be part of an NCName.
|
XsStringExpr |
FnExpr.encodeForUri(XsStringExpr uriPart)
Invertible function that escapes characters required to be escaped inside path segments of URIs.
|
XsStringExpr |
FnExpr.escapeHtmlUri(XsStringExpr uriPart)
%-escapes everything except printable ASCII characters.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture,
String language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture,
String language,
String calendar)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
String picture,
String language,
String calendar,
String country)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
String picture)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
String picture,
String language)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
String picture,
String language,
String calendar)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
String picture,
String language,
String calendar,
String country)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericExpr... value)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatNumber(XsNumericSeqExpr value,
String picture)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String language)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String decimalFormatName)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String language,
String letterValue)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String language,
String letterValue,
String ordchar)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String language,
String letterValue,
String ordchar,
String zeroPadding)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String language,
String letterValue,
String ordchar,
String zeroPadding,
String groupingSeparator)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
String picture,
String language,
String letterValue,
String ordchar,
String zeroPadding,
String groupingSeparator,
long groupingSize)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr decimalFormatName)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar,
XsStringExpr zeroPadding)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar,
XsStringExpr zeroPadding,
XsStringExpr groupingSeparator)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar,
XsStringExpr zeroPadding,
XsStringExpr groupingSeparator,
XsIntegerExpr groupingSize)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
String picture)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
String picture,
String language)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
String picture,
String language,
String calendar)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
String picture,
String language,
String calendar,
String country)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.generateId(NodeExpr node)
Returns a string that uniquely identifies a given node.
|
XsStringExpr |
XdmpExpr.getCurrentUser()
Returns the name of the current user.
|
XsStringExpr |
XdmpExpr.hmacMd5(ItemExpr secretkey,
ItemExpr message)
Calculates the Hash-based Message Authentication Code (HMAC) using the md5 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacMd5(ItemExpr secretkey,
ItemExpr message,
String encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the md5 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacMd5(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the md5 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha1(ItemExpr secretkey,
ItemExpr message)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA1 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha1(ItemExpr secretkey,
ItemExpr message,
String encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA1 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha1(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA1 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha256(ItemExpr secretkey,
ItemExpr message)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA256 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha256(ItemExpr secretkey,
ItemExpr message,
String encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA256 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha256(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA256 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha512(ItemExpr secretkey,
ItemExpr message)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA512 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha512(ItemExpr secretkey,
ItemExpr message,
String encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA512 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha512(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA512 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.initcap(XsStringExpr string)
Returns the string where the first letter of each token has been uppercased.
|
XsStringExpr |
SqlExpr.insert(XsStringExpr str,
double start,
double length,
String str2)
Returns a string that that is the first argument with length characters removed starting at start and the second string has been inserted beginning at start.
|
XsStringExpr |
SqlExpr.insert(XsStringExpr str,
XsNumericExpr start,
XsNumericExpr length,
XsStringExpr str2)
Returns a string that that is the first argument with length characters removed starting at start and the second string has been inserted beginning at start.
|
XsStringExpr |
XdmpExpr.integerToHex(XsIntegerExpr val)
Returns a hexadecimal representation of an integer.
|
XsStringExpr |
XdmpExpr.integerToOctal(XsIntegerExpr val)
Returns an octal representation of an integer.
|
XsStringExpr |
FnExpr.iriToUri(XsStringExpr uriPart)
Idempotent function that escapes non-URI characters.
|
XsStringExpr |
XdmpExpr.keyFromQName(XsQNameExpr name)
Construct a context-independent string from a QName.
|
XsStringExpr |
SemExpr.lang(XsAnyAtomicTypeExpr value)
Returns the language of the value passed in, or the empty string if the value has no language.
|
XsStringExpr |
RdfExpr.langStringLanguage(RdfLangStringExpr val)
Returns the language of an
rdf:langString value. |
XsStringExpr |
SqlExpr.left(ItemSeqExpr str,
double n)
Returns a string that is the leftmost characters of the target string.
|
XsStringExpr |
SqlExpr.left(ItemSeqExpr str,
XsNumericExpr n)
Returns a string that is the leftmost characters of the target string.
|
XsStringExpr |
FnExpr.localName(NodeExpr arg)
Returns the local part of the name of arg as an xs:string that will either be the zero-length string or will have the lexical form of an xs:NCName.
|
XsStringExpr |
FnExpr.lowerCase(XsStringExpr string)
Returns the specified string converting all of the characters to lower-case characters.
|
XsStringExpr |
SqlExpr.ltrim(XsStringExpr str)
Return a string that removes leading empty spaces in the input string.
|
XsStringExpr |
XdmpExpr.md5(ItemExpr data)
Calculates the md5 hash of the given argument.
|
XsStringExpr |
XdmpExpr.md5(ItemExpr data,
String encoding)
Calculates the md5 hash of the given argument.
|
XsStringExpr |
XdmpExpr.md5(ItemExpr data,
XsStringExpr encoding)
Calculates the md5 hash of the given argument.
|
XsStringExpr |
SqlExpr.monthname(ItemExpr arg)
Returns month name, calculated from the localized value of arg.
|
XsStringExpr |
XdmpExpr.monthNameFromDate(XsDateExpr arg)
Returns month name, calculated from the localized value of arg.
|
XsStringExpr |
FnExpr.name(NodeExpr arg)
Returns the name of a node, as an
xs:string that is either the zero-length string, or has the lexical form of an xs:QName. |
XsStringExpr |
XdmpExpr.nodeKind(NodeExpr node)
Returns an
xs:string representing the node’s kind: either “document”, “element”, “attribute”, “text”, “namespace”, “processing-instruction”, “binary”, or “comment”. |
XsStringExpr |
XdmpExpr.nodeMetadataValue(NodeExpr uri,
String keyName)
Returns the metadata value of a node for a particular key.
|
XsStringExpr |
XdmpExpr.nodeMetadataValue(NodeExpr uri,
XsStringExpr keyName)
Returns the metadata value of a node for a particular key.
|
XsStringExpr |
XdmpExpr.nodeUri(NodeExpr node)
Returns the document-uri property of the parameter or its ancestor.
|
XsStringExpr |
FnExpr.normalizeSpace(XsStringExpr input)
Returns the specified string with normalized whitespace, which strips off any leading or trailing whitespace and replaces any other sequences of more than one whitespace characters with a single space character (#x20).
|
XsStringExpr |
FnExpr.normalizeUnicode(XsStringExpr arg)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
FnExpr.normalizeUnicode(XsStringExpr arg,
String normalizationForm)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
FnExpr.normalizeUnicode(XsStringExpr arg,
XsStringExpr normalizationForm)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
XdmpExpr.path(NodeExpr node)
Returns a string whose value corresponds to the path of the node.
|
XsStringExpr |
XdmpExpr.path(NodeExpr node,
boolean includeDocument)
Returns a string whose value corresponds to the path of the node.
|
XsStringExpr |
XdmpExpr.path(NodeExpr node,
XsBooleanExpr includeDocument)
Returns a string whose value corresponds to the path of the node.
|
XsStringExpr |
SqlExpr.repeat(ItemSeqExpr str,
double n)
Returns a string that concatenates the first argument as many times as specified by the second argument.
|
XsStringExpr |
SqlExpr.repeat(ItemSeqExpr str,
XsNumericExpr n)
Returns a string that concatenates the first argument as many times as specified by the second argument.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
String pattern,
String replacement)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
String pattern,
String replacement,
String flags)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
XsStringExpr pattern,
XsStringExpr replacement)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
XsStringExpr pattern,
XsStringExpr replacement,
XsStringExpr flags)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
SqlExpr.right(ItemSeqExpr str,
double n)
Returns a string that is the rightmost characters of the target string.
|
XsStringExpr |
SqlExpr.right(ItemSeqExpr str,
XsNumericExpr n)
Returns a string that is the rightmost characters of the target string.
|
XsStringExpr |
SpellExpr.romanize(XsStringExpr string)
Returns the romanization of the string, substituting basic Latin letters for the letters in the string, according to their sound.
|
XsStringExpr |
SqlExpr.rtrim(XsStringExpr str)
Return a string that removes trailing empty spaces in the input string.
|
XsStringExpr |
XdmpExpr.sha1(ItemExpr data)
Calculates the SHA1 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha1(ItemExpr data,
String encoding)
Calculates the SHA1 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha1(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA1 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha256(ItemExpr data)
Calculates the SHA256 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha256(ItemExpr data,
String encoding)
Calculates the SHA256 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha256(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA256 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha384(ItemExpr data)
Calculates the SHA384 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha384(ItemExpr data,
String encoding)
Calculates the SHA384 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha384(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA384 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha512(ItemExpr data)
Calculates the SHA512 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha512(ItemExpr data,
String encoding)
Calculates the SHA512 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha512(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA512 hash of the given argument.
|
XsStringExpr |
SqlExpr.space(XsNumericExpr n)
Returns a string that is the given number of spaces.
|
XsStringExpr |
XdmpExpr.strftime(XsStringExpr format,
String value)
Formats a dateTime value using POSIX strftime.
|
XsStringExpr |
XdmpExpr.strftime(XsStringExpr format,
XsDateTimeExpr value)
Formats a dateTime value using POSIX strftime.
|
XsStringExpr |
FnExpr.string(ItemExpr arg)
Returns the value of arg represented as an
xs:string. |
XsStringExpr |
XsExpr.string(XsAnyAtomicTypeExpr arg1)
Constructs or casts an expression to the xs:string server data type.
|
XsStringExpr |
FnExpr.stringJoin(XsStringSeqExpr parameter1,
String parameter2)
Returns an
xs:string created by concatenating the members of the parameter1 sequence using parameter2 as a separator. |
XsStringExpr |
FnExpr.stringJoin(XsStringSeqExpr parameter1,
XsStringExpr parameter2)
Returns an
xs:string created by concatenating the members of the parameter1 sequence using parameter2 as a separator. |
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
double startingLoc)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
double startingLoc,
double length)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
XsNumericExpr startingLoc)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
XsNumericExpr startingLoc,
XsNumericExpr length)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
String after)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
String after,
String collation)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
XsStringExpr after)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
XsStringExpr after,
XsStringExpr collation)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
String before)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
String before,
String collation)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
XsStringExpr before)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
XsStringExpr before,
XsStringExpr collation)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
SemExpr.timezoneString(XsDateTimeExpr value)
Returns the timezone of an
xs:dateTime value as a string. |
XsStringExpr |
FnExpr.translate(XsStringExpr src,
String mapString,
String transString)
Returns a string where every character in src that occurs in some position in the mapString is translated into the transString character in the corresponding location of the mapString character.
|
XsStringExpr |
FnExpr.translate(XsStringExpr src,
XsStringExpr mapString,
XsStringExpr transString)
Returns a string where every character in src that occurs in some position in the mapString is translated into the transString character in the corresponding location of the mapString character.
|
XsStringExpr |
SqlExpr.trim(XsStringExpr str)
Return a string that removes leading empty spaces in the input string.
|
XsStringExpr |
FnExpr.upperCase(XsStringExpr string)
Returns the specified string converting all of the characters to upper-case characters.
|
XsStringExpr |
XdmpExpr.urlDecode(XsStringExpr encoded)
Converts URL-encoded string to plaintext.
|
XsStringExpr |
XdmpExpr.urlEncode(XsStringExpr plaintext)
Converts plaintext into URL-encoded string.
|
XsStringExpr |
XdmpExpr.urlEncode(XsStringExpr plaintext,
boolean noSpacePlus)
Converts plaintext into URL-encoded string.
|
XsStringExpr |
XdmpExpr.urlEncode(XsStringExpr plaintext,
XsBooleanExpr noSpacePlus)
Converts plaintext into URL-encoded string.
|
XsStringExpr |
SemExpr.uuidString()
Return a string that is the scheme specific part of random UUID URN (RFC4122).
|
| Modifier and Type | Method and Description |
|---|---|
ElementNodeExpr |
FnExpr.analyzeString(XsStringExpr in,
XsStringExpr regex)
The result of the function is a new element node whose string value is the original string, but which contains markup to show which parts of the input match the regular expression.
|
ElementNodeExpr |
FnExpr.analyzeString(XsStringExpr in,
XsStringExpr regex,
XsStringExpr flags)
The result of the function is a new element node whose string value is the original string, but which contains markup to show which parts of the input match the regular expression.
|
XsStringExpr |
XdmpExpr.base64Decode(XsStringExpr encoded)
Converts base64-encoded string to plaintext.
|
XsStringExpr |
XdmpExpr.base64Encode(XsStringExpr plaintext)
Converts plaintext into base64-encoded string.
|
XsIntegerExpr |
SqlExpr.bitLength(XsStringExpr str)
Returns the length of the string “str” in bits.
|
XsBooleanExpr |
XdmpExpr.castableAs(XsStringExpr namespaceUri,
String localName,
ItemExpr item)
Returns true if a value is castable.
|
XsBooleanExpr |
XdmpExpr.castableAs(XsStringExpr namespaceUri,
XsStringExpr localName,
ItemExpr item)
Returns true if a value is castable.
|
XsBooleanExpr |
FnExpr.codepointEqual(XsStringExpr comparand1,
String comparand2)
Returns
true if the specified parameters are the same Unicode code point, otherwise returns false. |
XsBooleanExpr |
FnExpr.codepointEqual(XsStringExpr comparand1,
XsStringExpr comparand2)
Returns
true if the specified parameters are the same Unicode code point, otherwise returns false. |
XsStringExpr |
SqlExpr.collatedString(XsStringExpr string,
String collationURI)
Returns an
rdf:collatedString value with the given value and collation tag. |
XsStringExpr |
SqlExpr.collatedString(XsStringExpr string,
XsStringExpr collationURI)
Returns an
rdf:collatedString value with the given value and collation tag. |
XsIntegerExpr |
FnExpr.compare(XsStringExpr comparand1,
String comparand2)
Returns -1, 0, or 1, depending on whether the value of the comparand1 is respectively less than, equal to, or greater than the value of comparand2, according to the rules of the collation that is used.
|
XsIntegerExpr |
FnExpr.compare(XsStringExpr comparand1,
String comparand2,
String collation)
Returns -1, 0, or 1, depending on whether the value of the comparand1 is respectively less than, equal to, or greater than the value of comparand2, according to the rules of the collation that is used.
|
XsIntegerExpr |
FnExpr.compare(XsStringExpr comparand1,
XsStringExpr comparand2)
Returns -1, 0, or 1, depending on whether the value of the comparand1 is respectively less than, equal to, or greater than the value of comparand2, according to the rules of the collation that is used.
|
XsIntegerExpr |
FnExpr.compare(XsStringExpr comparand1,
XsStringExpr comparand2,
XsStringExpr collation)
Returns -1, 0, or 1, depending on whether the value of the comparand1 is respectively less than, equal to, or greater than the value of comparand2, according to the rules of the collation that is used.
|
XsBooleanExpr |
MapExpr.contains(MapMapExpr map,
XsStringExpr key)
Returns true if the key exists in the map.
|
XsBooleanExpr |
FnExpr.contains(XsStringExpr parameter1,
String parameter2)
Returns
true if the first parameter contains the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.contains(XsStringExpr parameter1,
String parameter2,
String collation)
Returns
true if the first parameter contains the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.contains(XsStringExpr parameter1,
XsStringExpr parameter2)
Returns
true if the first parameter contains the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.contains(XsStringExpr parameter1,
XsStringExpr parameter2,
XsStringExpr collation)
Returns
true if the first parameter contains the string from the second parameter, otherwise returns false. |
XsStringExpr |
XdmpExpr.crypt(XsStringExpr password,
String salt)
Calculates the password hash for the given password and salt.
|
XsStringExpr |
XdmpExpr.crypt(XsStringExpr password,
XsStringExpr salt)
Calculates the password hash for the given password and salt.
|
XsStringExpr |
XdmpExpr.crypt2(XsStringExpr password)
Calculates the password hash for the given plain-text password.
|
ItemExpr |
SqlExpr.dateadd(XsStringExpr datepart,
int number,
ItemExpr date)
Returns a specified date with the specified number interval (signed integer) added to a specified datepart of that date
|
ItemExpr |
SqlExpr.dateadd(XsStringExpr datepart,
XsIntExpr number,
ItemExpr date)
Returns a specified date with the specified number interval (signed integer) added to a specified datepart of that date
|
XsIntegerExpr |
SqlExpr.datediff(XsStringExpr datepart,
ItemExpr startdate,
ItemExpr enddate)
Returns the count (signed integer) of the specified datepart boundaries crossed between the specified startdate and enddate.
|
XsIntegerExpr |
SqlExpr.datepart(XsStringExpr datepart,
ItemExpr date)
Returns an integer that represents the specified
datepart of the specified date. |
XsStringExpr |
XdmpExpr.decodeFromNCName(XsStringExpr name)
Invertible function that decodes characters an NCName produced by
xdmp:encode-for-NCName. |
XsBooleanExpr |
FnExpr.deepEqual(ItemSeqExpr parameter1,
ItemSeqExpr parameter2,
XsStringExpr collation)
This function assesses whether two sequences are deep-equal to each other.
|
XsStringExpr |
XdmpExpr.diacriticLess(XsStringExpr string)
Returns the specified string, converting all of the characters with diacritics to characters without diacritics.
|
XsAnyAtomicTypeSeqExpr |
FnExpr.distinctValues(XsAnyAtomicTypeSeqExpr arg,
XsStringExpr collation)
Returns the sequence that results from removing from arg all but one of a set of values that are eq to one other.
|
XsStringSeqExpr |
SpellExpr.doubleMetaphone(XsStringExpr word)
Given a word returns the two metaphone keys.
|
XsStringExpr |
XdmpExpr.encodeForNCName(XsStringExpr name)
Invertible function that escapes characters required to be part of an NCName.
|
XsStringExpr |
FnExpr.encodeForUri(XsStringExpr uriPart)
Invertible function that escapes characters required to be escaped inside path segments of URIs.
|
XsBooleanExpr |
FnExpr.endsWith(XsStringExpr parameter1,
String parameter2)
Returns
true if the first parameter ends with the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.endsWith(XsStringExpr parameter1,
String parameter2,
String collation)
Returns
true if the first parameter ends with the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.endsWith(XsStringExpr parameter1,
XsStringExpr parameter2)
Returns
true if the first parameter ends with the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.endsWith(XsStringExpr parameter1,
XsStringExpr parameter2,
XsStringExpr collation)
Returns
true if the first parameter ends with the string from the second parameter, otherwise returns false. |
MapMapExpr |
MapExpr.entry(XsStringExpr key,
ItemSeqExpr value)
Constructs a new map with a single entry consisting of the key and value specified as arguments.
|
XsStringExpr |
FnExpr.escapeHtmlUri(XsStringExpr uriPart)
%-escapes everything except printable ASCII characters.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDate(XsDateExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
FnExpr.formatDateTime(XsDateTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr decimalFormatName)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar,
XsStringExpr zeroPadding)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar,
XsStringExpr zeroPadding,
XsStringExpr groupingSeparator)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
XdmpExpr.formatNumber(XsNumericSeqExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr letterValue,
XsStringExpr ordchar,
XsStringExpr zeroPadding,
XsStringExpr groupingSeparator,
XsIntegerExpr groupingSize)
Returns a formatted number value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture,
XsStringExpr language)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
FnExpr.formatTime(XsTimeExpr value,
XsStringExpr picture,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Returns a formatted time value based on the picture argument.
|
ItemSeqExpr |
MapExpr.get(MapMapExpr map,
XsStringExpr key)
Get a value from a map.
|
XsUnsignedIntExpr |
XdmpExpr.hash32(XsStringExpr string)
Returns the 32-bit hash of a string.
|
XsUnsignedLongExpr |
XdmpExpr.hash64(XsStringExpr string)
Returns the 64-bit hash of a string.
|
XsIntegerExpr |
XdmpExpr.hexToInteger(XsStringExpr hex)
Parses a hexadecimal string, returning an integer.
|
XsStringExpr |
XdmpExpr.hmacMd5(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the md5 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha1(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA1 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha256(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA256 hash function of the given secret key and message arguments.
|
XsStringExpr |
XdmpExpr.hmacSha512(ItemExpr secretkey,
ItemExpr message,
XsStringExpr encoding)
Calculates the Hash-based Message Authentication Code (HMAC) using the SHA512 hash function of the given secret key and message arguments.
|
XsIntegerSeqExpr |
FnExpr.indexOf(XsAnyAtomicTypeSeqExpr seqParam,
XsAnyAtomicTypeExpr srchParam,
XsStringExpr collationLiteral)
Returns a sequence of positive integers giving the positions within the sequence seqParam of items that are equal to srchParam.
|
XsStringExpr |
XdmpExpr.initcap(XsStringExpr string)
Returns the string where the first letter of each token has been uppercased.
|
XsStringExpr |
SqlExpr.insert(XsStringExpr str,
double start,
double length,
String str2)
Returns a string that that is the first argument with length characters removed starting at start and the second string has been inserted beginning at start.
|
XsStringExpr |
SqlExpr.insert(XsStringExpr str,
XsNumericExpr start,
XsNumericExpr length,
XsStringExpr str2)
Returns a string that that is the first argument with length characters removed starting at start and the second string has been inserted beginning at start.
|
XsUnsignedIntExpr |
SqlExpr.instr(XsStringExpr str,
String n)
Find the starting location of a pattern in a string.
|
XsUnsignedIntExpr |
SqlExpr.instr(XsStringExpr str,
XsStringExpr n)
Find the starting location of a pattern in a string.
|
SemInvalidExpr |
SemExpr.invalid(XsStringExpr string,
SemIriExpr datatype)
Returns a
sem:invalid value with the given literal value and datatype IRI. |
SemInvalidExpr |
SemExpr.invalid(XsStringExpr string,
String datatype)
Returns a
sem:invalid value with the given literal value and datatype IRI. |
XsQNameExpr |
SemExpr.iriToQName(XsStringExpr arg1) |
XsStringExpr |
FnExpr.iriToUri(XsStringExpr uriPart)
Idempotent function that escapes non-URI characters.
|
XsBooleanExpr |
FnExpr.lang(XsStringExpr testlang,
NodeExpr node)
This function tests whether the language of node, or the context node if the second argument is omitted, as specified by xml:lang attributes is the same as, or is a sublanguage of, the language specified by testlang.
|
XsBooleanExpr |
SemExpr.langMatches(XsStringExpr langTag,
String langRange)
Returns true if
lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647. |
XsBooleanExpr |
SemExpr.langMatches(XsStringExpr langTag,
XsStringExpr langRange)
Returns true if
lang-tag matches lang-range according to the basic filtering scheme defined in RFC4647. |
RdfLangStringExpr |
RdfExpr.langString(XsStringExpr string,
String lang)
Returns an
rdf:langString value with the given value and language tag. |
RdfLangStringExpr |
RdfExpr.langString(XsStringExpr string,
XsStringExpr lang)
Returns an
rdf:langString value with the given value and language tag. |
XsIntegerExpr |
SpellExpr.levenshteinDistance(XsStringExpr str1,
String str2)
Given two strings, returns the Levenshtein distance between those strings.
|
XsIntegerExpr |
SpellExpr.levenshteinDistance(XsStringExpr str1,
XsStringExpr str2)
Given two strings, returns the Levenshtein distance between those strings.
|
XsStringExpr |
FnExpr.lowerCase(XsStringExpr string)
Returns the specified string converting all of the characters to lower-case characters.
|
XsStringExpr |
SqlExpr.ltrim(XsStringExpr str)
Return a string that removes leading empty spaces in the input string.
|
XsBooleanExpr |
FnExpr.matches(XsStringExpr input,
String pattern)
Returns
true if the specified input matches the specified pattern, otherwise returns false. |
XsBooleanExpr |
FnExpr.matches(XsStringExpr input,
String pattern,
String flags)
Returns
true if the specified input matches the specified pattern, otherwise returns false. |
XsBooleanExpr |
FnExpr.matches(XsStringExpr input,
XsStringExpr pattern)
Returns
true if the specified input matches the specified pattern, otherwise returns false. |
XsBooleanExpr |
FnExpr.matches(XsStringExpr input,
XsStringExpr pattern,
XsStringExpr flags)
Returns
true if the specified input matches the specified pattern, otherwise returns false. |
XsAnyAtomicTypeExpr |
FnExpr.max(XsAnyAtomicTypeSeqExpr arg,
XsStringExpr collation)
Selects an item from the input sequence arg whose value is greater than or equal to the value of every other item in the input sequence.
|
XsStringExpr |
XdmpExpr.md5(ItemExpr data,
XsStringExpr encoding)
Calculates the md5 hash of the given argument.
|
XsAnyAtomicTypeExpr |
FnExpr.min(XsAnyAtomicTypeSeqExpr arg,
XsStringExpr collation)
Selects an item from the input sequence arg whose value is less than or equal to the value of every other item in the input sequence.
|
XsAnyURIExpr |
FnExpr.namespaceUriForPrefix(XsStringExpr prefix,
ElementNodeExpr element)
Returns the namespace URI of one of the in-scope namespaces for element, identified by its namespace prefix.
|
XsStringExpr |
XdmpExpr.nodeMetadataValue(NodeExpr uri,
XsStringExpr keyName)
Returns the metadata value of a node for a particular key.
|
ItemSeqExpr |
XdmpExpr.nodePermissions(NodeExpr node,
XsStringExpr outputKind)
Returns the permissions to a node’s document.
|
XsStringExpr |
FnExpr.normalizeSpace(XsStringExpr input)
Returns the specified string with normalized whitespace, which strips off any leading or trailing whitespace and replaces any other sequences of more than one whitespace characters with a single space character (#x20).
|
XsStringExpr |
FnExpr.normalizeUnicode(XsStringExpr arg)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
FnExpr.normalizeUnicode(XsStringExpr arg,
String normalizationForm)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
FnExpr.normalizeUnicode(XsStringExpr arg,
XsStringExpr normalizationForm)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsIntegerExpr |
XdmpExpr.octalToInteger(XsStringExpr octal)
Parses an octal string, returning an integer.
|
XsIntegerExpr |
SqlExpr.octetLength(XsStringExpr x)
Returns the length of the string “str” in bits.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
String value)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
String value,
String language)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
String value,
String language,
String calendar)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
String value,
String language,
String calendar,
String country)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
XsStringExpr value)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
XsStringExpr value,
XsStringExpr language)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
XsStringExpr value,
XsStringExpr language,
XsStringExpr calendar)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseDateTime(XsStringExpr picture,
XsStringExpr value,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
String value)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
String value,
String language)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
String value,
String language,
String calendar)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
String value,
String language,
String calendar,
String country)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
XsStringExpr value)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
XsStringExpr value,
XsStringExpr language)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
XsStringExpr value,
XsStringExpr language,
XsStringExpr calendar)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsDateTimeExpr |
XdmpExpr.parseYymmdd(XsStringExpr picture,
XsStringExpr value,
XsStringExpr language,
XsStringExpr calendar,
XsStringExpr country)
Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
|
XsIntegerExpr |
XdmpExpr.position(XsStringExpr test,
String target)
Returns an integer value representing the starting position of a string within the search string.
|
XsIntegerExpr |
XdmpExpr.position(XsStringExpr test,
String target,
String collation)
Returns an integer value representing the starting position of a string within the search string.
|
XsIntegerExpr |
XdmpExpr.position(XsStringExpr test,
XsStringExpr target)
Returns an integer value representing the starting position of a string within the search string.
|
XsIntegerExpr |
XdmpExpr.position(XsStringExpr test,
XsStringExpr target,
XsStringExpr collation)
Returns an integer value representing the starting position of a string within the search string.
|
abstract PlanJsonProperty |
PlanBuilder.prop(XsStringExpr key,
JsonContentNodeExpr value)
This function specifies the key expression and value content for a JSON property of a JSON object contructed by the op:json-object function.
|
XsQNameExpr |
FnExpr.QName(XsStringExpr paramURI,
String paramQName)
Returns an
xs:QName with the namespace URI given in paramURI. |
XsQNameExpr |
FnExpr.QName(XsStringExpr paramURI,
XsStringExpr paramQName)
Returns an
xs:QName with the namespace URI given in paramURI. |
XsQNameExpr |
XdmpExpr.QNameFromKey(XsStringExpr key)
Construct a QName from a string of the form “{namespaceURI}localname”.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
String pattern,
String replacement)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
String pattern,
String replacement,
String flags)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
XsStringExpr pattern,
XsStringExpr replacement)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsStringExpr |
FnExpr.replace(XsStringExpr input,
XsStringExpr pattern,
XsStringExpr replacement,
XsStringExpr flags)
Returns a string constructed by replacing the specified pattern on the input string with the specified replacement string.
|
XsQNameExpr |
FnExpr.resolveQName(XsStringExpr qname,
ElementNodeExpr element)
Returns an
xs:QName value (that is, an expanded QName) by taking an xs:string that has the lexical form of an xs:QName (a string in the form “prefix:local-name” or “local-name”) and resolving it using the in-scope namespaces for a given element. |
XsAnyURIExpr |
XdmpExpr.resolveUri(XsStringExpr relative,
String base)
Resolves a relative URI against an absolute URI.
|
XsAnyURIExpr |
FnExpr.resolveUri(XsStringExpr relative,
String base)
Resolves a relative URI against an absolute URI.
|
XsAnyURIExpr |
XdmpExpr.resolveUri(XsStringExpr relative,
XsStringExpr base)
Resolves a relative URI against an absolute URI.
|
XsAnyURIExpr |
FnExpr.resolveUri(XsStringExpr relative,
XsStringExpr base)
Resolves a relative URI against an absolute URI.
|
XsStringExpr |
SpellExpr.romanize(XsStringExpr string)
Returns the romanization of the string, substituting basic Latin letters for the letters in the string, according to their sound.
|
XsStringExpr |
SqlExpr.rtrim(XsStringExpr str)
Return a string that removes trailing empty spaces in the input string.
|
XsStringExpr |
XdmpExpr.sha1(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA1 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha256(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA256 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha384(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA384 hash of the given argument.
|
XsStringExpr |
XdmpExpr.sha512(ItemExpr data,
XsStringExpr encoding)
Calculates the SHA512 hash of the given argument.
|
XsBooleanExpr |
FnExpr.startsWith(XsStringExpr parameter1,
String parameter2)
Returns
true if the first parameter starts with the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.startsWith(XsStringExpr parameter1,
String parameter2,
String collation)
Returns
true if the first parameter starts with the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.startsWith(XsStringExpr parameter1,
XsStringExpr parameter2)
Returns
true if the first parameter starts with the string from the second parameter, otherwise returns false. |
XsBooleanExpr |
FnExpr.startsWith(XsStringExpr parameter1,
XsStringExpr parameter2,
XsStringExpr collation)
Returns
true if the first parameter starts with the string from the second parameter, otherwise returns false. |
XsStringSeqExpr |
CtsExpr.stem(XsStringExpr text)
Returns the stem(s) for a word.
|
XsStringSeqExpr |
CtsExpr.stem(XsStringExpr text,
String language)
Returns the stem(s) for a word.
|
XsStringSeqExpr |
CtsExpr.stem(XsStringExpr text,
String language,
String partOfSpeech)
Returns the stem(s) for a word.
|
XsStringSeqExpr |
CtsExpr.stem(XsStringExpr text,
XsStringExpr language)
Returns the stem(s) for a word.
|
XsStringSeqExpr |
CtsExpr.stem(XsStringExpr text,
XsStringExpr language,
XsStringExpr partOfSpeech)
Returns the stem(s) for a word.
|
XsStringExpr |
XdmpExpr.strftime(XsStringExpr format,
String value)
Formats a dateTime value using POSIX strftime.
|
XsStringExpr |
XdmpExpr.strftime(XsStringExpr format,
XsDateTimeExpr value)
Formats a dateTime value using POSIX strftime.
|
XsStringExpr |
FnExpr.stringJoin(XsStringSeqExpr parameter1,
XsStringExpr parameter2)
Returns an
xs:string created by concatenating the members of the parameter1 sequence using parameter2 as a separator. |
XsIntegerExpr |
FnExpr.stringLength(XsStringExpr sourceString)
Returns an integer representing the length of the specified string.
|
XsStringSeqExpr |
XsExpr.stringSeq(XsStringExpr... items)
Constructs a sequence of XsStringExpr items.
|
XsIntegerSeqExpr |
FnExpr.stringToCodepoints(XsStringExpr arg)
Returns the sequence of Unicode code points that constitute an xs:string.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
double startingLoc)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
double startingLoc,
double length)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
XsNumericExpr startingLoc)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substring(XsStringExpr sourceString,
XsNumericExpr startingLoc,
XsNumericExpr length)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
String after)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
String after,
String collation)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
XsStringExpr after)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringAfter(XsStringExpr input,
XsStringExpr after,
XsStringExpr collation)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
String before)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
String before,
String collation)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
XsStringExpr before)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
FnExpr.substringBefore(XsStringExpr input,
XsStringExpr before,
XsStringExpr collation)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
ItemExpr |
SqlExpr.timestampadd(XsStringExpr dateTimeType,
int value,
ItemExpr timestamp)
Returns a xs:string? timestamp created by adding a number to the given dateTimeType field of a given timestamp.
|
ItemExpr |
SqlExpr.timestampadd(XsStringExpr dateTimeType,
XsIntExpr value,
ItemExpr timestamp)
Returns a xs:string? timestamp created by adding a number to the given dateTimeType field of a given timestamp.
|
XsIntegerExpr |
SqlExpr.timestampdiff(XsStringExpr dateTimeType,
ItemExpr timestamp1,
ItemExpr timestamp2)
Returns the difference in dateTimeType field of two given timestamps.
|
XsStringSeqExpr |
CtsExpr.tokenize(XsStringExpr text)
Tokenizes text into words, punctuation, and spaces.
|
XsStringSeqExpr |
FnExpr.tokenize(XsStringExpr input,
String pattern)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
CtsExpr.tokenize(XsStringExpr text,
String language)
Tokenizes text into words, punctuation, and spaces.
|
XsStringSeqExpr |
FnExpr.tokenize(XsStringExpr input,
String pattern,
String flags)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
CtsExpr.tokenize(XsStringExpr text,
String language,
String field)
Tokenizes text into words, punctuation, and spaces.
|
XsStringSeqExpr |
FnExpr.tokenize(XsStringExpr input,
XsStringExpr pattern)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
CtsExpr.tokenize(XsStringExpr text,
XsStringExpr language)
Tokenizes text into words, punctuation, and spaces.
|
XsStringSeqExpr |
FnExpr.tokenize(XsStringExpr input,
XsStringExpr pattern,
XsStringExpr flags)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
CtsExpr.tokenize(XsStringExpr text,
XsStringExpr language,
XsStringExpr field)
Tokenizes text into words, punctuation, and spaces.
|
XsStringExpr |
FnExpr.translate(XsStringExpr src,
String mapString,
String transString)
Returns a string where every character in src that occurs in some position in the mapString is translated into the transString character in the corresponding location of the mapString character.
|
XsStringExpr |
FnExpr.translate(XsStringExpr src,
XsStringExpr mapString,
XsStringExpr transString)
Returns a string where every character in src that occurs in some position in the mapString is translated into the transString character in the corresponding location of the mapString character.
|
XsStringExpr |
SqlExpr.trim(XsStringExpr str)
Return a string that removes leading empty spaces in the input string.
|
XsAnyAtomicTypeExpr |
SemExpr.typedLiteral(XsStringExpr value,
SemIriExpr datatype)
Returns a value to represent the RDF typed literal with lexical value
value and datatype IRI datatype. |
XsAnyAtomicTypeExpr |
SemExpr.typedLiteral(XsStringExpr value,
String datatype)
Returns a value to represent the RDF typed literal with lexical value
value and datatype IRI datatype. |
SemUnknownExpr |
SemExpr.unknown(XsStringExpr string,
SemIriExpr datatype)
Returns a
sem:unknown value with the given literal value and datatype IRI. |
SemUnknownExpr |
SemExpr.unknown(XsStringExpr string,
String datatype)
Returns a
sem:unknown value with the given literal value and datatype IRI. |
XsStringExpr |
FnExpr.upperCase(XsStringExpr string)
Returns the specified string converting all of the characters to upper-case characters.
|
XsStringExpr |
XdmpExpr.urlDecode(XsStringExpr encoded)
Converts URL-encoded string to plaintext.
|
XsStringExpr |
XdmpExpr.urlEncode(XsStringExpr plaintext)
Converts plaintext into URL-encoded string.
|
XsStringExpr |
XdmpExpr.urlEncode(XsStringExpr plaintext,
boolean noSpacePlus)
Converts plaintext into URL-encoded string.
|
XsStringExpr |
XdmpExpr.urlEncode(XsStringExpr plaintext,
XsBooleanExpr noSpacePlus)
Converts plaintext into URL-encoded string.
|
abstract ProcessingInstructionNodeExpr |
PlanBuilder.xmlPi(XsStringExpr name,
XsAnyAtomicTypeExpr value)
This function constructs an XML processing instruction with the atomic value.
|
abstract NodeSeqExpr |
PlanBuilder.xpath(PlanColumn column,
XsStringExpr path)
This function extracts a sequence of child nodes from a column with node values – especially, the document nodes from a document join.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PlanColumn
An instance of a column expression returned by a col() call in a row pipeline.
|
interface |
PlanParamExpr
An instance of a placeholder parameter returned by a call to the param() function that can represent a literal value in expressions and can be passed on a bind() call to be assigned a literal value when invoking a row pipeline.
|
interface |
PlanSystemColumn
An instance of a fragment id, graph id, or other system column for a row pipeline.
|
interface |
RdfLangStringExpr
An instance of an RDF language string expression.
|
interface |
RdfLangStringVal
A sequence of RDF language string values.
|
interface |
XsLanguageExpr
An instance of a server language expression.
|
interface |
XsNameExpr
An instance of a server name expression.
|
interface |
XsNCNameExpr
An instance of a server NCName expression.
|
interface |
XsNMTOKENExpr
An instance of a server name token expression.
|
interface |
XsNormalizedStringExpr
An instance of a server normalized string expression.
|
interface |
XsStringVal
An instance of a server string value.
|
interface |
XsTokenExpr
An instance of a server token expression.
|
Copyright © 2013-2017 MarkLogic Corporation.