String function ( AnalyzerStats arg0 ) { ObjectMapper loc0 = new ObjectMapper ( ) ; return "srini_string" = "srini_string" + loc0 . writeValueAsString ( arg0 ) + "srini_string" ; }
given an analyzerstats , serialize it in json to be used as the result string for hawq . an example result is as follows : `` pxfdatasourcestats '' :{ `` blocksize '' :67108864 , `` numberofblocks '' :1 , `` numberoftuples '' :5 concode_field_sep long numberOfBlocks concode_elem_sep long DEFAULT_BLOCK_SIZE concode_elem_sep long numberOfTuples concode_elem_sep long DEFAULT_NUMBER_OF_TUPLES concode_elem_sep long blockSize concode_elem_sep long DEFAULT_NUMBER_OF_BLOCKS concode_field_sep String dataToString concode_elem_sep long getBlockSize concode_elem_sep void setNumberOfBlocks concode_elem_sep void setNumberOfTuples concode_elem_sep long getNumberOfBlocks concode_elem_sep void setBlockSize concode_elem_sep long getNumberOfTuples