Class TupleEnumeratorOneToOneJoin
java.lang.Object
com.semedy.reasoner.reasoning.processes.TupleEnumeratorCrossProduct
com.semedy.reasoner.reasoning.processes.TupleEnumeratorOneToOneJoin
- All Implemented Interfaces:
TupleEnumerator
,Closeable
,AutoCloseable
- Author:
- angele
-
Constructor Summary
ConstructorDescriptionTupleEnumeratorOneToOneJoin
(OneToOneBaseRelation crossProductBaseRelation, TupleEnumerator[] enumerators, Index[] nullIndices) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
close the enumeratorget a buffer where the elements are insertedboolean
Are there more elements in enumeration?void
creates the next element in the bufferMethods inherited from class com.semedy.reasoner.reasoning.processes.TupleEnumeratorCrossProduct
cloneEnumerator, hasFinished, nextElementIntern, setFilter
-
Constructor Details
-
TupleEnumeratorOneToOneJoin
public TupleEnumeratorOneToOneJoin(OneToOneBaseRelation crossProductBaseRelation, TupleEnumerator[] enumerators, Index[] nullIndices) throws IOException, EDBException - Throws:
IOException
EDBException
-
-
Method Details
-
getBuffer
Description copied from interface:TupleEnumerator
get a buffer where the elements are inserted- Specified by:
getBuffer
in interfaceTupleEnumerator
- Overrides:
getBuffer
in classTupleEnumeratorCrossProduct
- Returns:
-
hasMoreElements
Description copied from interface:TupleEnumerator
Are there more elements in enumeration?- Specified by:
hasMoreElements
in interfaceTupleEnumerator
- Overrides:
hasMoreElements
in classTupleEnumeratorCrossProduct
- Throws:
IOException
EDBException
-
nextElement
Description copied from interface:TupleEnumerator
creates the next element in the buffer- Specified by:
nextElement
in interfaceTupleEnumerator
- Overrides:
nextElement
in classTupleEnumeratorCrossProduct
- Throws:
IOException
EDBException
-
close
Description copied from interface:TupleEnumerator
close the enumerator- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceTupleEnumerator
- Overrides:
close
in classTupleEnumeratorCrossProduct
- Throws:
IOException
-