Class SortedIndexEnumeratorOneToOne
java.lang.Object
com.semedy.reasoner.reasoning.processes.SortedIndexEnumeratorOneToOne
- All Implemented Interfaces:
SelectableIndexEnumerator
,SortedIndexEnumerator
,TupleEnumerator
,Closeable
,AutoCloseable
- Author:
- Juergen.Angele
-
Constructor Summary
ConstructorDescriptionSortedIndexEnumeratorOneToOne
(SortedIndexEnumerator enm, Index[] nullIndices, int width) -
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 buffervoid
nextElement
(long[] tuple) Search for an tuple equal or greater to tuple.
Returns next tuple in buffer.void
nextElement
(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:SelectableIndexEnumerator
return the enumerator for the matching tuples of the current element- Specified by:
selectedTuples
in interfaceSelectableIndexEnumerator
- Throws:
IOException
-
hasMoreElements
Description copied from interface:TupleEnumerator
Are there more elements in enumeration?- Specified by:
hasMoreElements
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-
nextElement
Description copied from interface:TupleEnumerator
creates the next element in the buffer- Specified by:
nextElement
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-
hasFinished
Description copied from interface:TupleEnumerator
flag the end of the enumeration- Specified by:
hasFinished
in interfaceTupleEnumerator
- Throws:
IOException
EDBException
-
getBuffer
Description copied from interface:TupleEnumerator
get a buffer where the elements are inserted- Specified by:
getBuffer
in interfaceTupleEnumerator
- Returns:
-
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
-
nextElement
Description copied from interface:SortedIndexEnumerator
Search for an tuple equal or greater to tuple.
Returns next tuple in buffer.- Specified by:
nextElement
in interfaceSortedIndexEnumerator
- Parameters:
tuple
- , the tuple to be compared- Throws:
IOException
-
nextElement
Description copied from interface:SortedIndexEnumerator
Search for an tuple equal or greater to tuple.
Returns next tuple in buffer.- Specified by:
nextElement
in interfaceSortedIndexEnumerator
- Parameters:
tuple
- , the tuple to be compared- Throws:
IOException
-