net.sourceforge.hatbox.jts
Class FilteredResultSet

java.lang.Object
  extended by net.sourceforge.hatbox.AbstractResultSet
      extended by net.sourceforge.hatbox.IdResultSet
          extended by net.sourceforge.hatbox.jts.FilteredResultSet
All Implemented Interfaces:
java.sql.ResultSet, java.sql.Wrapper

public class FilteredResultSet
extends IdResultSet

A result set that filters results based on a spatial predicate

Author:
Peter Yuill

Field Summary
 
Fields inherited from class net.sourceforge.hatbox.IdResultSet
currentIndex, id, ids, rowAvailable, size
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
FilteredResultSet(java.util.List<java.lang.Long> ids, RTreeSessionDb session, com.vividsolutions.jts.geom.Geometry query, SpatialPredicate predicate, java.lang.String schema, java.lang.String table)
           
 
Method Summary
 void close()
           
 boolean next()
           
 
Methods inherited from class net.sourceforge.hatbox.IdResultSet
findColumn, getLong, getMetaData, getNClob, getNClob, getObject, getRowId, getRowId, getSQLXML, getSQLXML, getString, isClosed, updateNClob, updateNClob, updateRowId, updateRowId, updateSQLXML, updateSQLXML, wasNull
 
Methods inherited from class net.sourceforge.hatbox.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, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getNCharacterStream, getNCharacterStream, getNString, getNString, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getShort, getStatement, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, 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
 

Constructor Detail

FilteredResultSet

public FilteredResultSet(java.util.List<java.lang.Long> ids,
                         RTreeSessionDb session,
                         com.vividsolutions.jts.geom.Geometry query,
                         SpatialPredicate predicate,
                         java.lang.String schema,
                         java.lang.String table)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.ResultSet
Overrides:
close in class IdResultSet
Throws:
java.sql.SQLException

next

public boolean next()
             throws java.sql.SQLException
Specified by:
next in interface java.sql.ResultSet
Overrides:
next in class IdResultSet
Throws:
java.sql.SQLException


Copyright © 2010. All Rights Reserved.