protected void writeDataSourceNameEntry ( StringBuilder sb , ExecutionInfo execInfo , List < QueryInfo > queryInfoList ) { String name = execInfo . getDataSourceName ( ) ; sb . append ( "\"name\":\"" ) ; sb . append ( name == null ? "" : escapeSpecialCharacter ( name ) ) ; sb . append ( "\", " ) ; }
Write datasource name when enabled as json .