Package org.rumbledb.runtime
Class CommaExpressionIterator
java.lang.Object
org.rumbledb.runtime.RuntimeIterator
org.rumbledb.runtime.HybridRuntimeIterator
org.rumbledb.runtime.CommaExpressionIterator
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,Serializable,RuntimeIteratorInterface
- See Also:
-
Field Summary
Fields inherited from class org.rumbledb.runtime.HybridRuntimeIterator
resultFields inherited from class org.rumbledb.runtime.RuntimeIterator
children, currentDynamicContextForLocalExecution, FLOW_EXCEPTION_MESSAGE, hasNext, isOpen, isSequential, isUpdating, staticContext, staticURI -
Constructor Summary
ConstructorsConstructorDescriptionCommaExpressionIterator(List<RuntimeIterator> childIterators, boolean isUpdating, RuntimeStaticContext staticContext) CommaExpressionIterator(List<RuntimeIterator> childIterators, RuntimeStaticContext staticContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateNativeQuery(NativeClauseContext nativeClauseContext) This function generate (if possible) a native spark-sql query that maps the inner working of the iteratorgetPendingUpdateList(DynamicContext context) org.apache.spark.api.java.JavaRDD<Item>getRDDAux(DynamicContext dynamicContext) protected booleanvoidprotected voidvoidMethods inherited from class org.rumbledb.runtime.HybridRuntimeIterator
close, collectRDDwithLimit, dataFrameToRDDOfItems, fallbackToRDDIfDFNotImplemented, getRDD, hasNext, implementsDataFrames, implementsLocal, implementsRDD, materialize, materializeAtMostOneItemOrNull, materializeExactlyOneItem, materializeFirstItemOrNull, materializeNFirstItems, next, open, resetMethods inherited from class org.rumbledb.runtime.RuntimeIterator
bindToVariableInDynamicContext, canProduceDataFrame, deepCopy, getConfiguration, getDataFrame, getEffectiveBooleanValue, getEffectiveBooleanValueOrCheckPosition, getHighestExecutionMode, getMetadata, getOrCreateDataFrame, getStaticType, getVariableDependencies, isDataFrame, isLocal, isOpen, isRDD, isRDDOrDataFrame, isSequential, isSparkJobNeeded, isUpdating, materialize, materializeAtMostOneItemOrDefault, print, printToStandardError, read, setStaticContext, write
-
Constructor Details
-
CommaExpressionIterator
public CommaExpressionIterator(List<RuntimeIterator> childIterators, boolean isUpdating, RuntimeStaticContext staticContext) -
CommaExpressionIterator
public CommaExpressionIterator(List<RuntimeIterator> childIterators, RuntimeStaticContext staticContext)
-
-
Method Details
-
nextLocal
- Specified by:
nextLocalin classHybridRuntimeIterator
-
openLocal
public void openLocal()- Specified by:
openLocalin classHybridRuntimeIterator
-
setNextResult
public void setNextResult() -
hasNextLocal
protected boolean hasNextLocal()- Specified by:
hasNextLocalin classHybridRuntimeIterator
-
resetLocal
protected void resetLocal()- Specified by:
resetLocalin classHybridRuntimeIterator
-
closeLocal
protected void closeLocal()- Specified by:
closeLocalin classHybridRuntimeIterator
-
getRDDAux
- Specified by:
getRDDAuxin classHybridRuntimeIterator
-
generateNativeQuery
Description copied from class:RuntimeIteratorThis function generate (if possible) a native spark-sql query that maps the inner working of the iterator- Overrides:
generateNativeQueryin classRuntimeIterator- Parameters:
nativeClauseContext- context information to generate the native query- Returns:
- a native clause context with the spark-sql native query to get an equivalent result of the iterator, or [NativeClauseContext.NoNativeQuery] if it is not possible
-
getChildren
-
getPendingUpdateList
- Overrides:
getPendingUpdateListin classRuntimeIterator
-