Class EnumeratorOneElement
java.lang.Object
com.semedy.reasoner.edb.persistentstore.EnumeratorOneElement
- All Implemented Interfaces:
TupleEnumerator
,Closeable
,AutoCloseable
-
Constructor Summary
-
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
-
Constructor Details
-
EnumeratorOneElement
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()Description copied from interface:TupleEnumerator
Are there more elements in enumeration?- Specified by:
hasMoreElements
in interfaceTupleEnumerator
- Returns:
- See Also:
-
selectedTuples
- Returns:
- See Also:
-
nextElement
public void nextElement()Description copied from interface:TupleEnumerator
creates the next element in the buffer- Specified by:
nextElement
in interfaceTupleEnumerator
- See Also:
-
hasFinished
public boolean hasFinished()Description copied from interface:TupleEnumerator
flag the end of the enumeration- Specified by:
hasFinished
in interfaceTupleEnumerator
- Returns:
- See Also:
-
getBuffer
Description copied from interface:TupleEnumerator
get a buffer where the elements are inserted- Specified by:
getBuffer
in interfaceTupleEnumerator
- Returns:
- See Also:
-
close
Description copied from interface:TupleEnumerator
close the enumerator- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceTupleEnumerator
- Throws:
IOException
-
cloneEnumerator
Description copied from interface:TupleEnumerator
clones the enumerator- Specified by:
cloneEnumerator
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-