Java SDK Documentation  12.0.0
com.vertica.sdk.ContinuousRejecter Class Reference
Collaboration diagram for com.vertica.sdk.ContinuousRejecter:
Collaboration graph

Public Member Functions

 ContinuousRejecter (ContinuousUDParserLocks continuousUDParserLocks)
 
void reject (RejectedRecord rr) throws UdfException
 

Protected Attributes

boolean haveRejectedRecord
 
RejectedRecord rejectedRecord
 

Constructor & Destructor Documentation

com.vertica.sdk.ContinuousRejecter.ContinuousRejecter ( ContinuousUDParserLocks  continuousUDParserLocks)

Default Constructor

Parameters
continuousUDParserLocksthe locks

Member Function Documentation

void com.vertica.sdk.ContinuousRejecter.reject ( RejectedRecord  rr) throws UdfException

Request that Vertica process the current raw data as a rejected row. Emit the rejected record via the rejected-rows mechanism specified in the COPY statement, with error message specified by 'reason', and delimited by the record terminator specified by 'recordTerminator'.

Parameters
rra RejectedRecord object