Package org.rumbledb.runtime.cursor
Class AtMostOneLocalCursor<T>
java.lang.Object
org.rumbledb.runtime.cursor.AbstractLocalCursor<T>
org.rumbledb.runtime.cursor.AtMostOneLocalCursor<T>
- Type Parameters:
T- the value type
- All Implemented Interfaces:
AutoCloseable,Cursor<T>
Cursor template for an evaluation that produces zero or one value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidprotected final booleanprotected final Tprotected final voidMethods inherited from class org.rumbledb.runtime.cursor.AbstractLocalCursor
close, getMetadata, hasNext, invalidState, next
-
Constructor Details
-
AtMostOneLocalCursor
-
-
Method Details
-
openLocal
protected final void openLocal()- Specified by:
openLocalin classAbstractLocalCursor<T>
-
hasNextLocal
protected final boolean hasNextLocal()- Specified by:
hasNextLocalin classAbstractLocalCursor<T>
-
nextLocal
- Specified by:
nextLocalin classAbstractLocalCursor<T>
-
closeLocal
protected final void closeLocal()- Specified by:
closeLocalin classAbstractLocalCursor<T>
-