Package com.semedy.reasoner.api.edb
Interface TupleEnumerator
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Subinterfaces:
SelectableIndexEnumerator
,SortedIndexEnumerator
- All Known Implementing Classes:
EmptyTuplesEnumerator
,EnumeratorOneElement
,OneElementTuplesEnumerator
,PersistentTuplesEnumerator
,SortedEnumeratorOneToOne
,SortedIndexEnumeratorOneToOne
,TupleEnumeratorCrossProduct
,TupleEnumeratorOneToOneJoin
,TupleEnumeratorOneToOneJoinRelation
iterator for tuples
-
Method Summary
Modifier and TypeMethodDescriptionclones the enumeratorvoid
close()
close the enumeratorget a buffer where the elements are insertedboolean
flag the end of the enumerationboolean
Are there more elements in enumeration?void
creates the next element in the buffer
-
Method Details
-
hasMoreElements
Are there more elements in enumeration?- Throws:
IOException
EDBException
-
nextElement
creates the next element in the buffer- Throws:
IOException
EDBException
-
hasFinished
flag the end of the enumeration- Throws:
IOException
EDBException
-
getBuffer
TupleBuffer getBuffer()get a buffer where the elements are inserted- Returns:
-
close
close the enumerator- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
cloneEnumerator
clones the enumerator- Throws:
IOException
EDBException
-