I am using a Cassandra Connector in iReport as well as JasperSoftStudio. The connector is properly integrated with .nbm file.
I am using a CQL query which gives the 4 columns.
Out of these 4 columns, 2 column data type is java.nio.heapbytebuffer. This is because data was inserted in Cassandra using ObjectSerializer (Hector).
I need to show the value of these 2 columns in report. I tried converting the column to bytearray and then to string with appropriate encoding. But the generated report displays BOXES and execute_cql_query statement only.
I tried with different versions of ireport and cassandra DB, but everytime the report is successfully compiled, the generated report shows BOX and execute_cql_query.
1. If charset is used, then generated report shows BOX and exeucte_cql_query.
2. If chartset is not used, then generated report shows BOX.
In both cases, no matter what I do, I am unable to convert this column to string/int etc.