private Put getJobStatusPut ( ) { Put pStatus = new Put ( jobKeyBytes ) ; byte [ ] valueBytes = Bytes . toBytes ( this . jobStatus ) ; byte [ ] qualifier = Bytes . toBytes ( JobHistoryKeys . JOB_STATUS . toString ( ) . toLowerCase ( ) ) ; pStatus . addColumn ( Constants . INFO_FAM_BYTES , qualifier , valueBytes ) ; return pStatus ; }
generates a put for job status