Class SortedIndexEnumeratorOneToOne
java.lang.Object
com.semedy.reasoner.reasoning.processes.SortedIndexEnumeratorOneToOne
- All Implemented Interfaces:
SelectableIndexEnumerator,SortedIndexEnumerator,TupleEnumerator,Closeable,AutoCloseable
- Author:
- Juergen.Angele
-
Constructor Summary
ConstructorsConstructorDescriptionSortedIndexEnumeratorOneToOne(SortedIndexEnumerator enm, Index[] nullIndices, int width) -
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 buffervoidnextElement(long[] tuple) Search for an tuple equal or greater to tuple.
Returns next tuple in buffer.voidnextElement(TupleBuffer tuple) Search for an tuple equal or greater to tuple.
Returns next tuple in buffer.return the enumerator for the matching tuples of the current element
-
Constructor Details
-
SortedIndexEnumeratorOneToOne
-
-
Method Details
-
selectedTuples
Description copied from interface:SelectableIndexEnumeratorreturn the enumerator for the matching tuples of the current element- Specified by:
selectedTuplesin interfaceSelectableIndexEnumerator- Throws:
IOException
-
hasMoreElements
Description copied from interface:TupleEnumeratorAre there more elements in enumeration?- Specified by:
hasMoreElementsin interfaceTupleEnumerator- Throws:
IOExceptionEDBException
-
nextElement
Description copied from interface:TupleEnumeratorcreates the next element in the buffer- Specified by:
nextElementin interfaceTupleEnumerator- Throws:
IOExceptionEDBException
-
hasFinished
Description copied from interface:TupleEnumeratorflag the end of the enumeration- Specified by:
hasFinishedin interfaceTupleEnumerator- Throws:
IOExceptionEDBException
-
getBuffer
Description copied from interface:TupleEnumeratorget a buffer where the elements are inserted- Specified by:
getBufferin interfaceTupleEnumerator- Returns:
-
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
-
nextElement
Description copied from interface:SortedIndexEnumeratorSearch for an tuple equal or greater to tuple.
Returns next tuple in buffer.- Specified by:
nextElementin interfaceSortedIndexEnumerator- Parameters:
tuple- , the tuple to be compared- Throws:
IOException
-
nextElement
Description copied from interface:SortedIndexEnumeratorSearch for an tuple equal or greater to tuple.
Returns next tuple in buffer.- Specified by:
nextElementin interfaceSortedIndexEnumerator- Parameters:
tuple- , the tuple to be compared- Throws:
IOException
-