Package hec.io.dbf
Class QueryRecordHandler
java.lang.Object
hec.io.dbf.RecordHandler
hec.io.dbf.QueryRecordHandler
Processes a query on a dbf file packaging the record data into the query result
set. Also handles the exceptions generated during the query. Used
by the hec.server.RmiDbfFileImpl class.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryRecordHandler
(codebase.Data4jni data4Jni, DbfRecordQuery query, DbfQueryResultSet resultSet, Vector fieldObjects) -
Method Summary
Modifier and TypeMethodDescriptionprotected Vector
getRow
(int setRecordIndex) protected void
handleException
(int dbfRecordNumber, Serializable indexTagKey, Exception e) protected void
handleResults
(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) protected void
processRow
(int columnIndex, Vector row, Object o) Methods inherited from class hec.io.dbf.RecordHandler
getResultSet, process
-
Constructor Details
-
QueryRecordHandler
public QueryRecordHandler(codebase.Data4jni data4Jni, DbfRecordQuery query, DbfQueryResultSet resultSet, Vector fieldObjects)
-
-
Method Details
-
handleResults
protected void handleResults(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) throws IOException, codebase.Error4message, codebase.Error4unexpected, codebase.Error4usage, codebase.Error4locked, codebase.Error4unique - Specified by:
handleResults
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
codebase.Error4usage
codebase.Error4locked
codebase.Error4unique
-
handleException
- Specified by:
handleException
in classRecordHandler
-
getRow
- Specified by:
getRow
in classRecordHandler
-
processRow
protected void processRow(int columnIndex, Vector row, Object o) throws IOException, codebase.Error4message, codebase.Error4unexpected - Specified by:
processRow
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
-