public static interface DocumentMetadataPatchBuilder.CallBuilder
Modifier and Type | Method and Description |
---|---|
DocumentMetadataPatchBuilder.Call |
add(Number number)
Calls the built-in method to add to an existing value.
|
DocumentMetadataPatchBuilder.Call |
applyLibrary(String function)
Calls a function with no arguments other than the existing
fragment.
|
DocumentMetadataPatchBuilder.Call |
applyLibraryFragments(String function,
Object... args)
Calls a function with the existing fragment and one or more
specified fragments.
|
DocumentMetadataPatchBuilder.Call |
applyLibraryValues(String function,
Object... args)
Calls a function with the existing fragment and one or more
values.
|
DocumentMetadataPatchBuilder.Call |
concatenateAfter(String prefix)
Calls the built-in method to append an existing string
to the supplied string.
|
DocumentMetadataPatchBuilder.Call |
concatenateBefore(String suffix)
Calls the built-in method to concatenate an existing string
before the supplied string.
|
DocumentMetadataPatchBuilder.Call |
concatenateBetween(String prefix,
String suffix)
Calls the built-in method to concatenate an existing string
between the supplied strings.
|
DocumentMetadataPatchBuilder.Call |
divideBy(Number number)
Calls the built-in method to divide an existing value
by the supplied number.
|
DocumentMetadataPatchBuilder.Call |
multiply(Number number)
Calls the built-in method to multiply an existing value.
|
DocumentMetadataPatchBuilder.Call |
replaceRegex(String pattern,
String replacement)
Calls the built-in method to modify an existing string
with a regular expression
|
DocumentMetadataPatchBuilder.Call |
replaceRegex(String pattern,
String replacement,
String flags)
Calls the built-in method to modify an existing string
with a regular expression
|
DocumentMetadataPatchBuilder.Call |
substringAfter(String prefix)
Calls the built-in method to reduce an existing string
to a trailing substring.
|
DocumentMetadataPatchBuilder.Call |
substringBefore(String suffix)
Calls the built-in method to reduce an existing string
to a leading substring.
|
DocumentMetadataPatchBuilder.Call |
subtract(Number number)
Calls the built-in method to subtract from an existing value.
|
DocumentMetadataPatchBuilder.Call add(Number number)
number
- the added numberDocumentMetadataPatchBuilder.Call subtract(Number number)
number
- the subtracted numberDocumentMetadataPatchBuilder.Call multiply(Number number)
number
- the multiplierDocumentMetadataPatchBuilder.Call divideBy(Number number)
number
- the divisorDocumentMetadataPatchBuilder.Call concatenateAfter(String prefix)
prefix
- the string that appears firstDocumentMetadataPatchBuilder.Call concatenateBetween(String prefix, String suffix)
prefix
- the string that appears firstsuffix
- the string that appears lastDocumentMetadataPatchBuilder.Call concatenateBefore(String suffix)
suffix
- the string that appears lastDocumentMetadataPatchBuilder.Call substringAfter(String prefix)
prefix
- the initial part of the stringDocumentMetadataPatchBuilder.Call substringBefore(String suffix)
suffix
- the final part of the stringDocumentMetadataPatchBuilder.Call replaceRegex(String pattern, String replacement)
pattern
- the matching regular expressionreplacement
- the replacement for the matchDocumentMetadataPatchBuilder.Call replaceRegex(String pattern, String replacement, String flags)
pattern
- the matching regular expressionreplacement
- the replacement for the matchflags
- the regex flagsDocumentMetadataPatchBuilder.Call applyLibrary(String function)
function
- the name of the functionDocumentMetadataPatchBuilder.Call applyLibraryValues(String function, Object... args)
function
- the name of the functionargs
- the literal valuesDocumentMetadataPatchBuilder.Call applyLibraryFragments(String function, Object... args)
function
- the name of the functionargs
- the fragmentsCopyright © 2013-2015 MarkLogic Corporation.