Class EnumeratorOneElement
java.lang.Object
com.semedy.reasoner.edb.persistentstore.EnumeratorOneElement
- All Implemented Interfaces:
TupleEnumerator,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclones the enumeratorvoidclose()close the enumeratorget a buffer where the elements are insertedbooleanflag the end of the enumerationbooleanAre there more elements in enumeration?voidcreates the next element in the buffer
-
Constructor Details
-
EnumeratorOneElement
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()Description copied from interface:TupleEnumeratorAre there more elements in enumeration?- Specified by:
hasMoreElementsin interfaceTupleEnumerator- Returns:
- See Also:
-
selectedTuples
- Returns:
- See Also:
-
nextElement
public void nextElement()Description copied from interface:TupleEnumeratorcreates the next element in the buffer- Specified by:
nextElementin interfaceTupleEnumerator- See Also:
-
hasFinished
public boolean hasFinished()Description copied from interface:TupleEnumeratorflag the end of the enumeration- Specified by:
hasFinishedin interfaceTupleEnumerator- Returns:
- See Also:
-
getBuffer
Description copied from interface:TupleEnumeratorget a buffer where the elements are inserted- Specified by:
getBufferin interfaceTupleEnumerator- Returns:
- See Also:
-
close
Description copied from interface:TupleEnumeratorclose the enumerator- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceTupleEnumerator- Throws:
IOException
-
cloneEnumerator
Description copied from interface:TupleEnumeratorclones the enumerator- Specified by:
cloneEnumeratorin interfaceTupleEnumerator- Throws:
IOExceptionEDBException
-