查看作业脏数据

更新时间:2017-06-07 13:26:11

  1. 方法签名
    String Job.dirtyData();
    
  2. 方法说明 查看同步Job的脏数据信息,返回默认为JSON格式的脏数据。
  3. 方法返回 如果脏数据不为空,返回作业脏数据格式如下:
    [
    {
        "exception": "INSERT, DELETE command denied to user'tbdw'@'10.192.12.49' for table 'mdop_txc_basic_indicator'",
        "record": [
            {
                "byteSize": 8,
                "index": 0,
                "rawData":"20150417",
                "type": "STRING"
            },
            {
                "byteSize": 8,
                "index": 1,
                "rawData": "20150416",
                "type": "STRING"
            }
         ],
        "type": "writer"
    },
    {
        "exception": "INSERT, DELETE command denied to user'tbdw'@'10.192.12.49' for table 'mdop_txc_basic_indicator'",
        "record": [
            {
                "byteSize": 8,
                "index": 0,
                "rawData": "20150417",
                 "type":"STRING"
            },
            {
                "byteSize": 8,
                "index": 1,
                "rawData": "20150416",
                "type": "STRING"
            }
         ],
        "type": "writer"
    }
    ]
    
    如果脏数据为空,返回String为Blank。