I'm using the Azure Kusto Java SDK v2.0.1 with Scala over Java8.
I'm executing some query:
val query = " ... "
val tenantId = " ... "
val queryResponse = client.execute(tenantId, query)
val queryResponseResults = queryResponse.getPrimaryResults
I want to convert the given data structure to JSON eventually, so I want to get all columns, but I can't seem to find some kind of getColumns
.
While debugging I see the object (KustoResultSetTable
) has fields columnsAsArray
(which is exactly what I want) and columns
- but they are private and I didn't find any getters.
A getter will be added in the next version