Package org.rumbledb.runtime.cursor
Class FlatMappingLocalCursor<I,O>
java.lang.Object
org.rumbledb.runtime.cursor.AbstractLocalCursor<O>
org.rumbledb.runtime.cursor.FlatMappingLocalCursor<I,O>
- All Implemented Interfaces:
AutoCloseable,Cursor<O>
Streams each input value through a zero-or-more mapping.
-
Constructor Summary
ConstructorsConstructorDescriptionFlatMappingLocalCursor(@NonNull RuntimePlan<I> inputPlan, @NonNull DynamicContext context, @NonNull Function<? super I, ? extends Iterator<? extends O>> mapper, @NonNull ExceptionMetadata metadata) -
Method Summary
Methods inherited from class org.rumbledb.runtime.cursor.AbstractLocalCursor
close, getMetadata, hasNext, invalidState, next
-
Constructor Details
-
FlatMappingLocalCursor
public FlatMappingLocalCursor(@NonNull @NonNull RuntimePlan<I> inputPlan, @NonNull @NonNull DynamicContext context, @NonNull @NonNull Function<? super I, ? extends Iterator<? extends O>> mapper, @NonNull @NonNull ExceptionMetadata metadata)
-
-
Method Details
-
openLocal
protected void openLocal()- Specified by:
openLocalin classAbstractLocalCursor<O>
-
hasNextLocal
protected boolean hasNextLocal()- Specified by:
hasNextLocalin classAbstractLocalCursor<O>
-
nextLocal
- Specified by:
nextLocalin classAbstractLocalCursor<O>
-
closeLocal
protected void closeLocal()- Specified by:
closeLocalin classAbstractLocalCursor<O>
-