jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReader.java
@VisibleForTesting
  final int getOperationFromRecord(
      Record record,
      JDBCOperationType defaultOp,
      UnsupportedOperationAction unsupportedAction,
      List<OnRecordErrorException> errorRecords
  ) {
    return getOperationFromRecord(record, defaultOp.getCode(), unsupportedAction, errorRecords);
  }
@VisibleForTesting
  final int getOperationFromRecord(
      Record record,
      JDBCOperationType defaultOp,
      UnsupportedOperationAction unsupportedAction,
      List<OnRecordErrorException> errorRecords
  ) {
    return getOperationFromRecord(record, defaultOp.getCode(), unsupportedAction, errorRecords);
  }
@ VisibleForTesting final int getOperationFromRecord ( Record record , JDBCOperationType defaultOp , UnsupportedOperationAction unsupportedAction , List < OnRecordErrorException > errorRecords ) { return getOperationFromRecord ( record , defaultOp . getCode ( ) , unsupportedAction , errorRecords ) ; }
Get the numeric operation code from record header. The default code is
used if the operation code is not found in the header.

@param record the record to find the operation code
@param defaultOp the default operation
@param unsupportedAction the action to take for unsupported code
@param errorRecords the list to take error records
@return the numeric operation code or -1 for unsupported operation
Get the numeric operation code from record header . The default code is used if the operation code is not found in the header .