Package tilda.db.processors
Class ZonedDateTimeRP
- java.lang.Object
-
- tilda.db.processors.ZonedDateTimeRP
-
- All Implemented Interfaces:
RecordProcessor
public class ZonedDateTimeRP extends java.lang.Object implements RecordProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected java.time.ZonedDateTime
_ZDT
-
Constructor Summary
Constructors Constructor Description ZonedDateTimeRP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end(boolean hasMore, int MaxIndex)
Called after the last record has been processed successfullyjava.time.ZonedDateTime
getResult()
boolean
process(int Index, java.sql.ResultSet RS)
Called for each recordvoid
start()
Called before the first record is processed
-
-
-
Method Detail
-
start
public void start()
Description copied from interface:RecordProcessor
Called before the first record is processed- Specified by:
start
in interfaceRecordProcessor
-
process
public boolean process(int Index, java.sql.ResultSet RS) throws java.sql.SQLException
Description copied from interface:RecordProcessor
Called for each record- Specified by:
process
in interfaceRecordProcessor
- Parameters:
Index
- the count of the record being processed starting at 0 for the first recordRS
- the result set to be processed- Returns:
- whether this was successful or not. If false is returned, the process will be aborted.
- Throws:
java.sql.SQLException
-
end
public void end(boolean hasMore, int MaxIndex)
Description copied from interface:RecordProcessor
Called after the last record has been processed successfully- Specified by:
end
in interfaceRecordProcessor
- Parameters:
hasMore
- whether there are more records to be processedMaxIndex
- the max count originally supplied to the query handler
-
getResult
public java.time.ZonedDateTime getResult()
-
-