xxl.relational
Class NestedLoopsMinus
java.lang.Object
|
+--xxl.relational.AbstractResultSet
|
+--xxl.relational.Minus
|
+--xxl.relational.NestedLoopsMinus
- public class NestedLoopsMinus
- extends Minus
Nested-loops implementation of the operator "Minus".
Example:
new NestedLoopsMinus(bag, 1024, r1, r2);
computes "(select * from r1) minus (select * from r2)".
Therewhile only 1024 tuples are in main memory at one time and all
other tuple, which must be stored, will be stored in the given bag.
| Fields inherited from class xxl.relational.Minus |
a,
b |
|
Constructor Summary |
NestedLoopsMinus(Bag innerBag,
int outerBagSize,
java.sql.ResultSet a,
java.sql.ResultSet b)
|
| Methods inherited from class xxl.relational.AbstractResultSet |
absolute,
afterLast,
beforeFirst,
cancelRowUpdates,
clearWarnings,
deleteRow,
first,
getArray,
getArray,
getAsciiStream,
getAsciiStream,
getBigDecimal,
getBigDecimal,
getBigDecimal,
getBigDecimal,
getBinaryStream,
getBinaryStream,
getBlob,
getBlob,
getBoolean,
getBoolean,
getByte,
getByte,
getBytes,
getCharacterStream,
getCharacterStream,
getClob,
getClob,
getColumnCount,
getConcurrency,
getCursorName,
getDate,
getDate,
getDate,
getDate,
getDouble,
getDouble,
getFetchDirection,
getFetchSize,
getFloat,
getFloat,
getInt,
getInt,
getLong,
getLong,
getObject,
getObject,
getObject,
getRef,
getRef,
getRow,
getShort,
getShort,
getStatement,
getString,
getString,
getTime,
getTime,
getTime,
getTime,
getTimestamp,
getTimestamp,
getTimestamp,
getTimestamp,
getType,
getUnicodeStream,
getUnicodeStream,
getWarnings,
insertRow,
isAfterLast,
isBeforeFirst,
isFirst,
isLast,
last,
moveToCurrentRow,
moveToInsertRow,
previous,
refreshRow,
relative,
rowDeleted,
rowInserted,
rowUpdated,
setFetchDirection,
setFetchSize,
updateAsciiStream,
updateAsciiStream,
updateBigDecimal,
updateBigDecimal,
updateBinaryStream,
updateBinaryStream,
updateBoolean,
updateBoolean,
updateByte,
updateByte,
updateBytes,
updateBytes,
updateCharacterStream,
updateCharacterStream,
updateDate,
updateDate,
updateDouble,
updateDouble,
updateFloat,
updateFloat,
updateInt,
updateInt,
updateLong,
updateLong,
updateNull,
updateNull,
updateObject,
updateObject,
updateObject,
updateObject,
updateRow,
updateShort,
updateShort,
updateString,
updateString,
updateTime,
updateTime,
updateTimestamp,
updateTimestamp |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
innerBag
protected Bag innerBag
outerBag
protected java.util.HashSet outerBag
outerBagSize
protected int outerBagSize
outerBagIterator
protected java.util.Iterator outerBagIterator
t
protected Tuple t
bIsEmpty
protected boolean bIsEmpty
aNext
protected boolean aNext
bNext
protected boolean bNext
wasNull
protected boolean wasNull
NestedLoopsMinus
public NestedLoopsMinus(Bag innerBag,
int outerBagSize,
java.sql.ResultSet a,
java.sql.ResultSet b)
next
public boolean next()
throws java.sql.SQLException
- Overrides:
- next in class Minus
getObject
public java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
- Overrides:
- getObject in class Minus
getBytes
public byte[] getBytes(int columnIndex)
throws java.sql.SQLException
- Overrides:
- getBytes in class Minus
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Overrides:
- wasNull in class Minus
close
public void close()
throws java.sql.SQLException
- Overrides:
- close in class Minus