Package org.rumbledb.runtime.xml
Class DocumentNodeConstructorRuntimeIterator
java.lang.Object
org.rumbledb.runtime.RuntimeIterator
org.rumbledb.runtime.AtMostOneItemLocalRuntimeIterator
org.rumbledb.runtime.xml.DocumentNodeConstructorRuntimeIterator
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,Serializable
,RuntimeIteratorInterface
Runtime iterator for document node constructors.
Document node constructors create document nodes according to the XQuery 3.1 specification.
All document node constructors are computed constructors. The result of a document node
constructor is a new document node, with its own node identity.
-
Field Summary
Fields inherited from class org.rumbledb.runtime.RuntimeIterator
children, currentDynamicContextForLocalExecution, FLOW_EXCEPTION_MESSAGE, hasNext, isOpen, isSequential, isUpdating, staticContext, staticURI
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentNodeConstructorRuntimeIterator
(RuntimeIterator contentIterator, RuntimeStaticContext staticContext) Constructor for document node constructor runtime iterator -
Method Summary
Methods inherited from class org.rumbledb.runtime.AtMostOneItemLocalRuntimeIterator
close, getEffectiveBooleanValueOrCheckPosition, getRDD, materialize, materializeAtMostOneItemOrNull, materializeExactlyOneItem, materializeNFirstItems, next, open, reset
Methods inherited from class org.rumbledb.runtime.RuntimeIterator
bindToVariableInDynamicContext, canProduceDataFrame, deepCopy, generateNativeQuery, getConfiguration, getDataFrame, getEffectiveBooleanValue, getHighestExecutionMode, getMetadata, getOrCreateDataFrame, getPendingUpdateList, getStaticType, getVariableDependencies, hasNext, isDataFrame, isLocal, isOpen, isRDD, isRDDOrDataFrame, isSequential, isSparkJobNeeded, isUpdating, materialize, materializeAtMostOneItemOrDefault, print, printToStandardError, read, setStaticContext, write
-
Constructor Details
-
DocumentNodeConstructorRuntimeIterator
public DocumentNodeConstructorRuntimeIterator(RuntimeIterator contentIterator, RuntimeStaticContext staticContext) Constructor for document node constructor runtime iterator- Parameters:
contentIterator
- Iterator for the content expressionstaticContext
- The static context
-
-
Method Details
-
materializeFirstItemOrNull
- Specified by:
materializeFirstItemOrNull
in classAtMostOneItemLocalRuntimeIterator
-