Package org.rumbledb.runtime.xml
Class ComputedAttributeConstructorRuntimeIterator
java.lang.Object
org.rumbledb.runtime.RuntimeIterator
org.rumbledb.runtime.AtMostOneItemLocalRuntimeIterator
org.rumbledb.runtime.xml.ComputedAttributeConstructorRuntimeIterator
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,Serializable
,RuntimeIteratorInterface
Runtime iterator for computed attribute constructors.
-
Field Summary
Fields inherited from class org.rumbledb.runtime.RuntimeIterator
children, currentDynamicContextForLocalExecution, FLOW_EXCEPTION_MESSAGE, hasNext, isOpen, isSequential, isUpdating, staticContext, staticURI
-
Constructor Summary
ConstructorsConstructorDescriptionComputedAttributeConstructorRuntimeIterator
(String staticAttributeName, AtomizationIterator contentExpression, RuntimeStaticContext staticContext) Constructor for static attribute name: attribute attributeName { value }ComputedAttributeConstructorRuntimeIterator
(AtomizationIterator nameIterator, AtomizationIterator contentExpression, RuntimeStaticContext staticContext) Constructor for dynamic attribute name: attribute { nameExpression } { value } -
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
-
ComputedAttributeConstructorRuntimeIterator
public ComputedAttributeConstructorRuntimeIterator(String staticAttributeName, AtomizationIterator contentExpression, RuntimeStaticContext staticContext) Constructor for static attribute name: attribute attributeName { value }- Parameters:
staticAttributeName
- The static attribute namecontentExpression
- The value iteratorstaticContext
- The runtime static context
-
ComputedAttributeConstructorRuntimeIterator
public ComputedAttributeConstructorRuntimeIterator(AtomizationIterator nameIterator, AtomizationIterator contentExpression, RuntimeStaticContext staticContext) Constructor for dynamic attribute name: attribute { nameExpression } { value }- Parameters:
nameIterator
- The dynamic attribute name iterator (wrapped in AtomizationIterator)contentExpression
- The value iteratorstaticContext
- The runtime static context
-
-
Method Details
-
materializeFirstItemOrNull
- Specified by:
materializeFirstItemOrNull
in classAtMostOneItemLocalRuntimeIterator
-