public void parseRestoreResultRow ( VoltTable vt ) { RestoreResultKey key = new RestoreResultKey ( ( int ) vt . getLong ( "HOST_ID" ) , ( int ) vt . getLong ( "PARTITION_ID" ) , vt . getString ( "TABLE" ) ) ; if ( containsKey ( key ) ) { get ( key ) . mergeData ( vt . getString ( "RESULT" ) . equals ( "SUCCESS" ) , vt . getString ( "ERR_MSG" ) ) ; } else { put ( key , new RestoreResultValue ( ( int ) vt . getLong ( "SITE_ID" ) , vt . getString ( "RESULT" ) . equals ( "SUCCESS" ) , vt . getString ( "HOSTNAME" ) , vt . getString ( "ERR_MSG" ) ) ) ; } }
Parse a restore result table row and add to the set .