xxl.relational
Class Minus

java.lang.Object
  |
  +--xxl.relational.AbstractResultSet
        |
        +--xxl.relational.Minus
Direct Known Subclasses:
NestedLoopsMinus, SortBasedMinus

public abstract class Minus
extends AbstractResultSet

This abstract class represents the logical operator "Minus".

It provides the methods

cause these methods are equal for all implementations of Minus.

Further in the constructor will be checked, whether a "Minus" can be defined on the given ResultSets. If the given ResultSets differ in number of columns or in any column type, an IllegalArgumentException will be thrown.


Field Summary
protected  java.sql.ResultSet a
           
protected  java.sql.ResultSet b
           
 
Constructor Summary
Minus(java.sql.ResultSet a, java.sql.ResultSet b)
           
 
Method Summary
abstract  void close()
           
 int findColumn(java.lang.String columnName)
           
abstract  byte[] getBytes(int columnIndex)
           
 java.sql.ResultSetMetaData getMetaData()
           
abstract  java.lang.Object getObject(int columnIndex)
           
abstract  boolean next()
           
abstract  boolean wasNull()
           
 
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
 

Field Detail

a

protected java.sql.ResultSet a

b

protected java.sql.ResultSet b
Constructor Detail

Minus

public Minus(java.sql.ResultSet a,
             java.sql.ResultSet b)
Method Detail

next

public abstract boolean next()
                      throws java.sql.SQLException
Overrides:
next in class AbstractResultSet

close

public abstract void close()
                    throws java.sql.SQLException
Overrides:
close in class AbstractResultSet

getObject

public abstract java.lang.Object getObject(int columnIndex)
                                    throws java.sql.SQLException
Overrides:
getObject in class AbstractResultSet

getBytes

public abstract byte[] getBytes(int columnIndex)
                         throws java.sql.SQLException
Overrides:
getBytes in class AbstractResultSet

wasNull

public abstract boolean wasNull()
                         throws java.sql.SQLException
Overrides:
wasNull in class AbstractResultSet

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Overrides:
getMetaData in class AbstractResultSet

findColumn

public int findColumn(java.lang.String columnName)
               throws java.sql.SQLException
Overrides:
findColumn in class AbstractResultSet