Class DeepEqualFunctionIterator
java.lang.Object
org.rumbledb.runtime.RuntimeIterator
org.rumbledb.runtime.AtMostOneItemLocalRuntimeIterator
org.rumbledb.runtime.functions.sequences.value.DeepEqualFunctionIterator
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,Serializable
,RuntimeIteratorInterface
- See Also:
-
Field Summary
Fields inherited from class org.rumbledb.runtime.RuntimeIterator
children, currentDynamicContextForLocalExecution, FLOW_EXCEPTION_MESSAGE, hasNext, isOpen, isSequential, isUpdating, staticContext, staticURI
-
Constructor Summary
ConstructorsConstructorDescriptionDeepEqualFunctionIterator
(List<RuntimeIterator> arguments, RuntimeStaticContext staticContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkDeepEqual
(List<Item> items1, List<Item> items2) Checks if two lists of items are deep-equal according to specification.materializeFirstItemOrNull
(DynamicContext context) 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
-
DeepEqualFunctionIterator
public DeepEqualFunctionIterator(List<RuntimeIterator> arguments, RuntimeStaticContext staticContext)
-
-
Method Details
-
materializeFirstItemOrNull
- Specified by:
materializeFirstItemOrNull
in classAtMostOneItemLocalRuntimeIterator
-
checkDeepEqual
Checks if two lists of items are deep-equal according to specification.- Parameters:
items1
- The first list of itemsitems2
- The second list of items- Returns:
- true if the lists are deep-equal, false otherwise
-