Class NilledFunctionIterator
java.lang.Object
org.rumbledb.runtime.RuntimeIterator
org.rumbledb.runtime.LocalRuntimeIterator
org.rumbledb.runtime.functions.base.LocalFunctionCallIterator
org.rumbledb.runtime.functions.xml.NilledFunctionIterator
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,Serializable,RuntimeIteratorInterface
Implementation of the fn:nilled function according to XPath and XQuery Functions and Operators 3.1
(
https://www.w3.org/TR/xpath-functions-31/#func-nilled) and the XDM 3.1 nilled accessor.
XDM 3.1 Section 5.8 nilled Accessor.
dm:nilled($n as node()) as xs:boolean?
"The dm:nilled accessor returns true if the element node is nilled, false if the element
node is not nilled, or the empty sequence if the concept of nilled does not apply."
In this API, the optional xs:boolean result is represented as a sequence of zero or one Items
returned by Item.nilled().
Function signature (Functions and Operators 3.1, fn:nilled):
- fn:nilled($arg as node()?) as xs:boolean?
Rules:
- If the argument is supplied and is the empty sequence, the function returns the empty sequence.
- Otherwise, the function returns dm:nilled($arg).-
Field Summary
Fields inherited from class org.rumbledb.runtime.RuntimeIterator
children, currentDynamicContextForLocalExecution, FLOW_EXCEPTION_MESSAGE, hasNext, isOpen, isSequential, isUpdating, staticContext, staticURI -
Constructor Summary
ConstructorsConstructorDescriptionNilledFunctionIterator(List<RuntimeIterator> parameters, RuntimeStaticContext staticContext) -
Method Summary
Methods inherited from class org.rumbledb.runtime.RuntimeIterator
bindToVariableInDynamicContext, canProduceDataFrame, close, deepCopy, generateNativeQuery, getConfiguration, getDataFrame, getEffectiveBooleanValue, getEffectiveBooleanValueOrCheckPosition, getHighestExecutionMode, getMetadata, getOrCreateDataFrame, getPendingUpdateList, getRDD, getRuntimeStaticContext, getStaticType, getVariableDependencies, hasNext, isDataFrame, isLocal, isOpen, isRDD, isRDDOrDataFrame, isSequential, isSparkJobNeeded, isUpdating, materialize, materialize, materializeAtMostOneItemOrDefault, materializeAtMostOneItemOrNull, materializeExactlyOneItem, materializeFirstItemOrNull, materializeNFirstItems, print, printToStandardError, read, reset, setStaticContext, write
-
Constructor Details
-
NilledFunctionIterator
-
-
Method Details
-
open
- Specified by:
openin interfaceRuntimeIteratorInterface- Overrides:
openin classRuntimeIterator
-
next
- Specified by:
nextin interfaceRuntimeIteratorInterface- Specified by:
nextin classRuntimeIterator
-