Class DocumentUriFunctionIterator
java.lang.Object
org.rumbledb.runtime.plan.RuntimePlan<Item>
org.rumbledb.runtime.plan.ItemRuntimePlan
org.rumbledb.runtime.functions.base.LocalFunctionCallIterator
org.rumbledb.runtime.functions.xml.DocumentUriFunctionIterator
- All Implemented Interfaces:
Serializable,LocalRuntimePlan<Item>
Implementation of the fn:document-uri function according to XPath and XQuery Functions and Operators 3.1
(
https://www.w3.org/TR/xpath-functions-31/#func-document-uri) and the XDM 3.1 document-uri accessor.
XDM 3.1 Section 5.4 document-uri Accessor.
dm:document-uri($n as document-node()) as xs:anyURI?
"The dm:document-uri accessor returns the value of the document-uri property of a
document node, if it has one; otherwise it returns the empty sequence."
Function signature (Functions and Operators 3.1, fn:document-uri):
- fn:document-uri($arg as node()?) as xs:anyURI?
- If the argument is supplied and is the empty sequence, the function returns the empty sequence.
- Otherwise, the function returns dm:document-uri($arg).
-
Field Summary
Fields inherited from class org.rumbledb.runtime.plan.RuntimePlan
staticContext -
Constructor Summary
ConstructorsConstructorDescriptionDocumentUriFunctionIterator(List<ItemRuntimePlan> parameters, RuntimeStaticContext staticContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateNativeCursor(DynamicContext context) Creates an independent cursor for one native local evaluation.Methods inherited from class org.rumbledb.runtime.plan.ItemRuntimePlan
getChild, getChildren, getStaticType, getVariableDependencies, isSparkJobNeeded, printMethods inherited from class org.rumbledb.runtime.plan.RuntimePlan
getConfiguration, getCursor, getDataFrame, getMetadata, getRDD, getRuntimeStaticContext, materialize, materializeAtMost, materializeAtMostOne, materializeExactlyOne, materializeFirstOrNull
-
Constructor Details
-
DocumentUriFunctionIterator
public DocumentUriFunctionIterator(List<ItemRuntimePlan> parameters, RuntimeStaticContext staticContext)
-
-
Method Details
-
createNativeCursor
Description copied from interface:LocalRuntimePlanCreates an independent cursor for one native local evaluation.- Parameters:
context- the dynamic context for that evaluation- Returns:
- an unopened cursor
-