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(Name staticAttributeName, DataFunctionIterator contentExpression, RuntimeStaticContext staticContext) Constructor for static attribute name: attribute attributeName { value }ComputedAttributeConstructorRuntimeIterator(DataFunctionIterator nameIterator, DataFunctionIterator 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, resetMethods inherited from class org.rumbledb.runtime.RuntimeIterator
bindToVariableInDynamicContext, canProduceDataFrame, deepCopy, generateNativeQuery, getConfiguration, getDataFrame, getEffectiveBooleanValue, getHighestExecutionMode, getMetadata, getOrCreateDataFrame, getPendingUpdateList, getRuntimeStaticContext, getStaticType, getVariableDependencies, hasNext, isDataFrame, isLocal, isOpen, isRDD, isRDDOrDataFrame, isSequential, isSparkJobNeeded, isUpdating, materialize, materializeAtMostOneItemOrDefault, print, printToStandardError, read, setStaticContext, write
-
Constructor Details
-
ComputedAttributeConstructorRuntimeIterator
public ComputedAttributeConstructorRuntimeIterator(Name staticAttributeName, DataFunctionIterator contentExpression, RuntimeStaticContext staticContext) Constructor for static attribute name: attribute attributeName { value }- Parameters:
staticAttributeName- The static attribute name (expanded)contentExpression- The value iteratorstaticContext- The runtime static context
-
ComputedAttributeConstructorRuntimeIterator
public ComputedAttributeConstructorRuntimeIterator(DataFunctionIterator nameIterator, DataFunctionIterator 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:
materializeFirstItemOrNullin classAtMostOneItemLocalRuntimeIterator
-