protected byte[] getRow(final String row, final String encoding) { //check to see if we need to modify the rowKey before we pass it down to the PutFlowFile byte[] rowKeyBytes = null; if(BINARY_ENCODING_VALUE.contentEquals(encoding)){ rowKeyBytes = clientService.toBytesBinary(row); }else{ rowKeyBytes = row.getBytes(StandardCharsets.UTF_8); } return rowKeyBytes; } /**