Package org.rumbledb.runtime.xml
Class PostfixLookupIterator
java.lang.Object
org.rumbledb.runtime.RuntimeIterator
org.rumbledb.runtime.HybridRuntimeIterator
org.rumbledb.runtime.xml.PostfixLookupIterator
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,Serializable,RuntimeIteratorInterface
This Iterator is for the postfix lookup operator in XQuery. It is similar to ObjectLookup in JSONiq but supports both
Objects (should be maps in the future) and Arrays. The lookupIterator is null in case we have a wildcard
- 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
ConstructorsConstructorDescriptionPostfixLookupIterator(RuntimeIterator object, RuntimeIterator lookupIterator, RuntimeStaticContext staticContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.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, generateNativeQuery, getConfiguration, getDataFrame, getEffectiveBooleanValue, getEffectiveBooleanValueOrCheckPosition, getHighestExecutionMode, getMetadata, getOrCreateDataFrame, getPendingUpdateList, getStaticType, getVariableDependencies, isDataFrame, isLocal, isOpen, isRDD, isRDDOrDataFrame, isSequential, isSparkJobNeeded, isUpdating, materialize, materializeAtMostOneItemOrDefault, print, printToStandardError, read, setStaticContext, write
-
Constructor Details
-
PostfixLookupIterator
public PostfixLookupIterator(RuntimeIterator object, RuntimeIterator lookupIterator, RuntimeStaticContext staticContext)
-
-
Method Details
-
openLocal
public void openLocal()- Specified by:
openLocalin classHybridRuntimeIterator
-
hasNextLocal
protected boolean hasNextLocal()- Specified by:
hasNextLocalin classHybridRuntimeIterator
-
resetLocal
protected void resetLocal()- Specified by:
resetLocalin classHybridRuntimeIterator
-
closeLocal
protected void closeLocal()- Specified by:
closeLocalin classHybridRuntimeIterator
-
nextLocal
- Specified by:
nextLocalin classHybridRuntimeIterator
-
setNextResult
public void setNextResult() -
getRDDAux
- Specified by:
getRDDAuxin classHybridRuntimeIterator
-